Hardware GMail Notifier

June 22, 2008 at 8:03 pm | Posted in MSP430, My Projects | 5 Comments

The work by Jamie Matthews inspired me to create the similar GMail Notifier.

This project consists of two parts: hardware and software.

The Hardware

The hardware prototype

The schematics

The hardware is powered from the USB port. It uses the XBEE USB to serial module to communicate to the computer and MAX882 3.3V regulator. The microprocessor used is MSP430F2131 from Texas Instruments.

Five LEDs are used in this project:

  • LED1: Green LED
  • LED2: Green LED
  • LED3: Yellow LED
  • LED4: Red LED

The microprocessor read from the UART port how many new emails sent from the software.
If there is no new email, LED1 to LED4 will turn off.
If there is one new email, LED1 will turn on.
If there is 2 new emails, LED1 and LED2 will turn on.
If there is 3 or 4 new emails, LED1 to LED3 will turn on.
If there is 5 or more new emails, all LEDs will turn on.

The Software

The software is written in C#. Using the GetGmailFeed( ) function written by Kevin Daly, we can get the atom feed from Gmail which is in XML format.

<?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>Gmail - Inbox for xxxxx@gmail.com</title>
<tagline>New messages in your Gmail Inbox</tagline>

All we need to do next is to parse the XML docs and get the fullcount tag (which is the number of new emails) and pass it to the hardware through the virtual COM port.



RSS feed for comments on this post. TrackBack URI

  1. This code doesn’t work now. Because gmail requires ssl connection.

    You have solution for this problem? Or your code are working?

  2. Very good blog. Keep posting please. I want learn more about hardware projects. I know the software side, but no much about the hardware side.

    So if you could keep posting about projects of hardware and software working together.

  3. Hi Thiago,
    I made a minor modification of the source code to make it work.
    I’ll post the code by this weekend.

  4. If you could, send me a email, when you post the code here.

    thiago dot farina @ gmail dot com

    I made a variant of GetGmailFeed( ) and is working to me.


  5. wow you are brilliant

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: