The goal of this tutorial is to create a controller that can be used to play the game K-Shoot Mania, a popular arcade rhythm game. To accomplish this goal we will be utilizing power tools to assemble the base of the controller, coding an arduino board to simulate the inputs of the buttons, and wiring to connect the buttons to the arduino. The final product will be a hollow box for room for wires , 7 buttons and two rotary encoders that work as input for the game, and a panel that opens to the inside of the box. The dimension of this tutorial will be however the dimensions of the box can be changed to be bigger or smaller depending on your preference.
This controller will feature 2 main parts of assembly:
1. The base of the controller or the box that houses the buttons and the wiring
2. Coding the arduino board and wiring the buttons
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Parts List
All the parts and products you will need:
- Arduino Leonardo
- Jumper wires
- Arcade buttons
- Rotary Encoders
- Rotary Knobs
- Wood or hard plastic for box assembly
- Crimp connectors (Female number 187 and 250)
- Arcade buttons
- Screws and bolts
- A computer or laptop for coding
Pricing may vary depending on quality of materials
You can purchase these on online stores like Amazon or Newegg and at some hardware stores
Range of pricing for materials will be 80-200
- A Electric Saw
- Basic power tool usage
Step 2: Box Assembley
For the box size, it may and will change depending on your preference of the controller size and size of the buttons and wiring of your controller. For the box in this tutorial the dimensions are 3.5 inches high, 8.3 inches long, and 7.5 inches wide.
First you want to sketch the layout of you box labeling measurements of the boxes height, width, and length. At the same time make sure to account for the space that the buttons and wiring will take up.
Next use the screws to attach the box together while keeping the bottom panel separate in order to make it removable to allow access to the wires.
Then drill holes on top of the box in order to install your buttons.
For coding use your arduino to have each button and rotary encoder to simulate a key press on a keyboard when pressed or used. You can do this by either coding your own code for each button or using an already existing code. An example of code can be located at the bottom of the instructable.
After coding your adruino you will need to wire each button and rotary encoder to its respective pin on the arduino leonardo. To wire the buttons you will need to crimp the jumper wires to crimp connectors. To wire the buttons input crimp a male wire to a crimp connector and connect the connector to the micro switch on the button. Also crimp a ground wire and attach it to each button. For the ground wire you will use a daisy loop style wire to use only one ground wire to each button.
Step 3: Finishing Touches
Finally secure the arduino leonardo onto the box and then attach the bottom panel of the box. To test the box plug the box into a computer or laptop and then test the buttons in notepad or some writing program. Each button and rotary knob should input its own letter on the keyboard. After that you are done.
Down here will be some links to other guides that may help clarify some specifics of the assembly.