Portable Wireless MAME Controller
by steverleroux in Circuits > Wireless
27895 Views, 204 Favorites, 0 Comments
Portable Wireless MAME Controller
Description:
This project will allow you to fabricate a Portable Wireless MAME Controller. The MAME (Multiple Arcade Machine Emulator) box I used was a Raspberry Pi running Advanced Mame but any box supporting USB can be used.
The Idea:
Many years ago I made a upright MAME arcade cabinet with a personal computer and CRT monitor. It sat in my rec room and I loved it. Family and friends also played it when they came over. It was great but unfortunately it was quite large and took a lot of space. I sold it and miss it ever since.
I wanted to bring the retro gaming experience back in my rec room without the space requirements. I also wanted it to have the classic joystick and buttons. The idea of a small arcade cabinet came to mind but it still took too much space. A coffee table arcade was another idea but there again seemed too much of an investment. Then the idea of a portable arcade came to mind, but how to accomplish it and at low cost.
I've been playing with Raspberry Pi for a while. MAME on it was not new and worked well. It was very cost effective so the platform to run MAME on Raspberry Pi was decided. The problem now was how to add the classic joystick and button experience without taking much space. My first idea was a TV tray and I started to work on it. It was fairly small but 50% in the project I realized it was still too big and bulky, so I dumped it.
Like many people, we have a laptop and use a pad/tray when in bed or on the couch. Then it hit me, it's the perfect size, portable, light, and easy to put away. I put details to the idea, worked out the problems and made it happen.
Difficulty and Tools
Experience Level: Low to Moderate
Some level of experience with electronics and tools is expected.
Some drilling is required.
Some fine soldering is required.
Tools:
- Drill
- Soldering Iron
- Utility Knife
Materials
Materials:
- Arcade Joystick & Buttons (eBay)
- Wires (stripped ethernet cable works well)
- Laptop Pad/Tray (Nexxtech pad)
- Box (Plano Spoon Box)
- Wireless Keyboard (DX 94535)
- Battery Holder (DX 142708)
- On/Off Switch (DX 118179)
- Solder (0.4mm from DX 307662)
- Finish Washer (Canadian Tire 061-3187-2)
- Flat Head screws (Canadian Tire 061-7351-6)
- Black Paint (Home Depot 1000155364)
Options Materials:
- Large washers for Buttons (5) (Home Depot 1000138548)
- Fender washers (Canadian Tire 061-1762-4)
- Spray Adhesive (Home Depot 966600)
Laptop Pad/Tray
- Strip all backing from the pad. I used a bit of Goo Gone (with Gloves) to get the glue completely off.
- Once clean, put the Pad upside down on a large paper (like wrapping paper white side up).
- Trace out the Pad on the paper.
- Pencil in where you want your buttons and joystick. Take your time on this and make sure you leave enough space between the buttons.
- To ensure it fits in the box, place the box on top of the paper. Make sure your holes are within the box and 1 half inch from the edge.
- Cut out the paper outline of the pad and holes.
- Place paper outline on pad and mark center of holes.
- Drill out holes with the correct size of your buttons. I used a hole saw set.
- Place box under Pad and mark the holes.
- Drill out holes again like in step 8.
Background (optional Step)
If you plan to have a background like I did, follow these steps.
- Select your picture
- Have it printed slightly larger than the pad to allow of bit of play
- Place the picture on the table upside down
- Place pad upside down on picture
- Adjust position as desired and outline the outside edge and holes
- Cut out pad outline and holes
- Cut out an addition 1/2 from outside edge
- Have it laminated as thick as possible
- Cut out holes from the laminated picture
- Cut out outline 1/4 inch from edge of the picture
- Place on pad and make any additional cuts as required
- Glue the laminated picture on pad (Spray Adhesive)
- Use a soft cloth to rub the picture on the pad to ensure a good seal
- Leave enough time to set (as directed by the adhesive)
Joystick and Buttons
Keyboard
- Strip out the board from the wireless keyboard.
- Using the rubber grid, identify the location of the keys you will be using for your buttons. I used the standard keys used by MAME identified by ipaq.
- This is the hardest part, solder wires to the board.
How I did it:- Use a fine/pointy soldering iron bit
- Heat it and put a bit of solder at the end (very clean)
- Put a small drop of solder to the board key locations (takes only a few seconds) (no wire)
- Put a little solder on the wire ends (very clean and not much at all)
- Cut end of wire leaving only 2-3 mm
- Hold wire against the drop of solder on board
- Push soldering iron on wire (on a few seconds)
- Pull off the soldering iron but keep holding the wire until solder is cool
- Do this for each wire
Switches
- Put Joystick and button in assigned holes on the tray
- Attach other end of the wires to the switches for the buttons and joystick
- I recommend testing all connections before soldering the wires to the switches. You can use your computer to do this via "Windows on-screen keyboard" or WinIPAC v2in test mode or Keyboard tester.
- Once all looks good, solder the wires to the switches.
- I also added some hot-glue on top of the solder points of the board (optional).
Battery
- Solder the battery case wires to the board.
Finish Touches (Joystick screw heads)
- Paint finish washers with black paint
- Paint Flat Head screws with black paint
Video Demo
I plan to make a player 2 unit using the same steps. When I do, I will update this post.
Here's a few video:
Raspberry Pi
This article is about the classic controller setup but I thought I'd put in a blurb on where you can get info to put MAME on Raspberry Pi. I didn't use PiMame/PiPlay. I used Rasbian and compiled Mame on it. At the time I found it worked much better. That may not be the case today as PiMame/PiPlay is updated regularly.
What I did:
https://www.raspberrypi.org/forums/viewtopic.php?f...
+ a few tweaks like overclock, force hdmi, and added a splash screen.
Other links:
http://pimame.org/
http://blog.sheasilverman.com/pimame-raspberry-pi-..
https://www.raspberrypi.org/tag/mame/
http://www.edv-huber.com/index.php/problemloesunge...