scieee AI-readable full text Open interactive document viewer

Design of a Mi-Autonomous Vehicle for Smart Mobility Solutions

Ojefia, Fega Eric; Aanuoluwapo, Abraham Arigbanla; Ikechukwu, Sunday; Adetunji, Elijah Oluwadara; Enodiana, Osahon Michael; Ekwonu, Felix Tochukwu

Abstract

Road accidents account for significant fatalities and injuries, underscoring the critical importance of transportation safety as many victims are left with life-long disabilities. A significant proportion of these road accidents are attributed to human errors and negligence, especially those caused by drunk drivers. Autonomous Vehicles (AV) technology also know has self-driving cars has potential to significantly improve the efficiency and safety of the transportation and logistics industry thereby reducing road accidents and decongesting roads by improving traffic flow. This project proposes the design, development, and evaluation of an Autonomous Vehicle (AV) prototype aimed at demonstrating the feasibility of low-cost, compact automation for indoor and controlled outdoor environments. The vehicle uses an ultrasonic sensor for real-time obstacle detection, with a microcontroller (ESP32)-based control system to execute navigation and collision avoidance maneuvers. A modular architecture was implemented, incorporating sensor data processing, path planning, and control algorithms to ensure responsive and adaptive vehicle behavior. Both simulation and field tests were conducted to validate system performance, with results indicating reliable obstacle detection, effective trajectory tracking, and robust control response under various operating conditions. The successful realization of this mini autonomous vehicle project not only underscores the potential of accessible, cost-effective autonomous systems but also provides a solid foundation for future enhancements and applications in small-scale robotics.

