2. ESP8266
• ESP8266 dikembangkan
developer tiongkok (Espressif).
• Module wifi dengan SoC
(System on Chip).
• Bisa di program tanpa
mikrokontroller tambahan.
• ESP12E NodeMCU v3 lua,
board with gpio pin dan micro
usb.
3.
4. GPIO Pin
• Pin untuk komunikasi
dengan sensor atau
module lain
• beberapa pin konsisten
mengeluarkan tegangan
3.3v dan ground.
https://alselectro.wordpress.com/2017/10/21/nodemcu-getting-started-with-arduino-core-1-gpio-pins-network-access/
5. NodeMCU firmware
• Custom build
• Support mqtt client(connect, publish, subs, etc)
• Suport crypto (encrypt, decrypt, etc)
• Support sqlite but large size
6. Debug and Develop
• Arduino IDE
• Need update board model esp8266
• Board config :
• cpu freq 80Mhz
• flash size 4mb
• upload speed 115200
• port, follow your driver usb
port(mac /dev/cu.wchusbserial...
• Serial monitor, and set serial port.
example : 74880 and set 74880 baud
on serial monitor
7. ESP8266 Qiscus
• Repo https://github.com/asharijuang/ESP8266-QiscusBot
• Main Feature :
• Config appid, token
• Get message with sync api (polling)
• Send message
• Integration with Arduino