Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Colabs IoT
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Sensor DIY
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Instalasi Arduino IDE & Setup ESP8266 == Tahapan ini menjelaskan langkah instalasi Arduino IDE dan setup ESP8266. === Download dan Instalasi Software === # Buka situs resmi [http://arduino.cc arduino.cc]. # Pilih versi terbaru sesuai sistem operasi Anda (Windows, macOS, atau Linux)[[File:Gambar file installer arduino.png|none|thumb|Gambar file installer arduino]] #Jalankan file installer yang telah diunduh. #Pastikan semua opsi checklist terpilih (terutama Install USB Driver dan Associate .ino files). #Klik Next dan Install hingga selesai. (Masing2 poin dikasih cuplikan gambar) === Konfigurasi Board ESP8266 === Secara default, Arduino IDE hanya mendukung board Arduino. Agar bisa memprogram ESP8266, maka harus dilakukan konfigurasi dan instalasi secara manual, berikut langkah-langkahnya: # Buka Arduino IDE, klik menu '''File > Preferences'''.[[File:Gambar menu preferences arduino.png|none|thumb|Gambar menu preferences arduino]] # Pada kolom '''Additional Boards Manager URLs''', masukkan url berikut: http://arduino.esp8266.com/stable/package_esp8266com_index.json # Klik '''OK'''.[[File:Gambar input additional boards manager URLs.png|none|thumb|Gambar input additional boards manager URLs]] # Buka menu '''Tools > Board > Boards Manager…'''[[File:Gambar klik menu boards manager arduino.png|none|thumb|Gambar klik menu boards manager arduino]] # Ketik "esp8266" di kolom pencarian, lalu klik '''Install''' pada paket dari '''ESP8266 Community'''.[[File:Gambar install paket dari ESP8266 Community.png|none|thumb|Gambar install paket dari ESP8266 Community]] === Instalasi Library (DHT & LCD) === # Pilih '''Sketch > Include Library > Manage Libraries...''' # Cari '''"DHT sensor library"''' (by Adafruit) dan klik '''Install'''. Jika muncul pop-up untuk menginstal dependensi (seperti ''Adafruit Unified Sensor''), pilih '''Install All'''. # Cari '''"LiquidCrystal I2C"''' (by Frank de Brabander) dan klik '''Install'''.[[File:Gambar instalasi library DHT dan LCD.png|none|thumb|Gambar instalasi library DHT dan LCD]] === Koneksi ke Perangkat === # Hubungkan ESP8266 ke laptop menggunakan kabel data Micro USB. # Pilih board di '''Tools > Board > ESP8266 Boards >''' (Contoh: '''NodeMCU 1.0 (ESP-12E Module)''').[[File:Gambar pilih board NodeMCU 1.0 (ESP-12E Module).png|none|thumb|Gambar pilih board NodeMCU 1.0 (ESP-12E Module)]] # Pilih Port yang sesuai di '''Tools > Port''' (Biasanya akan muncul COM3, COM4, dsb. di Windows).[[File:Gambar pilih port COM6.png|none|thumb|Gambar pilih port COM6]] ==== Tips Troubleshooting ==== * ''Driver USB: Jika Port tidak muncul, langkah yang perlu dilakukan adalah menginstal driver USB-to-Serial secara manual. Biasanya chip yang digunakan adalah CH340 atau CP2102 (tergantung varian NodeMCU yang digunakan).'' * ''Kecepatan Upload: Untuk ESP8266, gunakan Upload Speed 115200 agar proses pengiriman kode lebih stabil.''
Summary:
Please note that all contributions to Colabs IoT may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Colabs IoT:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)