top of page
Self-Balancing Dancing Segway Bot
ezgif.com-optimize.gif

This little robot balances like a Segway and dances like Elvis! Balancing was accomplished by controlling the yaw position of the robot with PID and music-following with an energy-based beat detection algorithm. 

Mechanism
Screenshot_21.png
Screenshot_4.png

The robot was powered by a rather large 12V drone battery stuck underneath the computer. All programming were done on an empty pyboard in micropython.

A PID controller was programmed using the IMU input, as well as a quick Kp/Ki/Kd and zero point adjusting program that utilizes a potentiometer knob and the LED display.

Click to download the program

Enjoy xD

© 2017 by DANIEL YIN

  • WeChat
  • LinkedIn
  • Facebook
bottom of page