Connecting 16x2 LCD to Raspberry Pi
Intro: Connecting 16x2 LCD to Raspberry Pi
Almost all 16×2 LCD available in the market are based on Hitachi HD44780 LCD controller. This permits you to purchase nearly any unit and make sure its determined to work in same way as all others.There are loads to browse on eBay.
STEP 1: Circuit
The circuit consists of a 8 bit I2C port expander IC named PCF8574. HD44780 is interfaced with Raspberrypi via PCF8574.
For the main circuit & schematic please visit my blog for more info- http://www.rpiblog.com/2012/11/interfacing-16x2-lcd-with-raspberry-pi.html
STEP 2: Code
Going to the programming part, Python is utilized to control the logic part.I have composed a straightforward library to communicate with the LCD utilizing the I2C bus.Please visit my Raspberry Pi Blog for code and other projects:- http://www.rpiblog.com/2012/11/interfacing-16x2-lcd-with-raspberry-pi.html
3 Comments
kirtiksoni 9 years ago
Can i use the library without using the IC? Please do reply
rahulkar 11 years ago
amandaghassaei 11 years ago