Fitur EagleCAD

Berikut fitur EagleCAD yang dapat digunakan:

Multiple Airwire Bus Routing
Differential Pair Routing
Assign 3D models on Layout and Schematic
Change or modify group selection using object Inspector
Selection Filter by layer and types
Copy Devices, Symbols, Footprints, and Packages from a design file straight into a library
Quickroute Fanout
Digital Sim
Pin & SMD Array
Paint Roller
Quick Route Air Wire
Quick Route Signal
Quick Route Multiple Signals
Smooth Signal
Bus Breakout
Signal Breakout
Connect Pins to Bus
Design Manager

Speaker berbahan dasar kayu

Para peneliti telah menciptakan speaker audio menggunakan film kayu ultra-tipis. Bahan baru ini menunjukkan kekuatan tarik tinggi dan modulus Young yang meningkat, serta sifat akustik yang berkontribusi terhadap frekuensi resonansi yang lebih tinggi dan amplitudo perpindahan yang lebih besar dibandingkan dengan diafragma polipropilen komersial dalam speaker audio.

Biasanya, membran akustik harus tetap sangat tipis (pada skala mikron) dan kuat untuk memungkinkan respons frekuensi yang sangat sensitif dan amplitudo getaran. Bahan yang terbuat dari plastik, logam, keramik, dan karbon telah digunakan oleh para insinyur dan fisikawan dalam upaya meningkatkan kualitas suara. Sementara film tipis plastik paling sering dibuat, mereka memiliki dampak yang sangat buruk terhadap lingkungan. Sementara itu, bahan berbasis logam, keramik, dan karbon lebih mahal dan kurang menarik bagi produsen.

Bahan berbasis selulosa telah menjadi pintu masuk dalam penelitian akustik dengan sifatnya yang ramah lingkungan dan struktur kayu alami. Bahan-bahan seperti ampas tebu, serat kayu, kitin, kapas, selulosa bakteri, dan lignoselulosa semuanya merupakan pesaing bagi alternatif efektif untuk bagian-bagian yang saat ini diproduksi dari plastik.

Proses untuk membangun film ultra-tipis melibatkan menghilangkan lignin dan hemiselulosa dari kayu balsa, menghasilkan bahan yang sangat berpori. Hasilnya ditekan panas untuk pengurangan ketebalan 97%. Serat nano selulosa tetap berorientasi tetapi lebih padat dibandingkan dengan kayu alami. Selain itu, serat-serat tersebut membutuhkan energi yang lebih tinggi untuk dicabut sementara tetap fleksibel dan dapat dilipat.

Sumber: https://www.nature.com/articles/s41467-019-13053-0

Hence, this, therefore

Therefore is used in introducing a conclusion that follows from what has been said previously.

You are drunk, and that makes you incapable of operating machinery. Therefore you shouldn’t fly a plane.

Thus means in this way. For example:

He waved his arms around thus. (speaker waves arms around in demonstration)

Extending that meaning, it can be used to introduce the intended consequences of an action:

I intend to eat less, and thus lose weight.

And stretching that meaning further it can, like therefore, indicate the conclusion of an argument:

Trees are plants, and plants are living. Thus we can see that trees are living.

To me at least, in the cases where they have the same basic meaning, the effect of therefore and thus is slightly different: therefore emphasises that the conclusion is an inescapable logical consequence of what goes immediately before; thus puts more focus on the argument as a whole and the way it leads towards the conclusion.

https://jakubmarian.com/so-thus-therefore-and-hence-in-english/

Percobaan cloud4pi dengan PHP

<!--?php
// A sample PHP Script to POST data using cURL
// Data in JSON format

$json= '&#91;{"name":"Temperature","type":"numeric"},{"name":"LEDOn","type":"bool"}&#93;';
$arr=json_decode($json, false);

echo '

<pre-->';
print_r($arr);
echo '


';

$employee_object = new stdClass;
$employee_object-&gt;name = "Temperature";
$employee_object-&gt;type = "numeric";
$employee_object1 = new stdClass;
$employee_object1-&gt;name = "LEDOn";
$employee_object1-&gt;type = "bool"; 

