Ever since Twitter shuttered their 1.0 API, a lot of classic Arduino+Twitter projects have been out of commission. The new 1.1 API is robust and secure, but the authentication procedure is asking an awful lot from a little 2K microcontroller. The usual work-around has been to use a proxy server to do the heavy lifting…adding another piece to the puzzle…more code to run, a server to host it and all that entails.
Recently we got Twitter 1.1 API searches working with our original Internet of Things Printer. Now we’ve cracked the nut of sending tweets too…wirelessly over 802.11 this time, direct from Arduino to cloud by way of our CC3000 breakout board, no XBee, no proxy, nothing but net.
Additionally, unrelated to Twitter, there’s a new geolocation example sketch which returns your approximate latitude and longitude based on IP address. Combined with the NTP time sketch, this can provide net-aware home automation projects with sufficient information for seasonal calculations like sun position, insolation or day length without entering coordinates or using GPS.