Skip to content

Using a raspberry pi GPIO and a 7 segment display, this script updates the number of emails in your gmail account.

Notifications You must be signed in to change notification settings

timothypholmes/gmailUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gmailUpdate

gmailUpdate.py

This script updates the number of emails in your gmail account using a raspberry pi GPIO pins, a 74HC595 shift register, and displays new emails on a 7 segment display.

gmail python library

This project uses the gmail library from charlierguo, the author Charlie Guo, which can be found here. This can also be obtained using the command below:

git clone git://github.com/charlierguo/gmail.git

After downloading place the gmail file that come with the link above along with the python script in the same folder.

Automize the script on the raspberry pi to run every minute.

  1. Enter the following command into the terminal.

crontab -e

  1. Copy, paste, and exit using control x.

* * * * * python /"PATH TO YOUR DIRECTORY"/gmailUpdate.py

Hardware

The following diagram shows how the 74HC595 shift register drives the 7 segment display.

About

Using a raspberry pi GPIO and a 7 segment display, this script updates the number of emails in your gmail account.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages