Simple Arduino Gmail Notifier Project

arduino-gmail-580x387

Simple python script checks for mail using imaplib and tells the arduino via serial connection. Arduino activates a simple servo motor rotating the flag.

Code:

import serial import time import imaplib, re

ser = serial.Serial(3) print “Starting on ” +ser.portstr; conn = imaplib.IMAP4_SSL(“imap.gmail.com”, 993) while (True): conn.login(‘YOUR GMAIL USERNAME’,’YOUR PASSWORD’) unreadCount = …

read more on Simple Arduino Gmail Notifier Project…