How do i interface a LCD with an ESPduino32 (Wemos D1 R32) without a potentiometer (mine's broken)

Hello, i just got a Wemos D1 R32 ESPduino32 (ESP32 in Arduino UNO style) and the pins aren't like 2,3,4 it's io23,io24,ioXX. How do i understand which pin is which and since my potentiometer is broken how do i adjust contrast aside from using Analog A0 or AX pins with a potentiometer?

It looks a bit like this:

and the lcd is just a 16x2 lcd that i ripped out of an elevator control board.

A pinout diagram is on this link (just scroll down the page).

For the contrast pot, perhaps some others may have a suggestion.

1 Like

A couple of resistors: a 4.7k from control to +V, and a 470 from control to Gnd.

1 Like

The best solution would be to replace it. However, if that's not an option, you could rig up some resistors as a workaround to get it functioning.

1 Like

Oh thanks, i finally did my web server.

I found that the V0 pin can be powered with just 1k, but hey, i'll keep that in mind.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.