This video is part 1 of a video series where I am building a balancing robot. It is done using an Arduino, a 3D printed frame, and some electronics.
In this part I write the PID-controller which controls the speed of the motor. This is to hopefully achieve better precision when setting the speed of the motors compared to normal PWM control.