Raspberry Pi‎ > ‎SANKI Device‎ > ‎

LCD1602/2004


LCD1602 / 2004

Hardware

 
 

 


Pin Connect

 Raspberry Pi LCD 1602 / 2004
I2C Adapter 

+5V  VCC 
 GND GND 
SDA SDA
SCL SCL

Python

This example is to display eth0 and wlan0 ip address on LCD2004, 


Program included 
  • i2c_lib.py : i2c Library
  • ipaddr2.py : show ip address
  • lcddrive.py : LCD Driver
  • lcd.py : Show IP Address on LCD 
Run Test : $ sudo python lcd.py

  

i2c Adapter

How to make you own i2C Adapter, PCF8574 

Reference