Self balancing Robot is built by Arduino and some other libary and glued on using acrylics.
using a 2 DC motor and motor driver and using Arduino as a brain, and we have a gyroscope MPU6050 that use as a sensor to balancing the robot. we use PID method for balancing the robot
Using Arduino permalink
At first i built using Arduino and using some high level library, and having so many tutorial from the internet, because the arduino is only for prototyping. you can check the working arduino code in here
Using the STM32 permalink
and for production, we use the STM32 with HAL library and using PID with complimentary filter for balancing it out. the working project code is here
What i've learn permalink
- Learning how to control motor driver using arduino
- Learning how to using PID and how to calibrate them
- learning how to use a gyroscope sensor
- learning how to use settings and use the STM32 and HAL library
- learning how to use complimentary Filter with PID