This document discusses using an ESP8266 wireless SoC module to create a Qiscus bot. The ESP8266 can be programmed without an additional microcontroller. It has GPIO pins to communicate with sensors or other modules. The NodeMCU firmware supports MQTT, encryption, and SQLite. The Arduino IDE can be used for debugging and development after configuring the board settings. An ESP8266 Qiscus bot repo is provided that allows configuring app ID and token and sending/receiving messages through the Qiscus API. Integrating sensors and cameras with the ESP8266 and creating a bot are discussed as works in progress.
2. ESP8266
? ESP8266 dikembangkan
developer tiongkok (Espressif).
? Module wi? dengan SoC
(System on Chip).
? Bisa di program tanpa
mikrokontroller tambahan.
? ESP12E NodeMCU v3 lua,
board with gpio pin dan micro
usb.
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 ?rmware
? 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 con?g :
? cpu freq 80Mhz
? ?ash 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 :
? Con?g appid, token
? Get message with sync api (polling)
? Send message
? Integration with Arduino