16×2 LCD with Raspberry Pi | Hardware Pi

LCD stands for liquid crystal display. Character and graphical lcd’s are most common among hobbyist and diy electronic circuit/project makers.
A 16×2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in 5×7 pixel matrix. This LCD has two registers, namely, Command and Data.
​Character lcd’s come in many sizes 8×1, 8×2, 10×2, 16×1, 16×2, 16×4, 20×2, 20×4, 24×2, 30×2, 32×2, 40×2 etc . All character lcd’s performs the same functions(display characters numbers special characters, ascii characters etc).Their programming is also same and they all have same 14 pins (0-13) or 16 pins (0 to 15).
The Hitachi HD44780 LCD controller is an alphanumeric dot matrix liquid crystal display (LCD) controller developed by Hitachi that was commonly used during the MCS-51 era.

Connection with Raspberry Pi:
5V to Vss and 1st leg of Potentiometers
Gnd to RW, LED-, switch and 3rd leg of Potentiometers
GPIO14 to RS
GPIO15 to E
GPIO18 to D4
GPIO23 to D5
GPIO24 to D6
GPIO25 to D7
GPIO4 to switch
Potentiometer middle leg with Vee
Potentiometer middle leg with LED+

Steps to install Adafruit LCD Library:
sudo apt-get install python-dev
sudo apt-get install python-setuptools
sudo easy_install -U distribute
sudo apt-get install python-pip
sudo pip install rpi.gpio
apt-get install git
git clone git://github.com/adafruit/Adafruit_Python_CharLCD.git
cd Adafruit_CharLCD

Examples folder in:

Python Scripts:
1) https://drive.google.com/open?id=0Byqwf4L09Dh9X3ZEYXlVUEQtUzA
2) https://drive.google.com/open?id=0Byqwf4L09Dh9SU5PU0hOZm51VFU

Websites to refer:


Music provided by NoCopyrightSounds (https://www.youtube.com/user/NoCopyrightSounds)

Audioscribe – Free Fall [NCS Release](https://www.youtube.com/watch?v=8ciZGNmlWgo)

Follow Audioscribe:




Tobu – Hope [NCS Release](https://www.youtube.com/watch?v=EP625xQIGzs)

Follow Tobu:





Post time: Oct-18-2017
  • * CAPTCHA: Please select the Car