ESP32 I2C LCD Library
Posted: Mon Feb 18, 2019 9:30 am
by MaxSydney
I've put together a simple library for I2C LCD displays using the HD44780 driver to perform most of the basic tasks that might be useful for simple projects. I'm posting mainly because these displays are frequently used in small embedded projects and hopefully this can be of some help to beginners looking to migrate to the ESP-IDF from the Arduino environment.
The driver uses software delays rather than the busy flag, but that could potentially be something I could add in the future if people are interested.
This is my first published component for the ESP32, so feel free to post any comments/feedback.
Code & a simple example can be found here
https://github.com/maxsydney/ESP32-HD44780
Cheers.
Re: ESP32 I2C LCD Library
Posted: Sat May 22, 2021 5:16 pm
by l_canete
Hello Max,
First of all i want to thank you for your library. I have used it and it's really good.I have experimented a bit and modified the library and adapted it to the objected oriented way in C++. Here is the repository if you want to check it out:
https://github.com/LucasCanete/HD44780-ESP-IDF-CPP
Comments and feedbacks are always welcome.
Greetings from Germany
Lucas
Re: ESP32 I2C LCD Library
Posted: Wed Jun 16, 2021 2:01 pm
by Estevo
I had a problem calling LCD_home, two black bands appear on the LCD, and when I run LCD_writeStr and LCD_setCursor, strange characters appear. After some tests I found the problem, the .master.clk_speed was too high, I set the value to 1000 and it worked perfectly, this is a tip if anyone has the same problem.
And thanks for the Max library, it's working fine.
Greetings from Brazil
Re: ESP32 I2C LCD Library
Posted: Fri Oct 21, 2022 10:49 pm
by bradkeifer
Hi folks,
Many thanks for the great work done by @MaxSydney.
I have improved upon that work and developed a reasonably complete LCD API for I2C-based LCD displays using the HD44780 chipset. It's my first ESP-IDF project and I have tried to align with the programming and documentation style guides. See
https://github.com/bradkeifer/esp32-HD44780. I hope people find it useful. Feedback welcome at
https://github.com/bradkeifer/esp32-HD44780/issues
Re: ESP32 I2C LCD Library
Posted: Tue Feb 06, 2024 10:14 am
by tamiloli
Hi, In my
ESP32 IDF LCD display working not proper. In my reference library url is
https://github.com/maxsydney/ESP32-HD44780 it return to display is not properly, why it happened? anyone please clear my problem. I share it my display.
Re: ESP32 I2C LCD Library
Posted: Tue Feb 27, 2024 3:38 am
by quiron
Great component. Thanks for sharing your code. I am with the same problem here, the characters are truncated on the screen. I had to make some adapts to make the component work with the espressif idf 5.x.x.
Trying to figure out what's going on. Testing with esp32c3 supermini.