I was searching about dance pad (DDR pad) online to buy it but I founded it so expensive, so I decided to search how to make it with Arduino. Although there are many videos about how to make a DDR pad with Arduino and computer, there aren't any for a DDR pad with Arduino and smartphone. So I decided to make this DDR pad with a smartphone.
Simply, project is connecting the pad to a smartphone through the Arduino and 1Sheeld.
The way this project works: open the 1Sheeld app on a smartphone, choose GLCD shield for display dance instructions (arrows) and music player shield for choosing music to play while dance, and follow the instructions of the dance by hitting the same arrows with your legs on the dance pad. That's all!
How to make this project:- The concept of how it work is very simple. When programming the Arduino pins (pull up), pins are always high (5 V), but the pins can go to low level (0 V) when touching ground. So, first take two cellophane papers: one fixed on face board (cellophane1) and another fixed on the back of dance panel piece (cellophane2). Place the foam on the face board, then place the piece of wood.
- The dancer will hit the dance pad arrows (the same arrows that display on smartphone screen). If the hit is the correct, the score will increase by one and the music will continue. If it is incorrect, it will pause the music for less than a second.
After getting the components, tools and material.
Laser Cutter Machine- In the design file, you will find all the designs (solidwork) and
Dxf
files that are acceptable for a laser cutter machine.
- The video explains the number and dimensions needed from the different sheets of wood.
- After cutting the wood, align the edges pieces onto the face board as shown in the images. I used a drill and screws to fix them.
- Cut the cellophane into 8 pieces of 110 x 110 mm. To cut the cellophane more easily, do so from the back and with paper as shown in the images.
- A foam sheet of 4 mm thickness or foam tape should be cut into 16 pieces, 30 x 100 mm.
- Paint the wood with black spray .
- Using a hot glue gun, fixed the foam onto the board (panel by panel) to pass the wires under the foam and make space for the cellophane pieces to put onto the board.
- Every panel will need four foam pieces (right, left, up and down).
- Don't worry about the color of foam in the images. the important point is that the foam be 4 mm thickness.
- fixed the foam in the center of each side by placing it 5 cm from the left and right as the images shown.
- Using a hot glue gun, fixing the four pieces of cellophane in the center of the panels onto the board. Another four pieces fixed onto the back of the dance panels also in the center.
- Connect the wires to the cellophane pieces as shown.
- Make the cellophane that are fixed onto the board connect to the common ground wire.
- Make every cellophane piece onto the back of the dance panels connect with a single wire.
- In the last panel, with drill make a hole to allow all the wires going out from under of the board (for a nice view).
- Once the wires are out, connect the wires with jumpers so that they can connect to the Arduino easier. Or you can skip this step and connect the wires directly to the Arduino if you don't want to solder the wires to jumpers.
- Use black tape to roll up the wires as image.
- The printable images are in the design file (Stickers).
- assemble and install the Box
- fixed it with a drill and screws onto the bottom of the board.
- Don't place the front and up side of box until you've uploaded the code and completed the wiring to the Arduino with jumpers.
Enter the wires through the hole on right side of box and wire the jumpers with the Arduino:
- Common ground for the cellophane pieces fixed onto the board
- Up panel (arrow) will be on pin 3
- Down panel (arrow) will be on pin 4
- Left panel (arrow) will be on pin 5
- Right panel (arrow) will be on pin 6
The direction for each arrow is shown here.
Adjust 1Sheeld:
- If you use an Arduino that works with 3.3 V like the Arduino Due, you must switch your 1Sheeld to operate on 3.3V as well, since it may otherwise damage your board. If you use an Arduino that works with 5 V like the Arduino Uno, then switch your 1Sheeld to operate on 5 V.
- Place your 1Sheeld on your Arduino board, then plug the Arduino to your laptop or PC.
Download the 1Sheeld application
- For Android smartphones, download the application from here.
- For iOS, smartphones download the application from here.
Download the 1Sheeld library to your computer
- Download the library from here.
- After you've successfully downloaded the library, add the library .ZIP file to your Arduino program.
Compile and Upload your sketch to your Arduino board
- Switch 1Sheeld to upload mode before uploading your sketch to the Arduino board to avoid conflicts between the 1Sheeld and Arduino.
- Upload mode is turned on when the UART switch is pushed away from the 1Sheeld logo.
- Then press the Upload button in the IDE and upload your code to Arduino.
- After you've completed your upload, you need to switch 1Sheeld back to the operating mode.
- You will be required to enter the pairing code (the default pairing code is 1234) and connect to 1Sheeld via Bluetooth.
Access Shields
- GLCD shield
- music player shield
Press on the multiple shields icon at the top right of the app.
Push the reset button on the Arduino to start the game. just for the first time
Comments
Please log in or sign up to comment.