Full text

 Corresponding author: Fega Eric Ojefia Copyright © 2025 Author(s) retain the copyright of this article. This article is published under the terms of the Creative Commons Attribution Liscense 4.0. Design of a Mi-Autonomous Vehicle for Smart Mobility Solutions Fega Eric Ojefia 1, *, Abraham Arigbanla Aanuoluwapo 2, Sunday Ikechukwu 2, Elijah Oluwadara Adetunji 3, Osahon Michael Enodiana 1 and Felix Tochukwu Ekwonu 4 1 Department of Civil Engineering, Faculty of Engineering, University of Benin, Edo state, Nigeria. 2 Department of Mechatronics Engineering, Faculty of Engineering, University of Benin, Edo state, Nigeria. 3 Department of Civil Engineering, Faculty of Engineering, Federal University of Technology Akure, Ondo state, Nigeria. 4 Department of Mechanical Engineering, Faculty of Engineering, University of Benin, Edo State, Nigeria. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 Publication history: Received on 30 August 2025; revised on 04 October 2025; accepted on 06 October 2025 Article DOI: https://doi.org/10.30574/wjarr.2025.28.1.3443 Abstract Road accidents account for significant fatalities and injuries, underscoring the critical importance of transportation safety as many victims are left with life-long disabilities. A significant proportion of these road accidents are attributed to human errors and negligence, especially those caused by drunk drivers. Autonomous Vehicles (AV) technology also know has self-driving cars has potential to significantly improve the efficiency and safety of the transportation and logistics industry thereby reducing road accidents and decongesting roads by improving traffic flow. This project proposes the design, development, and evaluation of an Autonomous Vehicle (AV) prototype aimed at demonstrating the feasibility of low-cost, compact automation for indoor and controlled outdoor environments. The vehicle uses an ultrasonic sensor for real-time obstacle detection, with a microcontroller (ESP32)-based control system to execute navigation and collision avoidance maneuvers. A modular architecture was implemented, incorporating sensor data processing, path planning, and control algorithms to ensure responsive and adaptive vehicle behavior. Both simulation and field tests were conducted to validate system performance, with results indicating reliable obstacle detection, effective trajectory tracking, and robust control response under various operating conditions. The successful realization of this mini autonomous vehicle project not only underscores the potential of accessible, cost-effective autonomous systems but also provides a solid foundation for future enhancements and applications in small-scale robotics. Keywords: Autonomous Vehicles (Avs); Self-Driving Cars; Ultrasonic Sensors; Intelligent Transportation Systems; Robotics; Transportation Safety 1. Introduction Road transportation remains the most prevalent medium of mobility for the movement of people and goods due to its widespread availability and flexibility. However, it is also associated with significant challenges, including traffic jams, accidents, and poor road infrastructure (Alex et al., 2023; Barberi et al., 2022; Pappalardo et al., 2022). Every year, approximately 1.19 million deaths and a staggering 20-50 million more people suffer non-fatal injuries with many incurring a disability as a result of road traffic crashes. Several of these road accidents are attributed to human errors and negligence including fatigue, distraction, and impaired driving, and especially by drunkenness (World Health Organization, 2023). These challenges underscore the urgent need for a safer and more efficient transportation systems. One promising innovation that address these issues is the autonomous vehicle (AV) technology. Autonomous vehicles also known as self-driving cars are equipped with technologies that make them capable of sensing their environment, making decisions, and navigating without human intervention. This is a transformative technology with the potential to revolutionize transportation and improve road safety through substantial reduction in the number and severity of World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 435 accidents, reduced congestion, increased mobility for people with disabilities and the elderly (Zhang et al., 2019), reduced congestion, emissions, and efficient use of the infrastructure (Fagnant et al, 2015). AVs do not get distracted, fatigued, or impaired, which greatly reduces the likelihood of accidents compared to conventional vehicles. Modern AVs employ a range of technologies, including ultrasonic sensors, cameras, radar, and artificial intelligence algorithms, to detect obstacles, interpret road conditions, and make real-time driving decisions. Despite AV technologies potential to revolutionize the transportation sector, it still faces issues relating to safety and sustainability (Kalra and Paddock, 2016; Greenwald and Kornhauser, 2019). Nevertheless, ongoing research emphasizes the importance of developing and testing scaled prototypes to refine navigation, sensing, and control strategies. Many existing studies focus on large-scale AVs intended for deployment in real-world conditions. For research and educational purposes, scaled prototypes and miniaturized low-cost AVs provide a practical platform to study, demonstrate, and test the fundamental principles of autonomy without the prohibitive costs of full-scale systems. Such miniaturized AVs serve as experimental testbeds for obstacle avoidance, navigation, and system integration, making them valuable in both academic and industrial contexts. In this project, we present the design and development of a mini autonomous vehicle (AV) prototype that uses ultrasonic sensors for obstacle detection and avoidance. The project aims to demonstrate the feasibility of building a cost-effective AV system that can sense its environment, make simple navigational decisions, and operate with limited human input. The findings from this work highlight how scaled-down AVs can contribute to research, education, and future development in intelligent transportation systems. 2. Materials and methods 2.1. Hardware Implementation Several essential parts that work together to enable sensing, control, navigation, and mobility are integrated into the hardware implementation of the small autonomous vehicle. The primary components of the hardware include: • Microcontroller: Two microcontrollers were employed in this project: the ESP32 and the Arduino Uno R3. The ESP32 is a low-cost, low-power microcontroller with built-in Wi-Fi and Bluetooth capabilities, giving it internet connectivity capabilities, which is essential for this project. This connectivity enables the ESP32 to receive and process location data from both the mobile application and the GPS module. It is the main controller controlling the servo motor for ultrasonic scanning, and making navigation decisions such as obstacle avoidance and path correction. It then sends motor control instructions to the Arduino Uno, which serves as a secondary unit. The Uno, together with the L293D motor driver shield mounted on it, executes low-level motor actuation to drive the DC motors according to the ESP32’s commands. Figure 1 Image of an ESP32 (left) and Arduino uno R3 (right) microcontrollers • Motor Driver (L293D): The motor driver is important for controlling and managing how the motor operates. For this project, L293D motor driver was used. It is a 16-pin Motor Driver IC which can be used to control 4 DC motors simultaneously in any direction. For this project, it was used for controlling the speed and direction of the 4 DC motors used for driving the wheels of the vehicle. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 436 Figure 2 L293D Motor Driver (adapted from Az-Delivery, 2025) • Motors (DC Motors): The vehicle employs DC motors to provide motion. These motors are lightweight, efficient, and well-suited for small-scale robotic applications. For this project, 4 DC motors were used to control the drive and to control the steering of the vehicle. Figure 3 DC Motor (adapted from botland.store, 2025) • GPS Module: The GPS module is used to select the desired destination for the vehicle, and also to track the location its location. The NEO-6M GPS module was used in this project; it is a GPS receiver compatible with most microcontroller boards. It can get data about location, speed, altitude, and time. It has an external EEPROM, a tiny backup battery, and an LED signal indicator that will blink when it receives a position fix (Dejan, 2022). The NEO-6M GPS Module was connected using the ESP32 UART2 pins (TX/RX), the pin connection can be seen in the circuit design section below. The NEO-6M GPS Module communicates with the ESP32 microcontroller using serial communication protocol World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 437 Figure 4 NEO-6M GPS module (adapted from Arduino Forum, 2025) • Ultrasonic Sensor: Ultrasonic sensors emit short, high-frequency sound pulses at regular intervals, which move through the atmosphere at the speed of sound. The sensor uses the time difference between sending out the signal and receiving the echo to calculate the target's distance if the pulses strike an object and are reflected back to it as echo signals. With a range of up to 400cm (about an inch to 13 feet), for this project, the HC-SR04 ultrasonic sensor was used. Two ultrasonic transducers make up the sensor. Ultrasonic sound pulses are produced by a transmitter, and reflected waves are detected by a receiver. The sensor has four pins: VCC and GND connect to the L293D 5V and GND pins, while Trig and Echo connect to ESP32’s GPIO pin. The ultrasonic wave is sent from the transmitter using the Trig pin, and the reflected signal is listened for using the Echo pin. The distance is determined by taking into account the travel time and the speed of the sound generated by the module, which emits an ultrasound at 40,000 Hz that travels through the air and bounces back to the module if it encounters any obstacles or objects. Considering the travel time and the speed of the sound we can calculate the distance. By knowing the distance between the vehicle and an object, the microcontroller will be able to process this input and subsequently send a command to the motor driver in order to avoid collision with any obstacle. Figure 5 HC-SR04 Ultrasonic Sensor (adapted from Embe Tronicx, 2025) • Power Source: The system is powered by a rechargeable battery, which guarantees portability and uninterrupted operation. To meet the voltage needs of each component, a regulated power distribution was put in place. For this project, three 3.7v lithium-ion rechargeable batteries were used. This provides the power needed by the vehicle to operate properly. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 438 Figure 6 3.7v lithium-ion batteries (adapted from PKNERGY, 2025) Figure 7 SolidWorks design of the 4-wheel chassis used for the project • Chassis: This is the base frame of the car, which contains the wheels (4 wheels in this case), the other components/parts of the car are mounted on the chassis. A 4-wheel drive chassis was selected for improved stability and traction, with caster wheel for balance. Fig. 7 represents two images showing the design of a 4wheel chassis we made using solid works software. • Server Motor: The servo motor in this project was used to enable object detection by providing rotational movement for the ultrasonic sensor (HC-SR04). The sensor was mounted on the servo, allowing it to rotate within a specified angular range and scan the environment in multiple directions. This setup improved obstacle detection and navigation accuracy by expanding the sensor’s field of view. The servo was controlled using pulse-width modulation (PWM) signals from the microcontroller to adjust its position precisely during scanning. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 439 Figure 8 Sg90 Servo Motor (adapted from ElectronicsWings, 2025) • Wires and Connectors (Jumper Wires and Breadboard): These provide the necessary electrical connections between components. A breadboard was used during prototyping for flexible circuit testing and integration. • Other Components: Additional supporting components such as resistors, switches, and voltage regulators were included to ensure safe and reliable operation of the system. Figure 9 Image of our project (mini autonomous vehicle) 2.2. System Architecture The overall system architecture of the mini autonomous vehicle is organized into four main functional modules • GPS Navigation: The NEO-6M GPS module is used provide real-time location data in terms of latitude and longitude. This information is used by the ESP32 microcontroller to determine the vehicle’s current position and guide it toward the destination. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 440 • Obstacle Avoidance: An ultrasonic sensor (HC-SR04), mounted on a servo motor(Sg90), is employed to detect obstacles in the vehicle’s path. By scanning the environment, the sensor enables the system to make real-time decisions for collision avoidance. • Motor Control (Arduino Uno + L293D Shield): Because the L293D motor shield is designed to mount directly on the Arduino Uno, the Uno is used as the motor interface. It receives motion commands from the ESP32 via a serial connection and drives the four DC gear motors accordingly. • Microcontroller Unit: The system uses both an ESP32 and an Arduino Uno R3. The ESP32 functions as the central controller, handling GPS navigation, obstacle detection, and decision-making. The Arduino Uno receives navigation commands from the ESP32 after they have been determined. The Uno, equipped with the L293D motor driver shield, acts as the motor control unit, translating the ESP32’s commands into speed and direction signals that drive the four DC motors. 2.3. Block Diagram Description The system's block diagram shows how each module interacts with the others to achieve autonomous navigation. The ESP32 receives real-time location data from the GPS module, while the ultrasonic sensor on a servo motor provides obstacle distance data. Serving as the main controller, the ESP32 interprets this data, makes navigation decisions, and then communicates movement commands to the Arduino Uno. The Uno, integrated with the L293D motor driver shield, executes these commands by controlling the speed and direction of the four DC motors that drive the vehicle. A rechargeable battery supplies power to all components, ensuring uninterrupted and independent operation. Figure 10 System architecture block diagram 2.4. Circuit Design 2.4.1. Power • Battery pack → o Batt + → M+ on L293D shield (EXT_PWR screw terminal) o Batt - → GND (EXT_PWR screw terminal) 2.5. Arduino Uno + L293D Shield • Shield sits directly on the Arduino Uno (no wires needed for motor pins). • Motor connections: o M1 terminals → Top right DC motor o M2 terminals → Top left DC motor o M3 terminals → Bottom Left DC motor o M4 terminals → Bottom Right DC motor World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 441 2.6. Ultrasonic Sensor (HC-SR04) → Arduino Uno • VCC → 5V(L293D) • GND → GND(L293D) • TRIG → D13(ESP • ECHO → D12(ESP) 2.7. GPS Module → ESP32 • VCC → 3.3V (ESP32) • GND → GND • TX (GPS) → RX (ESP32 RX2) • RX (GPS) → TX (ESP32 TX2) 2.8. ESP32 ↔ Arduino Uno Communication • ESP32 TX0 → Arduino RX (D0) • ESP32 RX0 → Arduino TX (D1) 2.9. Servo Motor • 5V → 5V (L293D Servo1 header) • GND → (L293D Servo1 header) • PMW → D14(ESP32) Figure 11 Circuit Design 2.10. Software Implementation 2.10.1. System Requirement The Arduino IDE Served has the base for software development environment of the project. To ensure the proper functionality of the various models, the following libraries were required • Tiny GPS++: Used with the ESP32 to parse and analyze GPS data from the NEO-6M module. • ESP32Servo: Used to control SG90 servo motor that rotates the ultrasonic sensor for obstacle detection. • Wire/I²C (default in Arduino IDE): Required for communication between the ESP32 and Arduino Uno. World Journal of Advanced Research and Reviews, 2025, 28(01), 434-448 442 2.11. Writing the Code The Arduino IDE was used to program the system. Motor driving, obstacle detection, and GPS parsing were all managed by different modules. The Arduino Uno with the L293D shield oversaw motor execution, while the ESP32 acted as the main controller. • A simplified code structure is shown in the Appendix • Basic code outline of the bot(car) • #include <Tiny GPS++.h> • #include <HardwareSerial.h> • Tiny GPSP lus gps; • Hardware Serial gps Serial (1); • #define TRIG_PIN 4 • #define ECHO_PIN 5 • #define MOTOR1_IN1 26 • #define MOTOR1_IN2 27 • #define MOTOR2_IN3 14 • #define MOTOR2_IN4 12 • #define ENA 25 • #define ENB 33 • Void setup () { • Serial. Begin (115200); • gpsSerial.begin(9600, SERIAL_8N1, 16, 17); // RX, TX • pin Mode (TRIG_PIN, OUTPUT); • pin Mode (ECHO_PIN, INPUT); • pin Mode (MOTOR1_IN1, OUTPUT); • pin Mode (MOTOR1_IN2, OUTPUT); • pin Mode (MOTOR2_IN3, OUTPUT); • pin Mode (MOTOR2_IN4, OUTPUT); • pin Mode (ENA, OUTPUT); • pin Mode (ENB, OUTPUT); Void loop () { • While (gpsSerial.available() > 0) { • Gps.encode(gpsSerial.read()); • If (gps.location.is Updated ()) { • Serial.print(“Latitude: “); • Serial.println(gps.location.lat()); • Serial.print(“Longitude: “); • Serial.println(gps.location.lng()); } } } 2.12. Code outline for GPS and movement • #include <Wire.h> • #include <TinyGPS++.h> • #include <HardwareSerial.h> • #include <Servo.h> • #define trigPin 12 • #define echoPin 14 • #define servoPin 13 • #define motor1A 26