tweeLaw tweet na nakasisilaw
tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.
components Arduino with WiFi shield LED bulbs Red Green Blue ThingSpeak API
inspiration Uses Twitter’s Search API to measure the world’s mood into several predefined categories.
problem Twitter’s API 1.1 requires OAuth for almost all API requests. This process however takes a lot of memory space in the Arduino’s already limited resources
solution ThingSpeak takes care of the OAuth process as well as monitoring Twitter and storing the data.
streaming API set of streaming APIs offered by Twitter which give developers low latency access to Twitter's global stream of Tweet data.
command #tweetcontrol kulay red trigger: kulay keyword: red orange yellow light green green spring green cyan azure blue violet magenta rose
process 1.User tweets command 2.Command triggers TweetControl 3.TweetControl calls registered ThingHTTP 4.ThingHTTP stores tweet in Channel 5.Arduino routinely (every 30 – 60 seconds) downloads the latest data in the Channel
process 5.Arduino parses tweet 6.Arduino sends brightness values to the bulbs 7.Lamp displays desired colour 8.??? 9.PROFIT!
application mostly, just a fun application more importantly, however, it is an exhibition of the possibilities opened up by and the ease of using ThingSpeak
extension create a customized ThingSpeak server (code is open source) which would stream the user’s tweet feed while an Arduino will perform sentiment analysis on the said feed