As if you already weren’t agonizing over whether or not you should build your own arcade cabinet, add this one to the list of compelling reasons why you should dedicate an unreasonable amount of physical space to playing games you’ve probably already got emulated on your phone. [Rodrigo] writes in to show off his project to add some flair to the lighted buttons on his arcade controller. (Google Translate)
The wiring for this project is about as easy as you’d expect: the buttons connect to the digital inputs on the Arduino, and the LEDs on the digital outputs. When the Arduino code sees the button getting pressed, it brings the corresponding LED pin high and starts a fade out timer using the SoftPWM library by [Brett Hagman].
It’s worth noting that the actual USB interface is being done with a stand-alone controller, so the Arduino here is being used purely to drive the lighting effects. The more critical reader might argue that you could do both with a single microcontroller, but [Rodrigo] was in a classic “Use what you’ve got” situation, and already had a USB controller on hand.
Of course, fancy lit arcade buttons won’t do you much good without something to put them in. Luckily we’ve covered some fantastic looking arcade cabinets to get you inspired.
i did a hackier version of same a couple years ago. not as nice looking as this one though.
Perfect opportunty to use addressable RGB leds, then could even have them light up the color you want for the correct action, or “simon game”, to teach combos.
Some of the ws2812 single pixel modules snap really nicely into generic transparent arcade buttons. I tried this on one my projects, and it turned out quite nice.
https://m.youtube.com/watch?v=UbV8e6p8hJc
Very nice and subtle effect! Would look very cool on a real machine.