ESP32 and LCD (4-bits and I2C Interface)

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
HexVitor
Posts: 6
Joined: Sat Dec 28, 2019 2:11 am
Location: Brazil

ESP32 and LCD (4-bits and I2C Interface)

Post by HexVitor » Sat Dec 28, 2019 2:42 am

Through https://github.com/HexVitor/ESP32 you can find MicroPython modules for communication between ESP32 and HD44780 based LCDs. There are modules for 4-bits or I2C communication.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: ESP32 and LCD (4-bits and I2C Interface)

Post by pythoncoder » Sat Dec 28, 2019 10:55 am

There are other HD44780 drivers, but yours looks exceptionally comprehensive in terms of features supported :D
Peter Hinch
Index to my micropython libraries.

Biggles
Posts: 1
Joined: Tue Mar 29, 2016 2:20 pm

Re: ESP32 and LCD (4-bits and I2C Interface)

Post by Biggles » Sun Jan 05, 2020 1:32 am

These look great thank you. I’ll hopefully try them soon.

mattsav0728
Posts: 3
Joined: Wed Jul 22, 2020 10:13 pm

Re: ESP32 and LCD (4-bits and I2C Interface)

Post by mattsav0728 » Thu Jul 23, 2020 4:07 am

I used your LCD I2C module for a LCD2004 display I recently bought and everything seemed to work fine except when I was trying to use the function to position a character/string at a specific line and position but it didnt work as I expected. I changed the section of the code where you specify 16,2 to 20,4 but that didnt seem to help. Any ideas what I might be doing wrong?

arkman1231
Posts: 2
Joined: Wed Mar 21, 2018 11:47 am

Re: ESP32 and LCD (4-bits and I2C Interface)

Post by arkman1231 » Tue Jul 28, 2020 3:02 pm

I'm seeing the same thing: LCD2004 20x4 .... write() works just fine, great library, but something up with set_cursor().
I'll post an issue over on Github.

arkman1231
Posts: 2
Joined: Wed Mar 21, 2018 11:47 am

Re: ESP32 and LCD (4-bits and I2C Interface)

Post by arkman1231 » Tue Jul 28, 2020 3:26 pm

Same here. clear() seems to mess things up too.

Post Reply