ESP32 and LCD (4-bits and I2C Interface)
ESP32 and LCD (4-bits and I2C Interface)
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.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: ESP32 and LCD (4-bits and I2C Interface)
There are other HD44780 drivers, but yours looks exceptionally comprehensive in terms of features supported
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: ESP32 and LCD (4-bits and I2C Interface)
These look great thank you. I’ll hopefully try them soon.
-
- Posts: 3
- Joined: Wed Jul 22, 2020 10:13 pm
Re: ESP32 and LCD (4-bits and I2C Interface)
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?
-
- Posts: 2
- Joined: Wed Mar 21, 2018 11:47 am
Re: ESP32 and LCD (4-bits and I2C Interface)
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.
I'll post an issue over on Github.
-
- Posts: 2
- Joined: Wed Mar 21, 2018 11:47 am
Re: ESP32 and LCD (4-bits and I2C Interface)
Same here. clear() seems to mess things up too.