Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Isha Mane, Swaraj Mane, Ayush Jaiswal, Vedant Indore, Saroj Desai
DOI Link: https://doi.org/10.22214/ijraset.2024.59676
Certificate: View Certificate
This paper introduces a multi-purpose tracking robot designed with Arduino, ultrasonic, infrared sensors, and motor drivers. The robot is capable of performing diverse tasks such as obstacle avoidance, line following, and object tracking. Its hardware comprises an Arduino Uno microcontroller, ultrasonic sensors for distance measurement, infrared sensors for line detection and obstacle avoidance, and motor drivers for controlling DC motors. The software, developed using Arduino IDE, includes algorithms for sensor data processing, decision-making logic, and motor control. By implementing PID control algorithms, the robot achieves enhanced stability and accuracy in navigation tasks like motor speed control and line following. Experimental results validate its effectiveness in various scenarios, showcasing its potential for advanced robotics and automation applications through intelligent sensor integration and control strategies.
I. INTRODUCTION
A Human-Following Robot is essentially a robot designed to follow and assist humans. The goal of this project is to create a robot that can accompany and collaborate with people, serving as running companions, carriers, or travel guides. The aim is to evolve robots from mere workers to friendly companions. The key focus lies in the interaction between humans and robots, which is a crucial aspect of the human-following capability.
The robot tracks a person within a specific range, employing human-following techniques commonly used in robots and autonomous vehicles. The pivotal factor in this context is the interaction between humans and the robot, facilitated by various sensors and programs ensuring the robot's proper functioning. In this paper, we explore a robot system that utilizes ultrasonic and infrared (IR) sensors for human following. Ultrasonic sensors are preferred due to their wide detection area, compact size, lightweight nature, low dependence on light, capability to detect shiny surfaces and glass, low memory usage, cost-effectiveness compared to laser detection devices or cameras, and low power consumption. These sensors, along with IR and other components, are mounted on a four-wheel robot platform.
II. LITERATURE REVIEW
The literature surrounding multi-purpose tracking robots utilizing Arduino, ultrasonic, infrared, ESP32, and motor drivers encompasses various key aspects of robotics and control systems.
Arduino-based robotic platforms have been extensively studied due to their ease of use, affordability, and wide range of compatible sensors and actuators. Researchers have explored integrating ultrasonic and infrared sensors into these platforms to enable obstacle avoidance, object tracking, and environmental mapping capabilities. These sensors provide crucial data for decision-making algorithms that govern the robot's navigation behaviour.
The emergence of ESP32 microcontrollers has further expanded the capabilities of robotic systems by offering dual-core processing, built-in wireless communication (Wi-Fi and Bluetooth), and support for advanced control algorithms. This makes ESP32 suitable for real-time data processing, communication with external devices, and coordination in multi-agent robotic systems.
Motor control is another critical aspect, and researchers have investigated different motor driver systems compatible with Arduino and ESP32 platforms. Techniques such as PID control algorithms are commonly employed to achieve precise motor control, which is essential for tasks like speed regulation, trajectory tracking, and maintaining stability during manoeuvres.
Integration and communication protocols play a vital role in multi-purpose tracking robots, enabling seamless interaction between different components such as sensors, microcontrollers, and actuators. Evaluating the performance of these systems involves assessing metrics such as accuracy, response time, energy efficiency, and scalability, providing insights into the effectiveness and applicability of the proposed designs in real-world scenarios.
Overall, the literature review reflects a growing interest in developing intelligent and versatile robotic platforms capable of handling diverse tasks in dynamic environments.
III. PROPOSED METHODOLOGY
A. Define Objectives and Requirements
The objectives and requirements for the development of a multi-purpose tracking robot using Arduino, ultrasonic, infrared, ESP32, and motor driver are crucial elements that guide the project's design and implementation. Functionally, the robot should possess capabilities such as obstacle avoidance, line following, and object tracking, with potential extensions for autonomous navigation or communication with external devices. Performance objectives must be clearly defined, including metrics like tracking accuracy, response time, speed control precision, and energy efficiency to ensure optimal functionality. Scalability objectives are also important to consider, determining whether the robot can accommodate future upgrades or additional features seamlessly.
Regarding hardware requirements, specific components such as an Arduino Uno or compatible board, ultrasonic and infrared sensors for environmental sensing, an ESP32 microcontroller for advanced processing and communication, motor drivers like an H-bridge for motor control, DC motors for locomotion, a sturdy chassis, wheels for mobility, and a reliable power supply are essential for the robot's construction. On the software side, tools like Arduino IDE and ESP-IDF for ESP32 programming, along with algorithms for sensor data processing (e.g., obstacle detection, line tracking
B. Research and Select Components and part List
Function: Ultrasonic sensors use sound waves to measure distance. They emit ultrasonic pulses and measure the time it takes for the waves to bounce back after hitting an object. This information helps the robot determine the distance to obstacles, enabling it to navigate and avoid collisions.
Application: Commonly used in robotics for obstacle avoidance and distance measurement.
2. Infrared (IR) Sensor
Function: Infrared sensors detect infrared radiation, typically emitted by objects due to their temperature. They are used for proximity sensing and obstacle detection.
Application: Widely employed in robotics for detecting nearby objects or obstacles.
3. Arduino R3
Function: The Arduino R3 is a microcontroller board that serves as the brain of the robot. It can process data from sensors, execute control algorithms, and manage the overall operation of the robot.
Application: Used as the central control unit in robotics projects due to its versatility and ease of programming.
4. Motor Driver L293D
Function: The L293D motor driver is an integrated circuit that controls the direction and speed of DC motors. It provides the necessary current and voltage to drive the motors.
Application: Essential for controlling the movement of motors in robotics, especially in applications like motorized wheels.
5. Servo Motor
Function: A servo motor is a rotary actuator that allows for precise control of angular position. It is commonly used to control the movement of robot arms, grippers, or other components.
Application: Used in robotics for precise and controlled movements, such as in robotic arms or for steering mechanisms.
6. Motor Gear
Function: Gears are used to transmit motion and change the speed or torque of the motor. They are crucial for optimizing the robot's movement and ensuring efficiency.
Application: Used in conjunction with motors to control the speed and torque required for specific robotic tasks.
7. Lithium Battery
Function: Lithium batteries provide a portable and rechargeable power source for the robot. They offer a high energy density, making them suitable for powering robotic systems.
Application: Used to supply electrical energy to the entire robot, enabling its mobility and functionality.
8. Bluetooth Module
Function: Bluetooth modules enable wireless communication between the robot and external devices, such as smartphones or tablets. This allows for remote control or data exchange.
Application: Used for remote control, data transfer, or communication between the robot and external devices.
C. Circuit Diagram And Its Working
2. Ultrasonic Sensor
3. Infrared (IR) Sensor
4. Motor Driver L293D
5. Servo Motor
6. Motor Gear
7. Lithium Battery
a. Arduino Uno Rev3
Arduino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator (CSTCE16M0V53-R0), a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. You can tinker with your Uno without worrying too much about doing something wrong, worst-case scenario you can replace the chip for a few dollars and start over again. “Uno" means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the reference versions of Arduino, now evolved to newer releases. The Uno board is the first in a series of USB Arduino boards, and the reference model for the Arduino platform; for an extensive list of current, past or outdated boards see the Arduino index of boards. Refer [Fig 2.1]
Tech specs
Microcontroller |
|
Operating Voltage |
5V |
Input Voltage (recommended) |
7-12V |
Input Voltage (limit) |
6-20V |
Digital I/O Pins |
14 (of which 6 provide PWM output) |
PWM Digital I/O Pins |
6 |
Analog Input Pins |
6 |
DC Current per I/O Pin |
20 mA |
DC Current for 3.3V Pin |
50 mA |
Flash Memory |
32 KB (ATmega328P) of which 0.5 KB used by bootloader |
SRAM |
2 KB (ATmega328P) |
EEPROM |
1 KB (ATmega328P) |
Clock Speed |
16 MHz |
LED_BUILTIN |
13 |
Length |
68.6 mm |
Width |
53.4 mm |
Weight |
25 g |
b. Arduino Nano
The Arduino Nano is a compact and versatile microcontroller board based on the ATmega328P microcontroller chip.
Here is a detailed overview of the Arduino Nano and its key features:
In summary, the Arduino Nano with the ATmega328P microcontroller is a versatile and compact development board suitable for a wide range of projects. Its small size, ample I/O capabilities, ease of programming, and compatibility with the Arduino ecosystem make it a popular choice among hobbyists, students, and professionals for prototyping and creating embedded systems.
D. Programming Software
The Arduino Integrated Development Environment (IDE) is the software platform used for programming Arduino microcontroller boards. It provides a user-friendly interface for writing, compiling, and uploading code to Arduino boards, making it accessible to beginners and experienced developers alike.
a. Here's an overview of the Arduino IDE
b. Features
Overall, the Arduino IDE serves as a versatile and user-friendly platform for programming Arduino microcontroller boards, enabling users to create a wide range of projects and applications in fields such as robotics, electronics, IoT, and more. Its simplicity, accessibility, and extensive feature set make it an ideal choice for both beginners and experienced developers alike.
2. Ultrasonic Sensor
The HC-SR04 is a popular ultrasonic sensor module used for distance measurement in robotics and electronic projects. Here's an overview of the HC-SR04 ultrasonic sensor:
Principle of Operation:
The HC-SR04 ultrasonic sensor works on the principle of sound waves. It emits high-frequency sound waves (ultrasonic pulses) from its transmitter and measures the time it takes for the sound waves to bounce off an object and return to the sensor (echo). By knowing the speed of sound in the air, the sensor can calculate the distance to the object based on the time it takes for the sound waves to travel to and from the object.
a. Key Components
b. Operating Principle
c. Specifications
Usage with Arduino - The HC-SR04 ultrasonic sensor can be easily interfaced with an Arduino or other microcontrollers. Arduino libraries are available to simplify programming, making it straightforward to incorporate distance sensing capabilities into Arduino projects.
Overall, the HC-SR04 ultrasonic sensor is a versatile and widely used component in the maker and robotics communities, providing reliable distance sensing capabilities for a variety of applications.
3. Motor Driver – L293D
The L293D is a popular motor driver IC (integrated circuit) used to control DC motors in robotics and other electronic projects. Here's an overview of the L293D motor driver:
a. Key Features
b. Pin Configuration
c. Working Principle
d. Usage with Arduino
The L293D can be easily interfaced with Arduino or other microcontrollers to control DC motors. By connecting the control pins (Input1, Input2, etc.) to Arduino digital output pins and using appropriate code, you can control the motor's direction and speed.
Overall, the L293D motor driver IC is a versatile and reliable component for controlling DC motors in various electronic and robotics projects. Its dual H-bridge configuration, high current handling capability, and built-in protection features make it a popular choice among hobbyists and professionals alike.
4. ESP 32 – WIFI & Bluetooth
The ESP32 is a powerful microcontroller module that combines Wi-Fi and Bluetooth connectivity with a dual-core processor, making it ideal for a wide range of IoT (Internet of Things) and embedded projects. Here are some key features and capabilities of the ESP32:
a. Wireless Connectivity
b. Dual-Core Processor
c. Rich Peripheral Set
d. Low Power Consumption
e. Programming and Development
f. Versatility and Applications
Overall, the ESP32 is a versatile and feature-rich microcontroller module that empowers developers to create innovative and connected IoT solutions with robust wireless connectivity, efficient processing power, and a rich set of peripherals. Its popularity stems from its affordability, ease of use, and wide community support, making it a preferred choice for IoT enthusiasts and professionals alike.
5. Infrared Sensor
Passive Infrared (PIR) sensors are motion detection sensors that detect infrared radiation emitted by objects within their field of view. Here's an overview of Passive Infrared (PIR) sensors:
Principle of Operation: - PIR sensors detect changes in the infrared radiation emitted by objects in their detection area. They do not emit infrared radiation themselves but instead passively detect changes in the infrared radiation emitted by objects in their field of view.
a. Key Components
b. Operating Principle
c. Applications
d. Usage with Arduino
PIR sensors can be easily interfaced with Arduino or other microcontrollers using digital input pins. Arduino libraries and example code are available to simplify programming for motion detection and related applications.
Overall, Passive Infrared (PIR) sensors are versatile and widely used in various applications for motion detection and occupancy sensing due to their simplicity, reliability, and effectiveness.
6. TT Motor Gear
TT motors, also known as TT gear motors, are a type of geared DC motor commonly used in robotics and electronics projects. Here's an overview of TT motors and their key features:
a. Key Features
b. Usage with Arduino
To control TT motors with Arduino or other microcontrollers, you typically need an H-bridge motor driver or motor controller. The motor driver allows you to control the motor's direction and speed by adjusting the voltage and polarity applied to the motor terminals.
Overall, TT motors are reliable and versatile components for motion control applications, offering a balance of torque, speed, and compactness suitable for a wide range of projects.
7. Servo Motor SG90
The SG90 is a popular model of servo motor used in various electronics and robotics projects. However, it's important to note that the SG90 is a limited-range servo motor and typically does not have a continuous 360-degree rotation capability. Instead, it is designed for angular motion within a specific range, usually around 180 degrees.
a. Here are the key features and characteristics of the SG90 servo motor
b. Key Features
c. Limitations
It's important to note that the SG90 servo motor, like most standard servo motors, is not designed for continuous rotation like DC motors or stepper motors. Attempting to rotate it continuously beyond its specified range can damage the motor and its internal gearing mechanism.
Overall, the SG90 servo motor is a versatile and cost-effective component for precise angular motion control in various small-scale projects and robotics applications within its specified angular range.
IV. ACKNOWLEDGMENT
We would like to express our appreciation to our mentors for their priceless advice. Special thanks to the open-source community for fostering collaboration and sharing invaluable insights. Appreciation goes to the Arduino team for their innovative platform. Important resources were provided by [VESP]. This endeavor is a collective effort, and the support from the community has been instrumental in shaping the journey of the Multi-Purpose Tracker Robot.
In conclusion, developing a multi-purpose tracking robot requires clear objectives and requirements. Functional goals like obstacle avoidance and object tracking, along with performance metrics such as accuracy and energy efficiency, guide its design. Scalability is crucial for future upgrades. Hardware like microcontrollers and sensors, coupled with software tools and algorithms, enable intelligent decision-making and precise control. This project demonstrates advanced robotics capabilities and the potential for creating adaptable systems for diverse applications in the future.
[1] https://store-usa.arduino.cc/products/arduino-uno-rev3 [2] https://store-usa.arduino.cc/products/arduino-uno-rev3 [3] https://www.adafruit.com/product/3942 [4] https://www.infratec.eu/sensor-division/service-support/glossary/infrared-sensor/#:~:text=An%20infrared%20sensor%20(IR%20sensor,systems%20to%20detect%20unwelcome%20guests. [5] https://www.ti.com/product/L293D [6] https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf [7] https://store.arduino.cc/products/arduino-nano [8] https://www.filotronix.com/dc-motor/616--tt-dc-gearbox-motor-.html [9] https://en.wikipedia.org/wiki/Servomotor#:~:text=A%20servomotor%20(or%20servo%20motor,a%20sensor%20for%20position%20feedback.
Copyright © 2024 Isha Mane, Swaraj Mane, Ayush Jaiswal, Vedant Indore, Saroj Desai. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET59676
Publish Date : 2024-03-31
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here