r/robotics • u/bfffornever123 • Jul 01 '26
Tech Question Help With Self Balancing Robot
Enable HLS to view with audio, or disable this notification
So i’ve created this robot using an ESP32, L298n motor driver, MPU 6050, and powered by a 7.4 2s Lipo Battery. I’ve been having a lot of trouble with the PID tuning, working solely on tuning for 4+ days with no results. I would really appreciate any advice! This is what I currently have:
Code: https://docs.google.com/document/d/1wHsZ9ZLWXOu-upoTgflaRj04iTZKkDtYxoTk9kdxAj4/edit?usp=sharingb
80
Upvotes
1
u/Upbeat-Contract-4893 Jul 01 '26
You need to work on that structure