If you’ve got a bunch of movies, shows or other local video files and can’t decide which one to watch, you can make Raspberry Pi choose for you, at the touch of a button. To be fair, there are easier ways to play a random video, either from local files or on the web, but they aren’t as fun as this project. So grab the popcorn and let’s start building and coding our own Raspberry Pi random video player!
Building the circuit for this project is simple. We only require three buttons, connected to the GPIO at pins 2,3,4 and each of these buttons also needs to be connected to GND, for this we can use a single GND pin on the Pi, and a female to male jumper wire. Connected to the – rail of a breadboard means that we have multiple GND connections that can be connected via the two male to male jumper wires. See the diagram in the download for this project for more information.When the hardware is built, attach all of the accessories required for your Pi and boot to the Raspbian desktop.Read More