MUSIC CONTROLLING GLOVE FOR DANCERS
by kkachikat in Circuits > Arduino
32 Views, 0 Favorites, 0 Comments
MUSIC CONTROLLING GLOVE FOR DANCERS
When you are dancing in a big practice room, isn't it so annoying to go and fetch your phone/laptop to control music?
I made a glove that you can wear while dancing and control the music playing in the place without breaking your focus mode.
https://www.youtube.com/shorts/NZ7UXoIQ6ZE?si=MVC4MjujsmFEzejL
Overall feature
One click: play/pause (works)
Two clicks: 5 Seconds Backward (future feature)
Three clicks: 5 Seconds Forward (future feature)
Supplies
ESP32-C3 Wi-Fi or Bluetooth already soldered (1)
Li-Po Battery (3.7V 200mAh) (1)
TP4056 Charging Module C TYPE (1)
Wrist Brace / Guard (1)
Breadboard (1)
Jumper Wires (4)
P5 JS
Arduino IDE
To build this project, you will need the following hardware components. The total estimated cost is around 11,820 KRW.
Assuming you already have this:
- Soldering Iron & Solder
- Micro USB-C Data Cable
- Multimeter (for voltage checking)
Soldering
Things to solder:
The end of the Lithium battery
TP4056 Charging Module
ESP32-C3
⚠️ Soldering Note: Special thanks to my dad for helping solder the sensitive lithium battery leads securely! Always double-check with a multimeter to ensure the voltage output sits steadily near 3.7V–4.2V before connecting it to the MCU to prevent short circuits.
Software & Interaction Logic
The architecture is divided into two parts: an Arduino firmware that broadcasts raw button states via Bluetooth Low Energy (BLE), and a p5.js web interface that decodes these wireless packets to update the audio timeline.
Put components on the breadboard
Arduino
Library --> Manage
Search and download
ESP32-C3 Dev Module & NimBLE-Arduino by h2zero
Copy the Arduino code and upload
P5.JS
Try the P5 JS code below. 1 button: play pause. You must upload a mp3 file on P5 Js.
It should look like this.
What Works and What Not Works
✅ Hardware Wiring: Correct breadboard layout for glove placement.
✅ WebSerial Connect: Successful port pairing between browser and chip.
✅ the lithium battery
❌ Double/Triple Click.
Double: 5 sec backward
Triple: 5 sec forward