logo elektroda
logo elektroda
X
logo elektroda

Connecting 5V LCD and 3.3V OLED to Same I2C Pins on NodeMCU ESP8266

Travisek 1629 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19193037
    Travisek
    Level 6  
    Posts: 14
    Rate: 12
    Hi, I have a nodemcu v3 esp8266.

    The 2x16 LCD display is powered by VCC = 5 V, while the 0.96'' OLED is powered by 3.3 V.

    I have an I2C converter attached to the LCD display, the OLED also uses I2C.

    Knowing that the LCD is connected under 5 V and the OLED under 3.3 V - can I connect both displays under the same SCL and SDA pins to the ESP (D1 and D2) ?

    Thanks
  • ADVERTISEMENT
  • #2 19193136
    lucass17
    Level 14  
    Posts: 98
    Help: 10
    Rate: 27
    There will probably be no communication with the 5V LCD, because in the datasheet note in the first better LCD the logical one starts at 3.5V. You need to use a converter or circuit that will match the logic levels.
  • ADVERTISEMENT
  • #3 19193353
    Anonymous
    Level 1  
  • #4 19253495
    ArtGateOne
    Level 15  
    Posts: 102
    Help: 16
    Rate: 8
    I managed to run the LCD without a converter - the only problem was getting the bias correct - but I got around that a bit by running the LCD in single line mode (different refresh rate) and everything is readable.
    Helpful post? Buy me a coffee.
ADVERTISEMENT