Dancing Segway

Coded mini Segway to respond to live music and autonomously dance a sequence. Team project with XInyu Bai and Saksorn Sespattanachai

Date: 2020
Main: MicroPython
Sub: MATLAB analysis

brief

Using MicroPython, creatively map processed music signals to a dance routine for a miniature Segway with a built in PyBoard. Additionally, be able to control the path of the Segway via an external device and implement a PID controller to allow the Segway to balance on two wheels.

outcomes

Through this project, we were able to learn to combine offline processing using MATLAB with real-time processing using MicroPython, in order to extract signal characteristics of music (in this case, Radioactive by Imagine Dragons) and analyse those in real-time to synchronise a pre-defined dance sequence. Particularly, we utilised embedded system concepts and techniques such as sampling, buffer, interrupts, scheduling.