Python Arduino Email Notifier lamp

Here an others lamp blinking from Arduino, Python and Py-Serial. I did start from a tutorial found by my student but after a short while realise that was a good code starting example but I needed something more responsive…. well the Arduino script date of 2008.

Once again here my simple proof of concept to help my student.

  • The current scripts is actually working on Windows 7, Mac, Debian linux….
  • So far I simply implement a Python timer to quickly loop and repeat a task
  • Change the Arduino scripts to work with case instead of simple variables
  • Implemented python user input instead or hard coding the password.

Download winPython_install Kit. But all necessary modules are included.
Download my pythonArduinoLamp Kit.

[KGVID width=”320″ height=”180″ downloadlink=”true”][/KGVID]

Instalation Notes:

  1. Install Python 2.7.2
  2. Simply extract Py-Serial and Feedparser inside the required location for different OS..
    • WIN 7 = c:\pythonXX\Lib\site-packages\
    • OSX = prefix/lib/pythonX.Y/site-packages
    • Linux = “confirm soon”
  3. Also copy insite the site-packages location
  4. Now simply install them all
    • cd py-serial “sudo python setup install”  
    • cd site-packages “python”
    • cd feedparser”sudo python setup install”  
  5. Now you are good to go
    1. Simply Program your Arduino
    2. Run the python scripts + Enter your email and password then you are all set….
    • Light will blink if you get more then 1 email
    • Modified the scripts to your need… that was only a workaround and proof of concept


Leave a Reply

Your email address will not be published. Required fields are marked *