$data = array
  (
  $employee_object,
  $employee_object1
);

$payload = json_encode($data);
echo "==&gt;".$payload;

$token = '2HSmdfzsEAXB3puVUTi6ZoirV';

// Prepare new cURL resource
$ch = curl_init('https://cloud4rpi.io/api/devices/'.$token.'/config');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);

// Set HTTP Header for POST request
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Content-Type: application/json',
    'Content-Length: ' . strlen($payload))
);

// Submit the POST request
$result = curl_exec($ch);

echo $result;
// Close cURL session handle
curl_close($ch);

$json = '{"ts":"date","payload":{"Temperature":24,"LEDOn":true}}';
$arr=json_decode($json, true);

echo '









<pre>';
print_r($arr);
echo '</pre>
';

$dt = date(DateTime::ISO8601);

$carss = array
(
"ts"=&gt;$dt,
"payload"=&gt;array("Temperature"=&gt;22,"LEDOn"=&gt;0)
);

$payload = json_encode($carss);
echo "==&gt;".$payload;

$token = '2HSmdfzsEAXB3puVUTi6ZoirV';

// Prepare new cURL resource
$ch = curl_init('https://cloud4rpi.io/api/devices/'.$token.'/data');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);

// Set HTTP Header for POST request
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Content-Length: ' . strlen($payload))
);

// Submit the POST request
$result = curl_exec($ch);

echo $result;
// Close cURL session handle
curl_close($ch);

?&gt;

Setting printer USB di Raspberry Pi

sudo chown www-data:www-data etc
sudo chmod 775 etc
sudo chown www-data:www-data /dev/usb/lp0

source:
https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/
https://kernelmastery.com/enable-regular-users-to-add-printers-to-cups/
https://maker.pro/raspberry-pi/projects/how-to-turn-a-usb-printer-into-a-wireless-printer-with-raspberry-pi-zero-w

Setting printer serial di raspberry pi

sudo raspi-config

“Interfacing Options,” “Serial.” Turn OFF: login shell over serial, ENABLE: hardware serial port
“Interfacing Options,” enable SSH

sudo apt-get update
sudo apt-get install git cups wiringpi build-essential libcups2-dev libcupsimage2-dev python-serial python-pil python-unidecode

cd ~
git clone https://github.com/adafruit/zj-58
cd zj-58
make
sudo ./install

sudo usermod -a -G lp pi
sudo usermod -a -G lp www-data
reboot

sudo lpadmin -p ZJ-58 -E -v serial:/dev/serial0?baud=9600 -m zjiang/ZJ-58.ppd
sudo lpoptions -d ZJ-58

git clone https://github.com/adafruit/Python-Thermal-Printer
cd Python-Thermal-Printer
python printertest.py

sudo usermod -a -G dialout www-data
sudo usermod -a -G dialout pi
reboot

Membuat Daemon di Raspberry Pi

Buka terminal lalu ketik:

hciconfig
hcitool scan

Nama perangkat biasanya bernama: hci0
Misalkan hasilnya adalah:

66:12:13:EE:D1:76 Bluetooth Printer

Test printer dengan perintah:

sudo rfcomm bind /dev/rfcomm0 66:12:13:EE:D1:76 1
echo “Test” > /dev/rfcomm0

Jika printer berhasil mencetak maka koneksi sudah berhasil

Selanjutnya tambahkan file untuk daemon service

sudo leafpad /etc/systemd/system/rfcomm.service

Ketik kode berikut dan simpan:

[Unit]
Description=RFCOMM service
After=bluetooth.service
Requires=bluetooth.service

[Service]
ExecStart=/usr/bin/rfcomm bind hci0 66:12:13:EE:D1:76 1

[Install]
WantedBy=multi-user.target

Ganti nama hci0 dengan nama hasil hciconfig dan ganti 66:12:13:EE:D1:76 dengan hasil hcitool scan

Aktifkan daemon, ubah preferensi printer dan booting

sudo systemctl enable rfcomm
sudo systemctl start rfcomm
Sudo reboot