Sunday, June 14, 2009

Mission A.d : Push Button, Send LED

Accomplishes a Hello World version of Igoe's CatCam program. I can push a button on my Arduino board connected to the Mac and get my PC to send a mail to my gmail. Will post the code soon.

With the help of a software guru of course :)

Basically, following the lead from Tom Igoe :

App running on the Arduino is very simple and just services a pushbuttom press and a very simple handshake with the PC over the serial port, which also serves in the debounce (PC implements a 2 second delay. Yuck!)

PC runs a very simple program (in Processing code) to monitor the serial port and look for the secret byte. When it gets it, it fetches a PHP page from the webserver.

Webserver, services that request by sending a mail using the simple port 25 protocal at mail.google that doesn't require authentication.

Mail will be in your spam folder in your gmail because it looks like an obvious forgery.

No comments:

Post a Comment