Another illustration that demonstrate how to wire the i2c 16×2 LCD on ESP8266 12 Known as NodeMCU, as you can see the diagram below the SCL as Arduino Analog Pin A4 is connected to D1 on NodeMCU at the same time the D2 as the SDA represent as Analog Pin A5 on Arduino Board, As you may notice that the sketch code that we used it is not LUA script it is actually standard Arduino C compiled/Interpret by Arduino IDE. If you don’t have an ESP8266 runs on Arduino IDE please follow this link.
Required Devices
- NodeMCU 12,12E
- LCD16x2 on i2C Module
- Jumper Wires / DuPont Wires
Wiring Diagram
Note: Some 16×2 LCD display module required 5v vcc.
Sketch Code
[crayon-6741b1fe89487992514496/]
Wiring NodeMCU ESP8266 12E with i2C 16×2 LCD Screen