Answers are grounded in this paper and cite their sources.
This work presents the development of a two-wheeled inverted pendulum robot, featuring automatic control for stabilization in an upright position. The prototype was built using an ESP32 microcontroller, an MPU6050 sensor, DC motors, and an L298N H-bridge. The system employs a proportional-integral-derivative (PID) controller, which adjusts motor actuation based on an inclination estimate derived from a complementary filter applied to data from an accelerometer and a gyroscope. The development process encompassed mechanical and electronic assembly, microcontroller programming, and the experimental tuning of control parameters. During testing without external support, the robot remained balanced, without falling, moving forward and backward as it corrected its tilt and returned to an equilibrium position. The results demonstrate the system's ability to maintain balance under the tested conditions, providing a practical application of concepts regarding sensors, actuators, and closed-loop control for the stabilization of an inherently unstable system.
No takes yet. Share an insight, caveat, or question.
Batista et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: