Adventures with
Raspberry Pi
and Twitter API
Luis Cipriani
@lfcipriani
Streaming API
Goal detector
Goal!
aaaaahhh!
time
TPS: tweets per second
{
1 second
Tweets with “gol”, “gool”, “goool”, "golaço"
o/ Gooal! o/
1st half Game Brazil vs Serbia (6 days before World Cup)
cancelled goal (╯°□°)╯︵ ┻━┻
wrong
power
supply
GOAL!
no way!
Pulse-Width Modulation (PWM)
Tor!
O.o
One more thing…
R.I.P.

earthquakes

incidents

TV events

game events

protests

goals

…
}IN
bells

piezo

LEDs

panels

tweets

motors

cameras

…
{OUT
Tweet Jukebox
+---------------------------------+
| |
Tweet | Raspberry Pi |
(music request) | |
+ | +-----------+ +----------+ | o/ Music powered by:
| | | Twitter | +--> | Mopidy | | Spotify
+--------------> Streaming | | Server +------------> Youtube
network | | API | <--+ | | | audio Soundcloud
| +-----------+ +----------+ |
| |
+---------------------------------+
Tweet “@TocaPraMim [song name]“
Luis Cipriani
@lfcipriani
github.com/lfcipriani/tilingol
github.com/lfcipriani/tweet-jukebox
bit.ly/detectgoals
www.mopidy.com
t.co/streaming
Thanks! Questions?

Adventures with Raspberry Pi and Twitter API