kegde
Posts: 1
Joined: Wed Mar 11, 2020 9:13 pm

I2C LCD display

Wed Mar 11, 2020 9:34 pm

I am experimenting with Rpi4B and Python to "gain experience". I have worked a lot with Arduino (years ago) and Rpi is new to me. If I feel more confident with Rpi en Phyton I am going to make a controller and measuring station for my aquariums.

At this moment I want to make a “Hello world prg” for an I2C LCD display. But I mainly find old posts on the Internet and the examples I tried have all failed. I use the following display

https://wiki.dfrobot.com/I2C_TWI_LCD200 ... _#target_7

Crazy question maybe, but are these kinds of displays still being used at the moment, or are other output devices more common nowadays.
And can you refer me to a working example for my setup (Rpi4B, Python3, aforementioned LCD screen)?

Regards, Ko

pcmanbob
Posts: 9611
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: I2C LCD display

Thu Mar 12, 2020 12:56 pm

Hi.

Assuming this is a standard 16x2 or 20x4 LCD using the Hitachi HD44780 or a clone of it then you might look at RPLCD it supports this type of display both using a direct parallel gpio connection and the I2c back packs.

You will just need to check your backpack is actually supported.

https://pypi.org/project/RPLCD/
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Automation, sensing and robotics”