<< Chapter < Page | Chapter >> Page > |
The LED drumsticks consist of a simple LED circuit mounted on narrow pipes. Instead of using a battery holder and a switch, we attached a pen flashlight to the circuit. The program also requires that one of the LEDs be red, and the other green. The circuit consisted of a super-bright LED, 9.11 ohm of resistance and a 3 V source. A lower resistance will make the LED brighter, making its detection better. Alternatively, the user can obtain LED sticks on the internet for $5 each. When the switch at the end of the flashlight is turned on, the LEDs will light up and serve as detection points of the drumsticks. The program stops running if you switch off the LED drum sticks.
The only limitation posed by the LED drumsticks is that they have to be used in a dimly lit area to be detected without errors.
Now that you have your drumsticks, you are all set on the hardware and need to implement the software!
Notification Switch
Would you like to follow the 'Tap that: a virtual drum kit' conversation and receive update notifications?