20x4 LCD

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
dork3nergy
Posts: 6
Joined: Thu Apr 09, 2020 7:19 pm

20x4 LCD

Post by dork3nergy » Wed Apr 15, 2020 8:25 pm

Hey,

I couldn't figure out how to get my cheapo, old, ebay 20x4 LCD to work with micropython and talk to my ESP32 so I cobbled something together to make it go.

You can find it here:
https://github.com/dork3nergy/lcd_2004

It's dead simple but it works.

Image

Listian
Posts: 6
Joined: Tue Apr 14, 2020 8:05 pm

Re: 20x4 LCD

Post by Listian » Thu Apr 16, 2020 1:17 am

Works!

But can you tell me how to run the module locally from a computer, and not upload it to esp32?
And then it gives an error that the module was not found.

I use EsPy and Thonny IDE.

dork3nergy
Posts: 6
Joined: Thu Apr 09, 2020 7:19 pm

Re: 20x4 LCD

Post by dork3nergy » Thu Apr 16, 2020 1:53 pm

How would you be connecting the I2C directly to your computer? It might work with a raspberry pi. You'd have to connect the I2C to pins 3 and 5 in that case.

zoom
Posts: 4
Joined: Tue May 05, 2020 5:26 am

Re: 20x4 LCD

Post by zoom » Thu May 14, 2020 3:05 pm

Listian wrote:
Thu Apr 16, 2020 1:17 am
Works!

But can you tell me how to run the module locally from a computer, and not upload it to esp32?
And then it gives an error that the module was not found.

I use EsPy and Thonny IDE.
There are means with ampy (Adafruit) that allow you to run code, from your computer, on the ESP32 - look at the "run" option in the ampy documentation or help. I would imagine other development tools have this same capability.

Post Reply