Mini pinball machine
By Phil King. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
After abandoning an attempt to build an electromechanical pinball table, maker Chris Dalke set about creating a desktop one with a 7-inch HDMI touchscreen instead. “I wanted to retain the feeling of a physical arcade game with intense sound, vibration, and colours, as well as the tactile response of the inputs,” he says.
Powered by a Raspberry Pi 4, his screen-based version of pinball is coded in C++ and OpenGL, using the open-source software development library raylib. An Arduino is used for the button inputs and LED matrix scoreboard. The enclosure is laser-cut from maple wood.
If your carpentry and mechanical skills are up to it, you could have a go at building a full-size physical pinball table, like Frogger1108’s beautifully finished Arduino-controlled project.
When not editing books and contributing to The MagPi, Phil enjoys playing the piano (badly), astronomy, and watching classic sitcoms.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Make your RAM go further – Raspberry Pi OS memory optimisation tips
In issue 164 of Raspberry Pi Official Magazine we have been playing around with the new Raspberry Pi 5 1GB RAM. While the RAM shortage caused by the demands of AI infrastructure is annoying beyond belief, this has been a great chance for us to really get to grips with RAM. Generating images in Stable […]
Read more →
Mighty Projects – 1GB Computer in Raspberry Pi Official Magazine 164
It’s normal for computers to get faster and more pwerful, but the new-ish Raspberry Pi 5 1GB is a step in the other direction: it has all the processing power and the same GPIO pins of its more costly siblings, but with only 1GB of RAM it’s at a price that’s friendlier on the wallet […]
Read more →
Win one of five 256GB Raspberry Pi Flash Drives
If you’ve been around long enough, you know that every Raspberry Pi accessory is top quality, and the latest Flash Drive is no different. Fancy a big one? We have five up for grabs, and you can enter below… Win 1 of 5 256GB Raspberry Pi Flash Drives
Read more →