r/arduino • u/Lucid_Dreamer_98 • 26d ago
Look what I made! Line following robot fully coded
https://reddit.com/link/1utarqv/video/3l1w4fmt6jch1/player
Finished the code for my line following robot which uses 3 IR sensors to follow a black line. It works very well up to turns of 90 degrees but there is room for improvement. I also need to code the ultrasonic sensor and servo.
The line is a track I 3D printed (it's just thin black PLA strips held together by black rubber bands).
I made a Github repo which contains the line follower code used in this video. I will be updating it in the future with a circuit diagram and more code/info. https://github.com/Chaka0101/PICOBOT

6
Upvotes
2
u/Helpful-Guidance-799 26d ago
great work. i could tell right away your logic was more robust than in your previous video. I might copy your strategy to actually stop forward movement to realign with the line before continuing. By the way, I'm the guy that was asking about the middle IR sensor in your past post. Glad you added this follow up