Adventures with Raspberry Pi and Twitter API

336 views

Published on

In this talk I'll show how to use Raspberry Pi to detect realtime events using Twitter API and sound sensors; and also how to build a tweet jukebox that plays any music in the world if you request it to a twitter bot. Github code available

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
336
On SlideShare
0
From Embeds
0
Number of Embeds
71
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Adventures with Raspberry Pi and Twitter API

  1. 1. Adventures with Raspberry Pi and Twitter API Luis Cipriani @lfcipriani
  2. 2. Streaming API
  3. 3. Goal detector
  4. 4. Goal! aaaaahhh!
  5. 5. time TPS: tweets per second { 1 second
  6. 6. Tweets with “gol”, “gool”, “goool”, "golaço"
  7. 7. o/ Gooal! o/
  8. 8. 1st half Game Brazil vs Serbia (6 days before World Cup) cancelled goal (╯°□°)╯︵ ┻━┻ wrong power supply
  9. 9. GOAL! no way!
  10. 10. Pulse-Width Modulation (PWM)
  11. 11. Tor! O.o
  12. 12. One more thing…
  13. 13. R.I.P. earthquakes incidents TV events game events protests goals … }IN bells piezo LEDs panels tweets motors cameras … {OUT
  14. 14. Tweet Jukebox
  15. 15. +---------------------------------+ | | Tweet | Raspberry Pi | (music request) | | + | +-----------+ +----------+ | o/ Music powered by: | | | Twitter | +--> | Mopidy | | Spotify +--------------> Streaming | | Server +------------> Youtube network | | API | <--+ | | | audio Soundcloud | +-----------+ +----------+ | | | +---------------------------------+
  16. 16. Tweet “@TocaPraMim [song name]“
  17. 17. Luis Cipriani @lfcipriani github.com/lfcipriani/tilingol github.com/lfcipriani/tweet-jukebox bit.ly/detectgoals www.mopidy.com t.co/streaming Thanks! Questions?

×