Pages: [1]   Go Down
Author Topic: triggering video playback on rPi using RFID  (Read 2098 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a project that I'm working on and would love any help, pointers, advice, etc. I have some experience with Arduino, but not much with rPi beyond flashing an SD with PiMAME for kicks.

Basically, I want to have video playback triggered on the rpi when a correct RFID is read. There are multiple objects in the instilation but only one will trigger the playback. I figured the arduino would be better at interfacing with the RFID readers (these ones https://www.sparkfun.com/products/8628 ). I got these logic level converters as well: http://www.adafruit.com/products/395
I want there to be some video playing all the time, and have the 'active' video play when the right conditions are met (rfid reads correct tag).
I'd also like to have the video turn off if the object is removed prior to the video finishing


What are the first steps towards this? Am I crazy?
Logged

Southern California
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like a fun project! The way I'd go about it, is get a serial connection between the Arduino and Pi. Then, I'd use PyGame on the Pi side, to both read the serial from the Arduino, and play the video. There's a good example of the PyGame <-> Arduino communication in this article:
http://blog.makezine.com/2012/10/22/a-halloween-sound-trigger-with-raspberry-pi-and-arduino/

I can't speak much to the RFID side of things, but it looks like you're on the right path with getting a breakout RFID reader board. And good call on the logic level converter, the TXB0108 is one of my favs, and a lot of people forget this very important part. FWIW, if you use the new Arduino Due you don't need one.
Logged

Pages: [1]   Go Up
Jump to: