Development of Proportional-Integral-Derivative Based Self-Balancing Robot Using ESP32 for STEM Education
Year: 2025
Type: conference-paper
Abstract: A STEM education provides students with a friendly and efficient environment for learning science, technology, engineering, and math. According to the needs of STEM programs and activities, humanoid, biped, and quadruped robots have been developed. Those robots are used as a learning tool supporting students in exploring the principles and theory of robotics and their related applications. In addition, those robots adapt open sources to provide free instructions for the students to build their own low-cost robots. To enhance the effects, a low-cost, two-wheel robot was created in this study. Unlike other robots, two-wheel robots usually require a gyroscope sensor and a motion controller to keep them balanced. The developed robot is an integrated system including hardware and software. Its hardware consists of an ESP32 microcontroller, a pair of DC motors, a gyroscope sensor MPU6050, and a driver for DC motors. The robot receives signals “angle” from the gyroscope, and then depends on the PID approach to drive the DC motors precisely in order to achieve balanced and smooth motions. The results of this study present the design of the robot, sensor calibration methods, and proportional-integral-derivative tuning.
Author: Cheng-Tiao Hsieh
Institution: Ming Chi University of Technology
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
SDG: Quality education
Open Access status: hybrid
OpenAlex ID: W4409898038
