adventures with raspberry pi and twitter api

33
Adventures with Raspberry Pi and Twitter API Luis Cipriani @lfcipriani

Upload: luis-cipriani

Post on 16-Apr-2017

380 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Adventures with Raspberry Pi and Twitter API

Adventures with Raspberry Pi

and Twitter API

Luis Cipriani @lfcipriani

Page 2: Adventures with Raspberry Pi and Twitter API
Page 3: Adventures with Raspberry Pi and Twitter API

Streaming API

Page 4: Adventures with Raspberry Pi and Twitter API

Goal detector

Page 5: Adventures with Raspberry Pi and Twitter API
Page 6: Adventures with Raspberry Pi and Twitter API
Page 7: Adventures with Raspberry Pi and Twitter API

Goal!

aaaaahhh!

Page 8: Adventures with Raspberry Pi and Twitter API

time

TPS: tweets per second

{

1 second

Page 9: Adventures with Raspberry Pi and Twitter API

Tweets with “gol”, “gool”, “goool”, "golaço"

Page 10: Adventures with Raspberry Pi and Twitter API
Page 11: Adventures with Raspberry Pi and Twitter API
Page 12: Adventures with Raspberry Pi and Twitter API
Page 13: Adventures with Raspberry Pi and Twitter API
Page 14: Adventures with Raspberry Pi and Twitter API

\o/ Gooal! \o/

Page 15: Adventures with Raspberry Pi and Twitter API

1st half Game Brazil vs Serbia (6 days before World Cup)

cancelled goal (╯°□°)╯︵ ┻━┻wrong power supply

Page 16: Adventures with Raspberry Pi and Twitter API
Page 17: Adventures with Raspberry Pi and Twitter API

GOAL!

no way!

Page 18: Adventures with Raspberry Pi and Twitter API

Pulse-Width Modulation (PWM)

Page 19: Adventures with Raspberry Pi and Twitter API
Page 20: Adventures with Raspberry Pi and Twitter API
Page 21: Adventures with Raspberry Pi and Twitter API

Tor!

O.o

Page 22: Adventures with Raspberry Pi and Twitter API

One more thing…

Page 23: Adventures with Raspberry Pi and Twitter API
Page 24: Adventures with Raspberry Pi and Twitter API

R.I.P.earthquakes

incidentsTV events

game eventsprotests

goals…}IN

bellspiezoLEDs

panelstweetsmotors

cameras…{OUT

Page 25: Adventures with Raspberry Pi and Twitter API

Tweet Jukebox

Page 26: Adventures with Raspberry Pi and Twitter API
Page 27: Adventures with Raspberry Pi and Twitter API
Page 28: Adventures with Raspberry Pi and Twitter API

+---------------------------------+ | | Tweet | Raspberry Pi | (music request) | | + | +-----------+ +----------+ | \o/ Music powered by: | | | Twitter | +--> | Mopidy | | Spotify +--------------> Streaming | | Server +------------> Youtube network | | API | <--+ | | | audio Soundcloud | +-----------+ +----------+ | | | +---------------------------------+

Page 29: Adventures with Raspberry Pi and Twitter API
Page 30: Adventures with Raspberry Pi and Twitter API
Page 31: Adventures with Raspberry Pi and Twitter API
Page 32: Adventures with Raspberry Pi and Twitter API

Tweet “@TocaPraMim [song name]“

Page 33: Adventures with Raspberry Pi and Twitter API

Luis Cipriani @lfcipriani

github.com/lfcipriani/tilingol github.com/lfcipriani/tweet-jukebox

bit.ly/detectgoals

www.mopidy.com t.co/streaming

Thanks! Questions?