Page 9 - KM Informatika-BS-KLS-IX
P. 9
Gambar 9.5 Kabel Jumper Male to Male ..........................................................211
Gambar 9.6 PictoBlox IDE ............................................................................... 211
Gambar 9.7 Peta Komponen IoT Lampu Lalu Lintas .................................212
Gambar 9.8 Memilih Board di PictoBox ....................................................... 214
Gambar 9.9 Memilih papan Arduino Uno ...................................................215
Gambar 9.10 Letak block code Arduino Uno ............................................ 215
Gambar 9.11 Wait for 2 Second ....................................................................... 216
Gambar 9.12 Upload kode satu LED (https://s.id/SatuLED) ..................... 218
Gambar 9.13 Upload Code Arduino Lampu Lalu Lintas ............................ 221
Gambar 9.14 Peta Komponen IoT Sensor Cahaya Tanaman ............................ 222
Gambar 9.15 Modul Sensor DHT11 ............................................................... 223
Gambar 9.16 Kabel Jumper Male to Female .....................................................224
Gambar 9.17 Modul Sensor LDR ..................................................................... 225
Gambar 9.18 Modul Breadboard Power Supply .............................................. 226
Gambar 9.19 Adaptor untuk Arduino ............................................................. 226
Gambar 9.20 LCD 16 x 2 ................................................................................... 227
Gambar 9.21 Pin Modul I2C ............................................................................. 227
Gambar 9.22 Modul I2C yang dipasang pada LCD .................................... 228
Gambar 9.23 Power supply dipasang dengan memerhatikan
polaritasnya ................................................................................ 229
Gambar 9.24 Pin DHT11 yang dipasang ke Arduino .................................. 229
Gambar 9.25 Pemasangan kabel Arduino ...................................................... 230
Gambar 9.26 Memilih “Connect” ...................................................................... 231
Gambar 9.27 Drag & drop blok When Clicked ................................................. 231
Gambar 9.28 Drag & drop blok Forever .......................................................... 231
Gambar 9.29 Drag & drop blok SayHello ...................................................... 232
Gambar 9.30 Drag & drop blok join ke dalam blok SayHello ............... 232
Gambar 9.31 Drag & drop blok Join ke dalam blok Join ............................ 233
Gambar 9.32 Drag & drop blok GetTemperature
(https://s.id/GetTemperature) ...................................... 233
Gambar 9.33 Kode lengkap untuk menampilkan suhu
(https://s.id/SuhuDitampilkan) ............................................... 234
ix