Getting a robot to stand on two wheels without tipping over involves a challenging dance with the laws of physics.
An Arduino Uno takes this data, runs it through a PID loop, and commands an L298N motor driver to adjust the speed and direction of two DC motors. The power comes from two Li-ion batteries feeding ...