Arduino Leonardo Game Controller for Quadriplegics
by nathan.huber in Circuits > Assistive Tech
146 Views, 0 Favorites, 0 Comments
Arduino Leonardo Game Controller for Quadriplegics
This is my Arduino Leonardo Game Controller for Quadriplegics. I designed a controller that could be conveniently used for those with more limitations on their body. I used a lot of different materials that con be commonly found in any household, and learned that by thinking a little bit outside of the box, human beings can do some really amazing stuff.
Supplies
-Four Alligator Clips
-Six Jumper Wires
-Perf Board
-Arduino Board https://store-usa.arduino.cc/products/arduino-leonardo-with-headers
-Makey Makey (simpler alternative to Perfboard/Arduino Board) https://makeymakey.com/products/makey-makey-kit
-Aluminum Pieces: https://www.vexrobotics.com/276-2161.html?q=&locale.name=English
-Cardboard
-Duct Tape
-Electrical Tape
-Paper Clips
-Box Knife
-Hot Glue Gun
-Solder
-Space Invaders Game File https://drive.google.com/file/d/1MeBsHzOGU_i1LT8d8twClrm3wSZzBiXr/view?usp=sharing
-"Moving Average Filter" https://drive.google.com/file/d/1_j6W6KgIKvhukxqEu386L25QWoQnn9It/view?usp=sharing
-Arduino Code https://drive.google.com/file/d/15ZiGDv8nJG8MOYSYQxIccDM4REYAnvhH/view?usp=sharing
Doing Circuit Board
The first step is wiring and soldering the circuit board. You need to connect jumper cables from the "G" port (that being the ground), 5V port, A0, A1, A2, and A3 ports. The 5V port is the power port, so connect that jumper to a wire that runs along all the resistors on the Perf Board. Connect each jumper going from the "A" ports to a resistor, and on the other end of each resistor, connect an alligator clip. Connect the ground jumper on the other side of the perf board, immediately connecting it to a different alligator clip, thus completing the circuit when connected to the controller.
Creating the Frame
Take two long pieces of the aluminum and connect them by grabbing another long piece of aluminum and screwing each end to each long piece of aluminum. You will notice throughout this whole thing I hardly ever use exact measurements, I have no clue why but it seemed more practical, so it may be tough to understand at times. At the top of the two long pieces, add a cardboard strip matching the length between the two pieces. Screw in the cardboard strip. Add another metal piece parallel to the first piece connecting the two big ones. Then cut a cardboard piece that sticks out an extra 3 inches on both sides lengthwise parallel to the frame and about half as tall. Screw that in. Cut two pieces of cardboard that are the same height as that piece of cardboard and about 2 1/2 inches in length. Hot glue those pieces to each side of the cardboard. Cut another piece of cardboard the same width as the big piece and the same length as the two other pieces you just cut, then hot glue it on top the two pieces, making it look like a roof kind of. Finally, add two pieces of duct tape like shown in the pictures. Feel free to add duct tape to any of the joints as well, for they may be a bit weak from just hot glue.
Making the Controller
Cut a piece of cardboard about 1.2 times the width of the frame and 4 inches in height. Cut two pieces of cardboard about 9 inches in length and three inches in height. Hot glue those pieces on top of the top cardboard piece of the frame, one on each end as shown in the picture. I'd recommend also putting some duct tape on to secure it more. Use some double sided tape to attach the Arduino and perf boards onto a 4x6 piece of cardboard. Hot glue that whole thing onto the middle of the same piece of cardboard that you just put the two pieces on. Make sure around half an inch of it sticks out forward. Now, with the first piece of cardboard you just cut, hot glue it like shown in the pictures to where the two ends match to each end of the two pieces you cut out on each end. Hot glue all joints together so it's as sturdy as possible.
Buttons and Wiring
Make three 4x3 cardboard pieces and wrap them in aluminum foil. You can add some electric tape like I did for some cool design. Next, cut some of the metal pieces into 4x3 pieces and wrap those in aluminum foil. Hot glue the metal pieces onto the cardboard, one being in the center, and the other two being on each end. Make some knobs out of aluminum foil and hot glue those onto the center of the metal pieces. Hot glue two paper clips on the other side of each piece on the large cardboard strip. Hot glue the cardboard pieces wrapped in aluminum foil onto the paper clips so, making it so the piece can touch the knobs you just added to the metal pieces. Add wire to the bottom of each metal piece, all leading to near the Arduino board. These will be the ground wires. Twist all the wires together and attach it to your ground clip. Then you're going to have to play a bit of a guessing game with the other clips, but make sure the back button is "shoot", the left button is "left", and the right button is "right"