Boomboom Balancino Bot (BBB): Gyro-Stabilized Straight-Line Robot Using Mpu6050 Feedback Control
Authors
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Computer Engineering Department, Eulogio "Amang" Rodriguez Institute of Science and Technology, Nagtahan, Sampaloc, Manila (Philippines)
Article Information
DOI: 10.51244/IJRSI.2026.13010025
Subject Category: Engineering
Volume/Issue: 13/1 | Page No: 274-286
Publication Timeline
Submitted: 2026-01-07
Accepted: 2026-01-09
Published: 2026-01-23
Abstract
This project presents the design and implementation of a BBB (BoomboomBalancinoBot) gyro-stabilized straight-line mobile robot that demonstrates the core principles of feedback and control systems using low-cost embedded hardware. The system uses an ESP32-C3 microcontroller, an MPU6050 inertial sensor, and a TB6612FNG motor driver to control a two-wheel differential-drive robot with a rear caster wheel. The robot estimates its yaw (heading) by integrating the MPU6050’s gyroscope Z-axis readings, then applies a closed-loop PID controller to minimize heading error by adjusting left and right motor speeds. A web-based interface allows users to command motion and switch between open-loop (feedback OFF) and closed-loop (feedback ON) operation, enabling clear demonstration of drift versus automatic correction under disturbances such as wheel slip or external pushing. The project highlights how real-time sensor feedback improves stability and accuracy in mobile robot navigation, closely relating to heading-hold control used in autopilot and course-keeping systems.
Keywords
Feedback Control, PID Controller, MPU6050 Gyroscope, Heading Hold
Downloads
References
1. Borkar, K. K., Aljrees, T., Pandey, S. K., Kumar, A., Singh, M. K., Sinha, A., Singh, K. U., & Sharma, V. (2023). Stability Analysis and Navigational Techniques of Wheeled Mobile Robot: A Review. Processes, 11(12), 3302. https://doi.org/10.3390/pr11123302 https://rjpn.org/ijcspub/papers/IJCSP25C1052.pdf [Google Scholar] [Crossref]
2. Villalobos-Aranda, C., Pliego-Jiménez, J., Montañez-Molina, C., & Arellano-Delgado, A. (2024). An Almost Global Trajectory Tracking Controller for Differential-drive Wheeled Mobile Robots. International Journal of Control, Automation and Systems, 22, 3684–3693. https://doi.org/10.1007/s12555-024-0218-4https://doi.org/10.13140/RG.2.2.22102.98886 [Google Scholar] [Crossref]
3. Xu, L., Du, J., Song, B., & Cao, M. (2022). A combined backstepping and fractional-order PID controller to trajectory tracking of mobile robots. Systems Science & Control Engineering, 10(1), 134–141. https://doi.org/10.1080/21642583.2022.2047125https://doi.org/10.1088/1742-6596/1402/4/044021 [Google Scholar] [Crossref]
4. Zheng, T., Xu, A., Xu, X., & Liu, M. (2023). Modeling and Compensation of Inertial Sensor Errors in Measurement Systems. Electronics, 12(11), 2458. https://doi.org/10.3390/electronics12112458https://doi.org/10.59247/csol.v2i2.150 [Google Scholar] [Crossref]
5. Pimpalkar, S. (2024). Enhancing Robotic Localization with IMUs: A Fundamental Technology for Precise Navigation. Analog Dialogue, 58 (August 2024). https://www.analog.com/en/resources/analog-dialogue/articles/robotic-localization-with-imus.htmlhttps://labs.dese.iisc.ac.in/embeddedlab/two-wheel-self-balancing-line-tracker-bot/ [Google Scholar] [Crossref]
6. Rajendran, J., Dhanasekharan, K., Subburaj, N., Thi Mai, N., Kamal, M. A. S., & Prapan, S. (2025). Development of Proportional-Integral-Derivative Based Self-Balancing Robot Using ESP32 for STEM Education. Engineering Proceedings, 92(1), 24. https://doi.org/10.3390/engproc2025092024https://thesai.org/Downloads/Volume16No10/Paper_88-Experimental_Validation_of_an_Adaptive_Controller_for_a_Mecanum_Wheel_Robot.pdf [Google Scholar] [Crossref]
7. Loganathan, A., & Ahmad, N. S. (2023). A systematic review on recent advances in autonomous mobile robot navigation. Engineering Science and Technology, an International Journal, 40, 101343. https://doi.org/10.1016/j.jestch.2023.101343https://globaljournals.org/GJRE_Volume14/1-Kinematics-Localization-and-Control.pdf [Google Scholar] [Crossref]
8. Seo, D., & Kang, J. (2025). Controller Design for Active Four-wheel Steering and Four-wheel Independent Drive-based Mobile Robot: Enhancing Cornering Performance in Negative Phase. International Journal of Control, Automation and Systems, 23, 235–248. https://doi.org/10.1007/s12555-024-0631-8https://www.ijert.org/design-and-control-for-differential-drive-mobile-robot [Google Scholar] [Crossref]
9. Malu, S. K., & Majumdar, J. (2024). Kinematics, Localization and Control of Mobile Robots. Global Journal of Researches in Engineering. https://www.gjrest.org/GJRE_Volume14/1-Kinematics-Localization-and-Control.pdfhttps://icmas.eu/Journal_archive_files/Vol_15-Issue1-2020-PDF/27-34_MAROSAN.pdf [Google Scholar] [Crossref]
10. Hirpo, B. D., & Zhongmin, W. (2017). Design and Control for Differential Drive Mobile Robot. International Journal of Engineering Research & Technology. https://www.ijert.org/design-and-control-for-differential-drive-mobile-robot [Google Scholar] [Crossref]
11. Espressif Systems. (2023). ESP32-C3 Series Datasheet. https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf [Google Scholar] [Crossref]
Metrics
Views & Downloads
Similar Articles
- An Adaptive Joint Filtering Approach to Wireless Relay Network for Transmission Rate Maximization
- IoT-Integrated Mercury Substance Detection System for Cosmetic Product Safety
- Design and Implementation of Solar PV-Based Railway Microgrid for Linke Hofmann Busch Coaches
- Cost Control Techniques on Civil Engineering Projects in Oyo State, Nigeria
- Strength and Predictive Modeling of Corn Cob Ash Blended Concrete Using Multi-Output Artificial Neural Network Approach