16×2 lcd raspberry pi expansion board

Expansion Board can fit on top of popular ebay standard acrylic raspberry pi case, 14 external pins & male socket under pcb can be used to connect to breadboard using GPIO’s for other projects.

16×2 LCD Display
The wiring for the LCD is as follows: HD44780
R1=10K

Youtube link: https://www.youtube.com/watch?v=Cbdna40Huio

# 1 : GND
# 2 : 5V
# 3 : Contrast (0-5V)*
# 4 : RS (Register Select)
# 5 : R/W (Read Write) – GROUND THIS PIN
# 6 : Enable or Strobe
# 7 : Data Bit 0 – NOT USED
# 8 : Data Bit 1 – NOT USED
# 9 : Data Bit 2 – NOT USED
# 10: Data Bit 3 – NOT USED
# 11: Data Bit 4
# 12: Data Bit 5
# 13: Data Bit 6
# 14: Data Bit 7
# 15: LCD Backlight +5V**
# 16: LCD Backlight GND

GPIO to LCD mapping :

LCD_RS = 7
LCD_E = 8
LCD_D4 = 25
LCD_D5 = 24
LCD_D6 = 23
LCD_D7 = 1

EXAMPLE DEMO PYTHON PROGRAM – CLOCK

LCDlib.py