Robot Inventor

Proportional Line Follower for LEGO 51515 – Fast and Reliable

With LEGO 51515 you can learn how to make a simple and reliable proportional line follower for an FLL robot! The proportional line follower is the go-to algorithm for getting an FLL robot or a WRO robot to follow a line smoothly. Today I use LEGO MINDSTORMS 51515 Robot Inventor to re-introduce proportional line following to the fourth generation of LEGO MINDSTORMS robotics! A proportional line follower uses a single LEGO 51515 color sensor to monitor reflected light intensity values. Corrections to the robot’s path are proportional to the robot’s error relative to the line. Line following was among the most popular topics for my EV3 tutorials, and today I am happy to re-introduce the topic to LEGO 51515.

In today’s LEGO MINDSTORMS 51515 programming tutorial, I explain the conceptual thinking behind the proportional line follower, teach you how to acquire a target reflected light intensity value, walk you though writing the line follower code, and teach you how to tune the parameters (proportional constant and target path) for optimal line following performance!

🔴 Watch my LEGO MINDSTORMS 51515 Review.

🤖 See all of my LEGO 51515 Tutorials here.

📕 Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon.

🔴 Subscribe to Builderdude35 on YouTube.

📷 Follow me on Instagram.

🦸‍♂️ My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me on Patreon here.

🎵 Thank you to my friend OTT for producing the beats and music used in this video. You can check him out on Instagram here.

📽 Thank you to my friend Preston Nichols for designing Builderdude35’s intro animation and logo!