Friday, January 13, 2017

Harry Potter and the Real-Life Daily Prophet #piday #raspberrypi @Raspberry_Pi

from Harry Potter and the Real-Life Daily Prophet #piday #raspberrypi @Raspberry_Pi
by Zay

via RaspberryPi.org

Most people would visit The Wizarding World of Harry Potter and bring back a few souvenirs to adorn their shelves. But for Piet Rullens Jr, with a video from his trip to hand, that simply wasn’t enough.

 

From Piet Rullens Jr.

The software is very simple: I use a small Python script and an Adafruit IR distance sensor to detect if somebody is approaching the poster. If that’s the case, with a simple command I turn on the Raspberry Pi screen and start a H264 movie using Omxplayer. The movie will play for 5 minutes and then I stop the movie and turn off the screen, so it’s not playing 24/7; this saves energy and screen lifetime.

Read more


2358Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

No comments:

Post a Comment