Project Description

howtotweet

This tutorial explains how easily you can build your own weather station just by using 3 parts without soldering.

This ‘Twitter Weather Station’ needs only a handful of parts that just slot together. Here’s what you need:

  • Arduino Uno microcontroller board ($13 on eBay)
  • W5100 Ethernet Shield ($10 on eBay)
  • DHT11 temperature/humidity sensor ($3 on eBay)

In this tutorial, the author will use  Markku Rossi’s tweeter library. There are a few Twitter libraries for Arduino floating around, but  they all require you to send your tweets through a third-party server which is not only limiting but not great for security either. Rossi’s library doesn’t – it allows your Arduino to talk to Twitter’s servers directly and even handles the OAuth authentication protocol (secret handshake) that gets your tweets onto your Twitter account. You can find the library at Rossi’s web site at tinyurl.com/nzw3fba.

The author is saying

We’re using the Arduino here to automatically tweet temperature and humidity every 5 minutes but if you desire you could also program your Arduino to tweet on a trigger. Here are just a few ideas we’ve come up with.

  • Use an HC-SR04 ultrasonic sensor and send a tweet whenever someone passes through the ultrasonic beam – you’ve got a simple tweeting entry alarm system.
  • Have a light sensor such as a light-dependent resistor (LDR) inside your bar fridge so that whenever the door opens and the light comes on it triggers your Arduino to tweet that someone’s raiding your beer.
  • Use what’s called a window reed switch to trigger code that tweets if a window in your home is opened.

There are plenty of other applications. The great thing is that it’s all just limited by your imagination.

For more detail about the project, click here