Python script to check email and display them using a 16 X 2 lcd and Raspberry pi
####Bored of checking your emails frequently?
####This might be the perfect solution.
##Requirements
- Raspberry Pi
- 16 X 2 LCD Display
- 16 X 2 LCD Display
- Resistors
- Jumper Wires
- Breadboard
##Python Requirements
- Feedparser
Install Feedparser
sudo pip install feedparser
##Wiring
LCD PIN | Function | Pi Function | Pi Pin |
---|---|---|---|
01 | GND | GND | 06 |
02 | +5V | +5V | 02 |
03 | Contrast | GND | 02 |
04 | RS | GPIO7 | 26 |
05 | RW | GND | 02 |
06 | E | GPIO8 | 24 |
07 | Data 0 | ||
08 | Data 1 | ||
09 | Data 2 | ||
10 | Data 3 | ||
11 | Data 4 | GPIO25 | 22 |
12 | Data 5 | GPIO24 | 18 |
13 | Data 6 | GPIO23 | 16 |
14 | Data 7 | GPIO18 | 12 |
15 | +5V via 560ohm | ||
16 | GND | GND | 02 |
Your circuit should look similar to this
GPIO pinout for reference GPIO: MODELS A+, B+ AND RASPBERRY PI 2
##Installation
$ git clone https://github.com/yogeshojha/raspberry_pi_email_notifier
$ cd raspberry_pi_email_notifier
##Changes to be made Change the username and password inside email.py
$ nano email.py
Edit line 10 and 11 with your username and password
USERNAME = "[email protected]"
PASSWORD = "yourpassword"
##Usage
$ sudo python email.py