You are browsing as a guest. Sign up (or log in) to start making projects!

5IR LFR

Hardware
  • 1 Devlogs
  • 1 Total hours

A small robot that follows a black line with the help of 5 IR Sensors.

Ship #1 Pending review

I made a 5IR Line Follower Robot using an ESP32 as the main controller. The robot uses 5 digital IR sensors for line detection and an L298N motor driver to control 300RPM geared motors. I designed the sensor mapping, created the code, assembled the hardware, and completed the full working robot. The main challenge was tuning the sensor logic and movement control so the robot could smoothly handle different paths like loops, 90-degree turns, and curves. I am proud that I was able to build, code, and test a fully functional line follower robot in around 1 hour. To test the project, place the robot on a black line track, make sure the batteries are charged and the sensors are aligned properly, then the robot will automatically detect and follow the path.

  • 1 devlog
  • 1h build
Video of Project → See source code →
Open comments for this post

1h 9m 21s logged

Today I started and completed my 5IR Line Follower Robot. I worked on the complete build process, including planning the sensor placement, making the circuit connections, and developing the code for the robot.

The robot uses 5 digital IR sensors connected with an ESP32 to detect the line. I created the sensor mapping and programmed the movement logic to control the motors through an L298N motor driver.

After testing and tuning the code, the robot was able to follow the track properly and handle different paths like curves, loops, and 90-degree turns. I also completed the power setup using two 2200mAh 3.7V Li-ion batteries with a buck converter for stable power.

The complete robot was built, coded, and tested successfully in around 1 hour.

Hardware used:

ESP32
5 Digital IR Sensors
L298N Motor Driver
300RPM Geared Motors
2x 2200mAh 3.7V Li-ion Batteries
Buck Converter
Robot Chassis

This was a quick prototype build to test my line following system and understand the performance of the sensor mapping and control logic.

5
1
435

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…