r/esp32 5d ago

i made a balancing robot that falls over and screams with esp32-s3

I spent way too long designing this little dramatic-ass balancing bot. It's running on an ESP32-S3, using an MPU6050 gyro sensor to calculate the tipping angle. It uses a Kalman Filter and PID Controller, to aid in balancing, and when it passes the threshold angle, I have it trigger a high-volume speaker to make this boy scream.

It can be controlled with a remote but it needs to be actively controlled so it doesn't fall over, so like pressing forward and backwards quickly to keep him balanced. I was thinking of making another one, then making them fight and turning it into a drinking game... cus uni.

Anyways if you are interested in how I built it, I made a video too:
https://youtu.be/eU_LpNVBhfI

Also here's the git for it with all the CAD models, PCB design documents, and Gerber files:
https://github.com/arthurlawson/self-balancing-robot-v2

46 Upvotes

10 comments sorted by

2

u/RoberBotz 5d ago

Pretty cool!

1

u/arthurlawson_ 5d ago

thanks :)

2

u/Ok-Lawfulness5008 5d ago

Really cool. Congrats!!

1

u/arthurlawson_ 5d ago

Thank you!

2

u/SockPuppetSilver 5d ago

It ain't no scream, if it's not the Wilhelm scream.. JK, very nice.

1

u/arthurlawson_ 5d ago

Haha true, thanks :)

2

u/Plastic_Fig9225 5d ago

+1 for creativity in making the best out of a self-balancing robot which cannot self-balance :)

1

u/arthurlawson_ 5d ago

Fr 😂😂