A project-based design of a two-wheeled self balancing robot using PID controller

Basari, Amat Amir and Norman Zairi, Azuha Syuhada (2026) A project-based design of a two-wheeled self balancing robot using PID controller. International Journal of Research and Innovation in Social Science, X (V). pp. 4617-4623. ISSN 2454-6186

[img] Text
0079404062026108153267.pdf
Available under License Creative Commons Attribution.

Download (343kB)

Abstract

This project focuses on the design and development of a two-wheel self-balancing robot prototype controlled by a PID algorithm. The hardware setup includes an ESP32 microcontroller that processes orientation data from an MPU6050 sensor to manage the movement of NEMA17 stepper motors. A key feature of this system is its connectivity; sensor data is sent to the Blynk IoT platform, which allows for remote PID tuning and system adjustments without needing to modify the code manually. At the same time, the data is exported to MATLAB for a more technical and detailed analysis of the control response. By using a closed-loop control system, the robot can maintain its balance and follow a specific trajectory more effectively, even when faced with external disturbances or changes in the PID parameters. After testing the robot's performance under various settings, the results show a successful implementation of stable control. For future development, adding a camera system could expand the robot's capabilities to include surveillance and monitoring tasks.

Item Type: Article
Uncontrolled Keywords: PID controller, Self-balancing robot, ESP32, MPU6050 sensor, IoT monitoring
Divisions: Faculty Of Electronics And Computer Technology And Engineering
Depositing User: Sabariah Ismail
Date Deposited: 20 Jul 2026 08:09
Last Modified: 20 Jul 2026 08:09
URI: http://eprints.utem.edu.my/id/eprint/30142
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item