Arduino Tweet-the-Heat

Posted by Quinny Mon, 07 Sep 2009 16:25:11 GMT
This weekend I picked up my Arduino Starters Kit at my parents. I had ordered it a few weeks ago via eBay. At the same time, I also ordered an Arduino Ethernet Shield, which was also waiting for me, at my parents.

First I did some of the little projects from the manual, but these were not really so interesting...

I wanted to use my Ethernet Shield!

First I tried a temperature-webserver:

Screen shot 2009-09-06 at 18.50.15.png

But that was boring...

Then I got it! It would have to tweet the temperature when I pressed a button!

IMG_2953.jpg


Click through to read more!
First some pics of the breadboard and the Arduino with the Ethernet Shield on top:

IMG_2954.jpg


IMG_2955.jpg


In the code, I had some problems converting a float (the temperature value) to a string. My friend Bas helped me out with that. I ended up not using his code, but he did point me in the right direction.

For the Twitter-part of things, I used code from this blog. It works!

Posted in | 1 comment |



Comments

Leave a comment

  1. Osi
    about 1 hour later:
    Glad I could help :D enjoy the fun with your toy!

Leave a comment