Upload
carley-tattersall
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
tweeLawa WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.
inspirationUses Twitter’s Search API to measure the world’s mood into several predefined categories.
problemTwitter’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
solutionThingSpeak takes care of the OAuth process as well as monitoring Twitter and storing the data.
streaming APIset of streaming APIs offered by Twitter which give developers low latency access to Twitter's global stream of Tweet data.
command#tweetcontrol kulay redtrigger: kulay
keyword: red
orange yellow light green green spring green cyan azure blue violet magenta rose
process1. User tweets command2. Command triggers TweetControl3. TweetControl calls registered
ThingHTTP4. ThingHTTP stores tweet in Channel5. Arduino routinely (every 30 – 60
seconds) downloads the latest data in the Channel
process5. Arduino parses tweet6. Arduino sends brightness values to
the bulbs7. Lamp displays desired colour8. ???9. PROFIT!
applicationmostly, 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