Top Banner
tweeLaw tweet na nakasisilaw
13

TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

Dec 14, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

tweeLaw tweet na nakasisilaw

Page 2: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

tweeLawa WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

Page 3: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

components

Arduino with WiFi shieldLED bulbs Red Green BlueThingSpeak API

Page 4: TweeLaw tweet na nakasisilaw. tweeLaw a 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.

Page 5: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

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

Page 6: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

solutionThingSpeak takes care of the OAuth process as well as monitoring Twitter and storing the data.

Page 7: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

streaming APIset of streaming APIs offered by Twitter which give developers low latency access to Twitter's global stream of Tweet data.

Page 8: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

command#tweetcontrol kulay redtrigger: kulay

keyword: red

orange yellow light green green spring green cyan azure blue violet magenta rose

Page 9: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

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

Page 10: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

process5. Arduino parses tweet6. Arduino sends brightness values to

the bulbs7. Lamp displays desired colour8. ???9. PROFIT!

Page 11: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

applicationmostly, just a fun application

more importantly, however, it is an exhibition of the possibilities opened up by and the ease of using ThingSpeak

Page 12: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.

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

Page 13: TweeLaw tweet na nakasisilaw. tweeLaw a WiFi capable, Arduino controlled, multicoloured lamp which uses ThingSpeak to get inputs from Twitter.