Skip to content

mayankgsingh/raspberry-pi-i2c-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-pi-i2c-clock

Clock running on Raspberry PI with 16x2 LCD I2C interface

Enable I2C Interface on raspberry pi

sudo raspi-config
Interfacing Option -> I2C -> Enable

Install following python modules

sudo apt-get install python-pip
pip install ics
pip install requests
pip install RPLCD
pip install smbus

Connections

Raspberry PI I2C LCD
5v VCC
GND GND
SDA SDA
SCL SCL

Checkout code using git clone

Setup cron job

Run cronjob every two minutes

0/2 * * * * /raspberry-pi-i2c-clock/clockmonitor.sh

About

Clock running on Raspberry PI with 16x2 LCD I2C interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published