Main Content

The goal of our project was to make a two wheel inverted pendulum (TWIP) robot dance to music. The most straightforward way to do this would be to record a set of commands that go well with a particular song and replay them in time with the music. However, we wanted to be able to adapt to different types of music.

Dance Videos In Order:
“Crab Rave” after finding the bpm using Matlab (tilting at 125 bpm)
“Dance of the Sugar Plum Fairy” by manually sending individual notes (tilting)
“Gymnopedie No. 1” using live MIDI (tilting)
“Dance of the Sugar Plum Fairy” using live MIDI (spinning)
“Macarena” (103 bpm found using Matlab) with 4/4 time signature path planning (tilting and spinning)

- The Elegoo Tumbller robot
- Arduino IDE
- Usb cable
- MIDI music files
- Non-MIDI music”

Link to article