ESP8266-01 i2c Test
da i2c bisa ini mantep jg ini esp 01 pic.twitter.com/F6h3geyPMN— fariswidyantho (@radenfaris) December 30, 2016
https://github.com/agnunez/ESP8266-I2C-LCD1602
Download+extract arduino - libraries folder - restart arduino ide
2. Set Dev Board
-Pick Board Generic ESP8266 Module
3. Try burn/flash/upload
Files - Example - LiquidCrystal i2C - Hello World
Verify - Upload
4. Wire MAP
Cheat Sheet ESP8266-01 |
VCC - 3.3V
GND - GND
RX - TX
TX - RX
CH_PD - 3.3V
RST - PUSH BTN - GND
GPIO0 - GND (FOR FLASH, 3.3V FOR RUNNING)
ESP8266 - i2c 16x2 LCD BACKPACK
GPIO2 - SCL
GPIO0 - SDA
GND - GND
LCD 16x2 = 5V
ESP8266-01 = 3.3V
Catatan:
- 3.3v ≠ 5v
- selesai upload GPIO0 dicabut + reset (agar supaya mode flash off)
Referensi
-reference i2c lcd16x2 = http://sankios.imediabank.com/esp-01-1602-led
-wiremap = http://domoticx.com/esp8266-wifi-lcd-1602-2004-via-i2c-nodemcu/
-setup = https://kendrick-tabi.blogspot.co.id/2015/06/how-to-program-esp8266-using-arduino-ide.html