1
An Alternate Assessment on
“LIGHT FOLLOWING ROBOT”
submitted for the partial fulfilment of the requirements of the subject,
ROBOTICS AND AUTOMATION
(Subject Code: 24ETC251)
Submitted by:
Student1 AVANI KRISHNA N16
Student2 E NEHA GOWD N31
Student3 G POORVI SAI N33
Student4 GOPIKA GOPAKUMAR N38
[Students of First Year, Second Semester, Section-N, DATA SCIENCE]
Submitted to:
Prof. Raghu Tilak Reddy M
Senior Assistant Professor, Department of Mechanical Engineering
Announcement Date: 2.06.2025 Submission Date: 9.06.2025
DEPARTMENT OF APPLIED SCIENCE
DEPARTMENT OF MECHANICAL ENGINEERING
1
2
TABLE OF CONTENTS
INTRODUCTION
OBJECTIVE
BREIF OVERVIEW OF LIGHT FOLLOWING
ROBOTS
SPECIFIC FEATURES AND LIMITATIONS
WORKING PRINCIPLE
DESIGN AND METHODOLOGY
CONSTRUCTION
OBSERVATIONS
IMPROVEMENT
POTENTIAL APPLICATIONS
CONCLUSION
2
3
INTRODUCTION
A Light Following Robot is a type of autonomous mobile robot that
is programmed or designed to detect light and move toward its
source. This robot uses light sensors—typically Light Dependent
Resistors (LDRs)—to sense the intensity of light in its
surroundings. Based on this input, it makes decisions and adjusts
its movement accordingly. Light following robots are also known
as phototropic robots, as they replicate a behaviour seen in some
natural organisms, particularly insects, which tend to move toward
or away from light sources. This behaviour is scientifically known
as phototaxis. In this case, the robot demonstrates positive
phototaxis, meaning it moves toward the light.
The basic concept of a light following robot is centred around
environmental interaction using sensors. The robot’s ability to
perceive and respond to changes in light intensity gives it a sense
of awareness, although in a very limited and mechanical way. The
key components of such a robot usually include a chassis (the
body of the robot), two wheels attached to DC motors for
movement, LDRs to sense light, a microcontroller (such as
Arduino, Raspberry Pi, or any other controller) to process sensor
3
4
data and control the motors, and a power source (usually a
rechargeable battery). When these elements are combined
effectively, they form a complete system capable of sensing and
reacting to light.
In operation, the robot compares the input signals from its left and
right light sensors. If the left LDR receives more light than the right
one, the robot turns to the left. If the right LDR receives more
light, the robot turns right When both LDRs receive equal light, the
robot moves straight forward. This simple logic enables the robot
to follow a beam of light or move toward a brighter area. The real
magic lies in the feedback loop between the sensor input and
motor response, which allows the robot to behave as if it is making
intelligent decisions.
One of the main purposes of developing a light following robot is
to introduce students and hobbyists to the fundamentals of
robotics. This project is a popular choice for beginners because it
involves basic mechanical assembly, simple circuit design, and
introductory programming. It provides hands-on experience with
essential concepts such as input-output interfacing, sensor
calibration, motor control, and environmental interaction.
Despite its simplicity, this robot teaches some of the most critical
principles of robotics and electronics, making it an ideal learning
tool.
Furthermore, the light following robot serves as a stepping stone
to more advanced robotic systems. It demonstrates how a robot
can be designed to react to stimuli in its surroundings—an
essential feature in autonomous systems. In real-world
applications, this concept can be extended to build robots that
follow other types of signals, such as heat, sound, or specific
colours. It can also be adapted for more complex tasks such as
solar tracking, where solar panels are moved to face the direction
of maximum sunlight using similar sensor-based logic.
4
5
OBJECTIVE
The main objective of the Light Following Robot project is to design and develop a
robot that can detect and follow a light source using light sensors and simple
control logic. The robot should be able to sense the intensity of light from different
directions and move toward the brightest source automatically. This behaviour is
inspired by the natural response of some living organisms like moths and fireflies,
which exhibit positive phototaxis, i.e., movement toward light.
This project aims to give students and beginners practical exposure to basic
robotics concepts such as sensor integration, motor control, and autonomous
navigation. It helps bridge the gap between theoretical knowledge and real-world
application by using simple electronic components and programming to achieve
intelligent behaviour. Through this project, learners get the chance to work hands-
on with circuits, code, and mechanical design in a fun and educational way.
The Light Following Robot project not only enhances understanding of robotics but
also builds a foundation for more advanced robotics and automation systems. It
encourages logical thinking, creativity, and system design skills, making it an
excellent learning platform for engineering and science students.
Specific Objectives:
✅ To design and build a robot that can detect and follow a light source
autonomously.
✅ To understand the working of Light Dependent Resistors (LDRs) and how
they can be used as input sensors.
✅ To implement a basic decision-making algorithm using sensor input to
control motor movement.
✅ To integrate hardware components such as sensors, motors, wheels, and
power supply on a chassis.
5
6
✅ To program a microcontroller (like Arduino) for reading sensor data and
controlling the robot’s direction.
✅ To learn the fundamentals of autonomous robots and how they interact
with their environment.
✅ To develop problem-solving skills by debugging and improving the
robot's performance.
✅ To prepare for future advanced projects like obstacle-avoiding robots,
line-following robots, and solar trackers.
6
7
BASIC OVERVIEW OF LIGHT FOLOWING
ROBOT
A Line Following Robot is an autonomous machine designed to
follow a pre-defined path marked on the floor, usually in the form
of a black line on a white background or a white line on a dark
surface. It operates based on the simple principle of light
reflectance and sensor feedback. The robot continuously detects
the line using sensors and makes decisions to adjust its movement
so that it stays aligned with the path.
Basic Operation
The robot typically uses Infrared (IR) sensors to detect the line.
These sensors consist of an IR LED and a photodiode. When the IR
light hits a surface:
7
8
A white surface reflects more IR light back to the sensor.
A black line absorbs most of the light, reflecting very little
back.
The difference in reflectance helps the robot understand whether it
is over the line or off-track. Based on this, it adjusts the speed and
direction of its motors to stay on the path.
Working Process
1. Sensor Placement: Two or more IR sensors are mounted at
the front bottom of the robot—usually spaced out so one can
detect the left side of the line and the other the right.
2. Signal Detection: As the robot moves forward, each sensor
constantly checks the surface beneath it:
o If both sensors detect white (high reflection), the robot
moves forward.
o If the left sensor detects black (low reflection), the robot
turns slightly left.
o If the right sensor detects black, the robot turns slightly
right.
o If both sensors detect black, the robot might be at a
sharp turn or stop point.
3. Motor Control: The data from the sensors is sent to a
microcontroller (such as Arduino). The microcontroller
processes this data in real-time and sends signals to the DC
motors or motor driver circuit to control the wheel speed
and direction.
4. Continuous Feedback Loop: This process repeats many
times per second, forming a feedback loop where the robot
senses, decides, and reacts continuously. This allows the
robot to smoothly follow curves, straight paths, and
intersections.
8
9
Key Components Involved:
IR Sensors – For line detection
Microcontroller (Arduino, etc.) – For decision making
Motor Driver Module (e.g., L293D) – For controlling
motors
DC Motors – For movement
Chassis and Wheels – For structure and mobility
Battery – For power supply
LIGHT SENSOR MICROCONTROLLER
9
10
MOTOR DRIVE BATTERY
CHASSIS
10
11
SPECIFIC FEATURES
1.Light Detection Capability
• Phototropic Behavior: Can detect and move toward the brightest light source.
• Multiple Sensors: Typically uses 2–4 Light Dependent Resistors (LDRs) or
photodiodes for directional sensing.
• Real-Time Monitoring: Continuously monitors light intensity from different
directions.
2. Autonomous Navigation
• Self-Controlled Motion: No human input required; robot moves automatically.
• Directional Movement: Turns left, right, or moves forward based on light sensor
data.
3. Microcontroller-Based Intelligence
• Sensor Data Processing: Uses a microcontroller (e.g., Arduino, Raspberry Pi) to
11
12
interpret sensor values.
• Decision-Making Logic: Selects path by comparing light intensities and executing
appropriate motor actions.
4.Motor Control System
• Bidirectional Motion: Can turn or go straight using differential motor speeds.
• PWM Support: Speed control through Pulse Width Modulation (PWM) signals.
• Motor Driver Integration: Uses H-Bridge IC (like L298N) to handle motor current
and voltage safely.
5.Energy Efficiency
• Battery-Powered: Runs on rechargeable battery packs (Li-ion or NiMH).
• Low Power Sensors: LDRs consume minimal power.
6.Simple Mechanical Construction
• Lightweight Chassis: Usually made from acrylic, aluminum, or plastic for easy
mobility.
• 2WD or 3WD Design: Typically two powered wheels with one or two passive
casters.
7. Expandable Design
• Modular Hardware: Can be upgraded with additional sensors like ultrasonic for
obstacle avoidance.
• Code Scalability: Simple control logic allows for further enhancement (e.g.,
combining with line-following logic or remote control).
8. Educational and Demonstrative
• STEM Project Friendly: Ideal for learning sensors, robotics, and embedded
systems.
• Visual Feedback (Optional): LEDs or displays can indicate which sensor is
currently active.
LIMITATIONS
12
13
1.Limited Environmental Awareness
Light-following robots rely heavily on light intensity to make navigation decisions.
This means they lack the ability to recognize or respond to other environmental
factors such as obstacles, terrain type, or dangerous paths. Without additional
sensors, the robot may collide with objects or fall off edges.
2. Poor Performance in Varying Light Conditions
These robots are highly sensitive to ambient lighting. In environments with
multiple light sources or changing light conditions (e.g., shadows, sunlight, or
artificial lights), the robot may become confused or behave unpredictably. It
cannot easily distinguish between the target light and background illumination.
3. Lack of Complex Decision-Making
Light-following robots typically use simple algorithms to turn toward the brighter
side based on sensor input. They do not have advanced decision-making
capabilities such as path planning, memory of past actions, or goal prioritization.
This makes them unsuitable for tasks that require complex logic.
4.Short Operating Range
The robot's functionality is limited to the range at which it can detect and
differentiate light intensities. If the light source is too far or obstructed, the robot
may stop or wander aimlessly. The effectiveness is significantly reduced in large or
outdoor areas.
5.Energy Inefficiency
Light-following robots may constantly move or adjust their direction to follow even
slight changes in light position. This leads to inefficient energy use, especially if
powered by batteries, thereby limiting their operational time without frequent
recharging.
6. Low Payload Capacity
Most light-following robots are small, hobby-grade platforms with limited
structural strength. They cannot carry heavy components or perform physically
demanding tasks, limiting their usefulness in industrial or service applications.
13
14
WORKING PRINCIPLE OF LIGHT
FOLLOWING ROBOT
The light-following robot operates on the principle of phototropism, which means
it moves in the direction of the strongest light source. Here's a detailed step-by-
step explanation of how it works:
1. Light Detection
• The robot uses Light Dependent Resistors (LDRs) or photodiodes to sense light.
• LDRs change their resistance based on the light intensity:
• More light → lower resistance → higher voltage at analog input.
• Less light → higher resistance → lower voltage.
2. Sensor Comparison
• At least two LDRs (typically left and right) are mounted at the front of the robot.
• The microcontroller (e.g., Arduino) continuously reads the analog values from
these sensors.
• It compares the readings to determine which direction has more light
3.Decision Making
• If the left sensor detects more light than the right:
• The robot turns left by either:
• Slowing or stopping the left motor and moving the right motor forward.
• If the right sensor detects more light:
• The robot turns right by adjusting motor speeds accordingly.
• If both sensors detect equal or similar light:
• The robot moves forward.
4. Motor Control
• Based on sensor data, the microcontroller sends control signals (often using
PWM) to a motor driver (e.g., L298N).
• The motor driver activates the DC motors or gear motors to move the wheels.
• This motion continues to adjust as the robot constantly senses the light
environment.
5. Continuous Feedback Loop
• The process runs in a loop:
• Sense light.
• Compare values.
14
15
• Make decision.
• Move accordingly.
• This loop allows the robot to continuously follow a moving light source in real-
time.
The robot senses light intensity from different directions using LDRs, compares the
readings, and moves toward the brighter side by adjusting the motor speeds. This
cycle repeats continuously, allowing the robot to follow the light source.
DESIGN AND METHODOLOGY
Hardware Design
1. Component Selection
• Light Sensors: LDRs (Light Dependent Resistors) – minimum 2 (Left and Right),
ideally 3 (Left, Center, Right)
• Microcontroller: Arduino UNO / Nano (based on project size and budget)
• Motor Driver: L298N dual H-bridge driver
• Motors: 2x DC motors with wheels (or gear motors for torque)
• Power Supply: 7.4V – 12V Li-ion battery pack or 9V battery (temporary)
• Chassis: Acrylic or plastic base for mounting all components
• Other: Switch, jumper wires, resistors (for LDR voltage divider), caster wheel
Circuit Design
15
16
• LDR Setup: Connect each LDR with a fixed resistor in a voltage divider circuit to
analog pins of the Arduino.
• Motor Driver:
• Connect to Arduino digital pins for direction and PWM for speed.
• Connect motors to output terminals of driver.
• Power: Separate power line for motors and Arduino (with common ground).
Software Design
1. Algorithm/Logic Flow
• Initialize analog and digital I/O pins.
• Read light values from sensors.
• Compare sensor values:
• If left > right → turn left.
• If right > left → turn right.
• If both are similar → move forward.
• Send PWM signals to motor driver.
• Repeat loop.
2. Programming Environment
• Platform: Arduino IDE
• Language: C/C++ (Arduino syntax)
• Libraries: None required (uses basic analog Read, digital Write, analog Write)
3. Testing & Calibration
• Adjust thresholds in the code based on ambient light conditions.
• Fine-tune PWM values to balance motor speeds.
• Test with different light sources (torch, sunlight, etc.).
16
17
int leftLDR = A0; // Left sensor connected to A0
int rightLDR = A1; // Right sensor connected to A1
int leftMotor1 = 2;
int leftMotor2 = 3;
int rightMotor1 = 4;
int rightMotor2 = 5;
void setup() {
pinMode(leftMotor1, OUTPUT);
pinMode(leftMotor2, OUTPUT);
pinMode(rightMotor1, OUTPUT);
pinMode(rightMotor2, OUTPUT);
}
void loop() {
int leftValue = analogRead(leftLDR);
int rightValue = analogRead(rightLDR);
if (leftValue > rightValue + 50) {
// Turn Left
digitalWrite(leftMotor1, LOW);
digitalWrite(leftMotor2, HIGH);
digitalWrite(rightMotor1, HIGH);
digitalWrite(rightMotor2, LOW);
}
else if (rightValue > leftValue + 50) {
// Turn Right
digitalWrite(leftMotor1, HIGH);
digitalWrite(leftMotor2, LOW);
digitalWrite(rightMotor1, LOW);
digitalWrite(rightMotor2, HIGH);
}
else {
// Move Forward
digitalWrite(leftMotor1, HIGH);
digitalWrite(leftMotor2, LOW);
digitalWrite(rightMotor1, HIGH);
digitalWrite(rightMotor2, LOW);
17
18
}
}
Mechanical Design
1. Chassis Layout
• Front: Place LDRs spaced apart at angles (Left, Center, Right).
• Middle: Mount Arduino and motor driver on flat base.
• Rear: Battery pack secured for balance.
• Wheels: Two motorized wheels on sides; one caster wheel in front or back for
support.
2. Material Considerations
• Lightweight material (acrylic or plastic) to reduce load.
• Stable base to prevent wobbling during turns.
3. Modularity
• Use screws or mounts so sensors or motors can be replaced easily.
• Add headers for optional modules (e.g., obstacle sensors or Bluetooth).
18
19
1. Planning-Decide robot’s purpose, environment, and requirements.
2. Component Selection-Choose sensors, microcontroller, motors, and chassis
materials.
3. Circuit Design-Design LDR-based voltage divider and motor control layout.
4. Programming-Implement sensor reading, comparison logic, and motor control.
5. Assembly-Mount hardware on chassis; ensure secure wiring and weight balance.
6. Testing-Test under different lighting; calibrate values; adjust speeds.
7. Improvement-Add optional features (e.g., obstacle detection, remote control).
19
20
CONSTRUCTION
A light-following robot detects the intensity of light and moves toward it. It
typically uses Light Dependent Resistors (LDRs) as sensors and DC motors for
movement. The robot compares the light received by two LDRs and adjusts its
direction accordingly.
Component
Arduino UNO (or any microcontroller)
LDR (Light Dependent Resistors)
Resistors (10kΩ for LDR voltage divider)
DC Motors with wheels
Motor Driver Module (L298N or L293D)
Battery pack (7.4V or 9V)
Jumper Wires Many
Breadboard (optional)
Robot chassis
Step-by-Step Construction
Step 1: Assemble the Chassis
Mount the DC motors on the chassis.
Attach the wheels to the motors.
Secure the battery holder.
Step 2: Wiring the LDRs
Each LDR is part of a voltage divider circuit:
LDR1 ----> Analog pin A0
LDR2 ----> Analog pin A1
20
21
For each LDR:
One end of the LDR to 5V
Other end connected to an analog pin and a 10kΩ resistor
The other end of the resistor to GND
This setup allows you to measure the analog voltage from each LDR.
Step 3: Connect Motor Driver (L298N or L293D)
Connect IN1, IN2, IN3, IN4 from motor driver to Arduino digital pins (e.g., D2, D3,
D4, D5)
Connect ENA and ENB to 5V (or use PWM pins if you want to control speed)
Connect motors to output terminals of driver
Connect motor driver’s VCC to battery (7.4V or 9V)
Connect GND to Arduino’s GND
Step 4: Arduino Connections Summary
Arduino Pin Connects to
A0 LDR1 voltage divider
A1 LDR2 voltage divider
D2, D3 Motor A inputs (IN1, IN2)
D4, D5 Motor B inputs (IN3, IN4)
5V LDR circuit and ENA/ENB
GND Common ground
21
22
Step 5: Power It Up
Insert batteries into the holder.
Upload the code to the Arduino.
Place the robot in a dimly lit room and shine a flashlight near it.
Testing
1.Move a light source around.
2. The robot should turn or move toward the light.
3. Adjust thresholds in code if needed (e.g., + 50).
Troubleshooting
Problem Solution
Robot doesn’t move Check motor driver and power connections
Always turns one side Check if both LDRs are working and equally placed
No sensor response Confirm voltage divider setup
Possible Upgrades
Use photodiodes or phototransistors for faster response.
Add ultrasonic sensor to avoid obstacles.
Use PWM to vary motor speed.
Build a 3-LDR version for better tracking.
22
23
OBSERVATIONS
During the development and testing of the Light Following Robot, several
important observations were made regarding its behaviour, performance, and
responsiveness to different conditions. These observations helped in
understanding the working of sensors, motor control, and the importance of
accurate calibration.
1. Sensor Responsiveness
The LDR sensors responded well to variations in light intensity.
The robot showed a clear turning response when a light source (like a torch
or mobile flashlight) was moved around it.
If the light difference was too small, the robot sometimes failed to detect
direction changes correctly.
2. Motor Behaviour
Initially, the motors did not rotate at equal speeds, causing the robot to
move slightly off-course.
After PWM calibration, the movement became smoother and more
balanced.
Rapid direction changes caused slight jerks or shaking in the chassis.
3. Light Sensitivity
In bright environments (such as direct sunlight), sensor readings became
inconsistent.
Under controlled indoor lighting, the robot performed more reliably.
Covering or shading sensors during testing affected the robot’s ability to
detect direction accurately.
5. Decision Accuracy
The robot accurately followed the light source in most cases when there was
a significant difference between left and right sensor values.
A small threshold value had to be added in the code to avoid unnecessary
direction changes due to small light fluctuations.
23
24
6. Delay and Loop Timing
Adding a small delay (e.g., delay(100)) helped reduce unnecessary vibrations
and improved stability.
The faster the loop ran, the quicker the response—but too fast caused
erratic movement without clear direction.
7. Power Supply
The robot performed best when the battery was fully charged.
Low battery voltage led to slow motor movement and weak turning power.
Improvements and Upgrades for Light
Following Robot
1. Sensor Enhancements
Use More Accurate Sensors:
Upgrade from basic LDRs to photodiodes or phototransistors for faster and more
accurate light detection.
Add Multiple LDRs:
Using 4 or more LDRs (front-left, front-right, back-left, back-right) improves
directional sensing and tracking accuracy.
Shielding LDRs:
Add small tubes or hoods around LDRs to block ambient light and ensure the robot
only responds to directional light sources.
2. Motor and Control Upgrades
Use PWM for Speed Control:
Implement Pulse Width Modulation (PWM) with a microcontroller (like Arduino) to
vary motor speed smoothly, making turns and adjustments more precise.
Use Servo or Stepper Motors:
Replace basic DC motors with servo or stepper motors for more precise and
controlled movement.
24
25
Motor Driver IC:
Use an H-Bridge IC (like L293D or L298N) for better motor control (forward,
reverse, braking).
3. Processing Power
Use a Microcontroller:
Instead of just using analog circuits, integrate a microcontroller (Arduino, ESP32,
Raspberry Pi Pico) to process sensor input and control motor output more
intelligently.
Programming Logic Enhancements:
Add logic to avoid jittery movement.
Use averaging or smoothing techniques to filter noisy LDR signals.
4. Obstacle Avoidance
Add IR or Ultrasonic Sensors:
Add infrared (IR) or ultrasonic sensors to detect obstacles and stop or reroute the
robot, enabling it to follow light while avoiding collisions.
5. Power Supply Improvements
Stable Power Source:
Use rechargeable Li-ion or LiPo batteries with voltage regulators to ensure
consistent power delivery to sensors and motors.
Power Monitoring:
Add a voltage monitor or indicator to warn when battery is low.
6. Mechanical Enhancements
Improve Chassis Design:
Use a more stable and balanced chassis to avoid tipping or slipping, especially on
uneven surfaces.
Use of Ball Caster or Omni Wheels:
Adds better balance and smoother turning
25
26
7. Smart Light Filtering
Filter Out Ambient Light:
Program the robot to ignore slow changes in ambient light using thresholds or
filters, responding only to sharp directional changes.
Use Infrared-Based Light Tracking:
Track a specific IR LED source, which reduces errors caused by normal room or
sunlight.
8. Add Bluetooth or Wi-Fi Control (Optional)
Use Bluetooth (HC-05) or Wi-Fi (ESP8266/ESP32) modules for:
Remote control
Live data monitoring
Calibration via smartphone app
26
27
Future Work and Potential Applications
Although the current version of the light-following robot performs basic tasks like
detecting and following a light source, there are many ways to improve and
expand its functionality for future use. With further development, this type of
robot could be adapted for more advanced applications across different fields.
Below are some future work ideas and potential applications:
1. Solar Tracking Systems
In the future, the light-following mechanism can be used to create advanced solar
tracking robots that automatically adjust the position of solar panels to face the
sun throughout the day. This would increase solar energy efficiency and is
especially useful in solar farms and renewable energy systems.
2. Autonomous Agricultural Robots
Light-following robots could be developed for use in agriculture. For example, they
could help maintain optimal lighting for plants in greenhouses by moving grow
lights or shade structures, or by ensuring that plants receive even exposure to
sunlight.
3. Disaster Response and Rescue
Improved versions of light-following robots can be used in search and rescue
missions in dark or collapsed buildings. They could follow light sources (like
flashlights) to locate trapped individuals or find exits in low-visibility conditions.
4. Smart Home and Lighting Systems
In future smart homes, light-following robots could be used to manage lighting
more efficiently. For example, a robot could follow a person with a mobile light
source to reduce the need for constant lighting in every room, saving energy.
5. Educational Platforms
Light-following robots can be further developed into programmable kits for
schools and universities. They provide a hands-on way to teach students about
robotics, electronics, programming, and artificial intelligence, encouraging
innovation and STEM learning.
27
28
8.Integration with AI and Machine Learning
Future versions of light-following robots can be enhanced with AI to make smarter
decisions. Instead of just following any light source, the robot could learn to
differentiate between useful and harmful light (e.g., fire vs. flashlight), or prioritize
certain paths based on data from multiple sensors.
9. Robotics Competitions and Innovation Projects
These robots can be used as a base for innovation in student competitions or
hackathons. Additional features like obstacle avoidance, remote control, or object
detection can be added to make the robot more intelligent and adaptable.
10. Industrial Use in Warehouses
In large warehouses with poor lighting, robots equipped with light-following
technology could help guide workers or automatically move toward lighted areas
for inspection or maintenance purposes.
28
29
CONCLUSION
In this project, we successfully designed and built a light-following robot that can
detect and follow a light source using basic electronic components and
programming. The main idea behind the robot was to use light sensors (like LDRs –
Light Dependent Resistors) to sense where the light is strongest and then control
the motors so that the robot moves in the direction of the light.
The robot uses two or more light sensors to compare light levels on different sides.
When one sensor detects more light than the other, the robot turns in that
direction. If the light is directly in front of it, both motors move forward. This
allows the robot to follow a flashlight or any other strong light source in real time.
This project helped us understand how input from sensors can be used to control
outputs like motors using simple logic.
While working on this robot, we learned many important skills. These include
understanding how sensors work, how to build simple circuits, how to connect
components to a microcontroller (like Arduino), and how to write and upload code
to control the robot's behavior. We also gained practical experience in problem-
solving, such as fixing wiring mistakes, tuning sensor sensitivity, and adjusting
motor speeds for smooth movement.
This project has many real-life applications. Light-following technology can be used
in solar trackers that move solar panels to face the sun, in automated lighting
systems, or in robots that explore bright areas in search and rescue missions. The
knowledge and skills we gained can also help us in future projects involving line-
following robots, obstacle-avoiding robots, or even more advanced autonomous
systems.
In the future, we can upgrade the robot by adding features like:
Obstacle detection (using ultrasonic or IR sensors)
A rechargeable battery system
Better chassis design for faster or smoother movement
Control using Bluetooth or a smartphone app
Overall, this light-following robot project was a fun and educational experience. It
taught us the basics of robotics, electronics, and coding in a hands-on way. It also
encouraged creativity and teamwork, and gave us confidence to work on more
complex robotics projects in the future.
29
30
30