I want to create a line follower by EV3 using hi-tech color sensor without using switch! :( I tried some former ways but the robot cannot follow the line very well! can anyone guide me?

  • Can you be more specific about a particular a part of the problem you are facing?
    – pcantin
    Aug 8, 2015 at 13:37

1 Answer 1


This is from page 87 of a document showing how to run NXT bricks using EV3-G software.

proportional line following

It uses the light sensor, not color sensor. You'll want to set the mode of the color sensor.

Inside a loop that will stop following a line if the left button on the brick is pressed.

Basically, the steering value of the motors is taken from the light sensor reading.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.