Arduino Tweet-the-Heat
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:
But that was boring...
Then I got it! It would have to tweet the temperature when I pressed a button!

Click through to read more!
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:

But that was boring...
Then I got it! It would have to tweet the temperature when I pressed a button!

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


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!


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!
about 1 hour later: