We wanted to build a device that would track a certain amount of jumps. A dial could display the amount of jumps that was made and once you have reached the goal the dial resets again
This tutorial could also be done with a piezo element.
Step 1: Arduino Jump Challenge
To build this circuit you will need
- An Arduino Uno
- A servo motor
- Dial and display
- 10K resistor
- Cable to connect arduino to computer
- Computer with Arduino software
Step 2: Check If the Button Works
First make sure you connected the circuit correctly. Place the button on the circuit board and connect a leg to the 3.3 volts, another leg to the 10k resistor which is connected to the ground and the final leg to digital pin 2. Place a LED in pin 13 and the other leg in the ground.
Upload the code and see if the light turns on when the button is pressed.
(Optional, there is an LED incorporated in the arduino so the LED could also be left out and the LED in the circuit board can be observed)
Step 3: Connect the Servo Motor
Servo motors come in different colored wires. Look up on the internet which colored wires match up with which functions.
The positive wire is connected to the 3.3V
The negative wire is connected to the groud
The signal wire is connected to pin 9
Step 4: Attach a Dial and a Display to the Servo Motor
We made a dial and a display out of cardboard and paper and attached them to the servo motor.
Step 5: Next Level
If we want we could improve this design even further we would like to add a board to jump on which registers the button being pressed or modify a shoe so the button can be placed inside the shoe. We would also like to improve the look of the dial and hide the arduino in an nice box/container.