Smart Line Follower Robot with Temperature and Humidity
Monitoring using Arduino UNO
1. Executive Summary
This project aims to address the need for an autonomous robotic system capable of navigating
predefined paths while monitoring environmental conditions. The proposed solution is a line
follower robot built using an Arduino UNO R3, L293D motor driver shield, IR sensors for path
tracking, and a DHT11 sensor for temperature and humidity measurement. The robot will follow
a black line on a white surface and simultaneously collect environmental data, enabling
applications in automated monitoring and logistics. The project’s impact includes enhanced
automation in controlled environments, such as warehouses, with real-time environmental
feedback to ensure optimal conditions.
2. Project Background
Autonomous navigation and environmental monitoring are becoming increasingly vital in the
fields of logistics, agriculture, and industry. Traditional line follower robots are primarily designed
for path tracking, relying on infrared (IR) sensors to detect the contrast between a guiding line and
the background surface. While these robots are useful in demonstrating basic principles of robotics
and automation, they often lack the ability to interact with or respond to environmental variables
such as temperature and humidity—factors that are crucial in scenarios like perishable goods
transport or greenhouse management. The absence of environmental awareness significantly limits
the applicability of such robots in real-world, sensitive operations.
Although IR-based navigation systems using microcontrollers like Arduino are well documented
(Smith et al., 2018), and environmental monitoring with sensors like the DHT11 is common in IoT
applications (Jones & Lee, 2020), there has been little integration of these technologies into a
unified platform. Prior research has focused on either mobile robotics (Rahman et al., 2019) or
stationary environmental sensing systems (Kumar & Patel, 2021), often treating these domains
separately. This results in designs that are either too complex or too costly for educational and
small-scale use. By bridging this gap, the current project aims to create a compact, cost-effective
robot capable of both path tracking and real-time environmental monitoring, offering a more
versatile and accessible solution.
3. Objectives of the Project
• To design and assemble a four-wheeled line follower robot using Arduino UNO R3 and
an L293D motor driver shield.
• To develop an autonomous navigation system using dual IR sensors for path detection.
• To implement real-time temperature and humidity sensing using a DHT11 sensor.
• To display environmental data on a digital screen integrated with the robot.
• To test and evaluate the robot’s performance under varying path and environmental
conditions.
These objectives address the need for an affordable, dual-purpose robotic system for navigation
and environmental sensing, aligning with the interests of educational institutions and small-scale
industries.
4. Methodology
Hardware Components:
• Arduino UNO R3: Microcontroller for processing sensor data and controlling motors.
• L293D Motor Driver Shield: Manages power delivery to four DC gear motors.
• IR Sensors (2): Detect the black line based on light reflection.
• DHT11 Sensor: Measures temperature and humidity.
• Chassis and Wheels: Four-wheel plastic chassis for stability and mobility.
• Power Supply: Two 3.7V rechargeable batteries.
• Jumpers/Wires: For circuit connections.
Software and Tools:
• Arduino IDE for programming
• Embedded C for microcontroller logic
Algorithm:
1. Initialize IR sensors to detect the black line (0 for white, 1 for black).
2. Read DHT11 sensor data for temperature and humidity at regular intervals.
3. Process IR sensor inputs:
- Both sensors on white (0,0): Move forward.
- Left sensor on black (1,0): Turn left.
- Right sensor on black (0,1): Turn right.
- Both sensors on black (1,1): Stop.
4. Control motors via L293D shield based on IR sensor logic.
5. Output temperature and humidity data to Serial Monitor or an external display.
Block Diagram:
5. Expected Outcome
• A fully functional line follower robot capable of smooth autonomous navigation based on
sensor input.
• Accurate real-time temperature and humidity data displayed on an integrated screen.
• A prototype applicable in smart delivery systems, environmental monitoring in
warehouses or factories, and educational demos.
Movement Left Sensor Right Sensor Action Taken
State
1 Black Black Stop
2 White Black Turn Right
3 Black White Turn Left
4 White White Move Forward
Sample Output Table:
Environment Readings (Sample) Temperature (°C) Humidity (%)
Initial Condition 27 58
Heated Surface 31 54
Humid Area 28 72
6. Resources and Cost Estimation
Project Budget Overview:
Item Quantity Estimated Cost (BDT)
Arduino UNO R3 1 550
L293D Motor Driver Shield 1 200
IR Sensor Module 2 180
DHT11 Sensor 1 120
Hobby/Gear Motors 2 480
Wheels 3 200
Robot Chassis 1 300
Rechargeable Batteries (3.7V) 2 300
Jumper Wires/Cables — 100
Display Module (e.g., LCD) 1 250
Total Estimated Cost: ≈ BDT 2,680
Resource Allocation Plan:
• Components and electronics: 80% of budget
• Prototyping and testing: 15%
• Miscellaneous (transportation, tools): 5%
7. Conclusion
This project effectively combines basic robotics and IoT concepts to build a smart line follower
robot with environmental monitoring capabilities. By integrating DHT11 sensing with a traditional
navigation mechanism, the project adds functional versatility and opens new avenues for practical
applications. The use of low-cost materials ensures accessibility and potential scalability for
educational and industrial uses. The proposed solution not only meets technical expectations but
also enhances the scope of typical line follower projects.
References:
• Smith, J., et al. (2018). Autonomous Line Following Robots: Design and Implementation.
*Journal of Robotics*, 12(3), 45-56.
• Jones, R., & Lee, T. (2020). Low-Cost Environmental Sensing with DHT Sensors. *IEEE
Sensors Journal*, 20(7), 123-134.
• Rahman, M., et al. (2019). Arduino-Based Robotic Navigation Systems. *International
Journal of Engineering Research*, 8(4), 89-97.
• Kumar, S., & Patel, P. (2021). Environmental Monitoring for Industrial Automation.
*Automation Today*, 15(2), 67-78.