SkillAgentSearch skills...

LiFOAR

Line Following and Obstacle Avoiding Robot - Built a line-following and obstacle-avoiding robot using Arduino Microcontroller programmed with Arduino IDE and C/C++.

Install / Use

/learn @JanithDisanayake/LiFOAR

README

<div align="center"> <p> <img width="20%" src="/arduino-icon.svg"> </p> <b><h3> Arduino Robot </h3></b> <p> Making Line Followign & Object Avoiding Robot using <a href="https://www.arduino.cc"> Arduino </a></p> </div> <br> <br>

Instructions:

  • All Files of Robot
  • Testing Files Also included
  • myRobot code is made by our own hand
  • compounents are mentioned below
  • newlineFollower just included the Line Following code
  • <b>myRobotX is the Final Code</b>

<br><br>

Items we used

  1. Arduino Uno R3
  2. L298 Motor Driver
  3. Car chassis pack
  4. Battries
  5. Wheels
  6. Ultra Sonic Sensor
  7. Infared Sensors
  8. Servo Motor
  9. Bread Board
  10. Jumpers
<br>

Apps and Tools

    <a href="https://www.arduino.cc/en/software"><img src="/arduino-ide-logo.svg" width="40"></a>

<br>

How It follows the line

<br> <img src="/readme-essentials/RAD lf.png" width="600"> &nbsp;&nbsp;&nbsp;&nbsp; A) Both IR LEDs are on the line. Robot car should move forward. <br><br>&nbsp;&nbsp;&nbsp;&nbsp; B) The Right IR LED is on the line while the left deviates to the left. Robot car should turn to the right. <br><br>&nbsp;&nbsp;&nbsp;&nbsp; C) The Left IR LED is on the line while the right deviates to the right. Robot car should turn to the left. <br>

<br><br>

How It avoids obstacles

<br> The basic principle behind the working of ultrasonic sensor is to note down the time <br> taken by sensor to transmit ultrasonic beams and receiving the ultrasonic beams after <br> hitting the surface. Then further the distance is calculated. <br><br> <img src="/readme-essentials/RAD oa1.png" width="600"> <br> <img src="/readme-essentials/RAD oa2.png" width="600">

<br><br>

Schematics and circuit diagrams

<a href="https://ibb.co/N2PsVVv"><img src="https://i.ibb.co/k2fxHH7/schematic-arduino-line-following-robot-sheet-u-Nr-Cjg-Bi-Re-1-cleanup.png" alt="schematic-arduino-line-following-robot-sheet-u-Nr-Cjg-Bi-Re-1-cleanup" border="0"></a>

<br>

Special Thanks:

<br>

Checkout Our Documentation:

Project Proposal

<br><br>

<div align="center"> <img src="/readme-essentials/LIFOD.jpg" width="300" height="auto">

LinkedIn Post: click here!

</div>
View on GitHub
GitHub Stars32
CategoryDevelopment
Updated13d ago
Forks23

Languages

C++

Security Score

80/100

Audited on Mar 19, 2026

No findings