top of page

Basic Follow Line


  • This program is written so a robot with a single light sensor can follow the edges of a black line.

  • In the example above both motor B and C have been configured to 30 % power. The program is written in a way that when the the light sensor which is connected to the Ev3 brain’s port 3 detects a light value which is less than 40 ( black line),  the robot will turn to the left until it no longer detects a light value less than 40 ( white line) and turn right. That left right motion will continue until there isn’t a black line to follow or until the timer is up, the timer has been set for the duration of the loop is 10 seconds.

5 views0 comments

Recent Posts

See All

Comentarios


bottom of page