Arduino Rhythm Game Controller (for My Own Game)

by mijkolsmith in Circuits > Arduino

1886 Views, 1 Favorites, 0 Comments

Arduino Rhythm Game Controller (for My Own Game)

81b1ab48-a11c-4f07-89c9-724c27e7beb0.jpg

In this instructable I will show you how I build this Rhythm Game Controller from scratch. It involves basic woodworking skills, basic 3d printing skills and basic soldering skills. You can probably build this project succesfully if you have zero experience in all of these. I personally did that, but I had some help for all of these skills.

Supplies

Arcade Buttons. Other than that, you need a potentiometer, a bunch of wires, a soldering iron & a glue gun, and a little industrial strength adhesive. Furthermore, you need a 12mm thick 50x50cm MDF board, a saw preferably in a wood workshop, a rotary cultivator and a 3d printer.

Ordering Stuff

For this project, you need to order an Arduino Uno and some other stuff. We're using Udity to link Arduino and Unity, so we don't need a HID. I used the buttons available via this link: https://www.aliexpress.com/item/32950078521.html?spm=2114.search0302.3.22.2d21a33cOihMym&ws_ab_test=searchweb0_0,searchweb201602_0,searchweb201603_0,ppcSwitch_0&algo_pvid=ef8d16d5-31a2-47f3-a398-86271412b37d&algo_expid=ef8d16d5-31a2-47f3-a398-86271412b37d-3 . These are probably the most important piece. Other than that, you need to look at the requirements.

3D Printing a Knob

knob.png
potentiometer_single_pin.jpg

This step is pretty simple; turn on a 3d printer and let it do it's work. If you want to put a different knob on a potentiometer, that is fine as well. This knob fits on a basic Arduino potentiometer (see image), and fits with the hole specified in the box.

Downloads

Assembly of the Box

afmetingen.png
c26960e1-9b87-4586-b1c3-b8b91ec499ef.jpg
86ee4e5a-cdeb-4163-95a7-d3d74828b38f.jpg
4faf056d-6a57-4789-b8f5-d81c97c64f5a.jpg

First off, making a wood box. Be careful of the image, these are the wrong numbers. You can make a custom size if you want to, though. I made a box with the measures of 374x166mm, and the height is dependant on the buttons you order. My buttons were 74mm high, so add 12mm (the wood at the bottom)= 86mm. You don't add the wood at the top because the button sticks out of the box there. The rest of the stuff should fit easily.

I recommend mitre-sawing the edges and glueing them together with wood glue. This makes for a strong box. You should look up what this means and follow a tutorial about it. Watch your hands though!

Build the Circuit

schm.png
Capture.PNG
2.PNG
f0cb32cf-827f-43d1-a03c-96e5a646247d.jpg

Now we're going to build the circuit using schematics. Firstly, the button layout. We're using the NC (Normally Closed) so the metal under the NO (Normally Open). Next, you solder everything together. This seems like a short step, but it'll take a while. You can also a glue gun to cover open metal. I also recommend glue gunning the potentiometer on the inside of the case. This worked well for me.

Programming

You've got 2 options: Go programming yourself, or play my game. You can also work up from my framework.

Otherwise, Install the Arduino IDE and Unity, and find Ardity on https://ardity.dwilches.com/ . Good luck from there!

Because instructables doesn't like my files, you can find them on google drive here:

https://drive.google.com/open?id=1MeF5S-gHtkIjhynY...

https://drive.google.com/file/d/1Zif94Wc_vnZBMuwUk...

Play!

You have completed the instructable, now you can go play with it. If you've got any suggestions or questions, you can mail mijkolsmith@live.com .