Pages: [1]   Go Down
Author Topic: WiFi Gmail Notifier Robot  (Read 5315 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

[size=18]> Full Post, Videos: http://www.australianrobotics.com.au/wifiGmailRobot[/size]

[size=16][size=18]A (Wireless) Physical Gmail Notifier[/size][/size]
Having just received our first batch of WiShield 2.0's from AsyncLabs, I had to build something wireless! There are a few physical Gmail notifiers based on Arduino out there, but here is one that can be disconnected from your computer. It still needs a DC power supply for the Arduino, but it can be moved anywhere in the house as a lamp or small radio would. The robot body contains two servos more moving the arms and a spacious hollow interior for the Arduino WiShield.


The Gmail Robot being wireless in it's native surroundings. No computers required!


[size=18]A PHP Script To Check Emails[/size]
Source Code: http://codetidy.com/306

As far as the hardware goes, the Gmail Notifier Robot is just two servos contained in a retro-looking body. The magic Happens inside where an Arduino and WiShield are able to wireless connect to the Australian Robotics servers and request some information. A PHP script sits on the server and will return the number of unread messages in my GMail account-- if there are some unread messages, move the robot arm! Why an intermediate PHP script? The IMAP capabilities of PHP make it very simple to connect to Gmail and access your mailboxes.

The servos being installed in the robot. Note the high tech organic composite materials used for superior strength and lightness.


[size=18]The WiShield Sketch Based Off Of SimpleClient[/size]
Source Code: http://codetidy.com/307

The code is the SimpleClient example modified to connect to our own PHP server instead of the LAX Weather text file. The code then parses the raw data returned for the number of emails (the PHP serves it prefixed with a # for easy parsing!).

I like this design as it keeps the complicated IMAP code out of the Arduino, where you'd have to write it in a low-level C-ARduino language without APIs for email communication.


The Internal Workings of The Gmail Robot. The hardware consists of 2 Standard Servos, An Arduino Duemilanove and the WiShield 2.0. The code was developed on an Arduino Uno + WiShield 2.0, but when mounting the board permanently in the robot I chose an older Duemilanove uploaded with the same code (as to save hot gluing my brand new Arduino Uno!).



Human--- You have an email!!



Testing the servos on the robot body. I've created an adhoc servo tester using a potentiometer and an Arduino. Some breadboard jumper wires sitting around are useful for this type of thing!
Logged

Fidenza, Parma
Offline Offline
God Member
*****
Karma: 8
Posts: 783
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Really good!  I like that!
Logged

ArduMAP: Mappa degli utenti che utilizzano Arduino.
http://www.guglio.net/ArduMAP

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Congrats! Your project is very interesting.
Does WiShield is easy to install and program? I'm working on something similar actually, and I don't know which is the best shield to buy wireless my Arduino.

Thanks.
Alberto
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Pretty awesome if you ask me, great job smiley-grin
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Alberto,

Yes the WiShield came with sample programs that were easily modified to make my gMail notifier robot. Actually, it's really just a modified "simpleClient.pde" sketch that is included with the WiShield libraries!

Chris
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks very much Chris, I'll buy it smiley
Logged

Pages: [1]   Go Up
Jump to: