Building a Cabinet
So for my office I spent some time working a new project, related to gaming. I built a fully functional arcade cabinet using Raspberry Pi as the base.The goal wasn't to try and fleece my co-workers (that's just a side benefit) but instead to show it could be done. Furthermore, all the collected funds will go to a local charity in December.
Selecting a Game
This turned out to be harder than I thought. Upon doing some research I found that I could not use Mame for anything that required money. Even if I could there's the whole legal issue of running a ROM, which I didn't want to deal with. Instead I went with a nice Asteroids clone I remember from the 90's. I use to play this on my Mac. Of course I'm talking about the classic, Maelstrom.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE38OyBgdQc98A_ASFdwOAmvBHNy8laTjPxa5Vy9zdOepgEZHk9mz14Ursq1Y-fQJ2FSGbuitKYHf-eFu490t4QV4ECaFTy4VQFTSu4VQDtxeAMDzMfqB82Tmup_joD_BPdMzUph24No8/s200/20130303_114933.jpg)
Hardware
So I had my Raspberry Pi going and had a donated monitor. But this was a far cry from what I wanted to have done. I started searching Craigslist every day looking, and then I found it. It was a little abused, mangled, and left to rot in the corner. For $50 it was mine.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5dgnje_e3BFm20ZbJOSIie3QC5gwitPSBfvNfT1THPmSiWzYdrpACKnTb3kslg9Z7q4Meeg5UZDk-spFg8YeCaYpL-OmzpNS2vsfhIFlg3FqnIfCT4EZWM3gRxPh366v2cbK2kKdO0GI/s200/2013-02-05+21.21.27.jpg)
But it gets worse, the wiring was a fire hazard. Three prong outlets supplied by two prong plugs. Cords held together by good intentions and twisted wires. It all had to go. I ripped everything out that night. I was left with the bare wood.
The Build
So I started off by laying down a shelf I had obtained from a hardware store weeks before. It fit like a glove. I immediately started to build up the play area, add in the Plexiglass and so on. The entire thing came together quickly and easily.This project was just meant to be.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNlTbeJb60WANpcYfTv9Ss2TxTecmtC22JptyvYfu2aOSglmiq0gA79M3vr-iXcb0ClaTIj3zjzCsh8trJD9IO0WSwo_99y9nMNou1dFXM39d23O7rymdlogcNl4AHb9A0b_MYCv9qwjM/s200/20130303_114923.jpg)
The Keyboard
But wait I hear you say, how did you make the buttons work? It couldn't be magic!Well you're right and wrong. I found something magical, the PSoC3Pim board. Taking this board and coupling it with an app note, I was able to get up and running in about 20 minutes. If that isn't magic, I don't know what is.
In the Gutter
I still had a problem, the coins dropped on one side, but I wanted them on the other so I could access them via a small door and combo lock. I was thinking about the problem, explained it to my wife and she suggested I use a gutter. After some work, it is flawless. Coins drop down and show up in the bucket at the bottom.I've set the prices such that 10 cents is a credit, and a quarter will buy you three credits. Everything is set up for Monday, I cant wait to see it in action.