Lego Sensor — LineFollower
Line Follower Tribot v1.0— Episode #07
The Tribot uses the Color Sensor in Reflected Light Intensity mode to follow the edge of the line by adjusting the steering based on the light Sensor reading.
Free AI web copilot to create summaries, insights and extended knowledge, download it at here
3512
Abstract
GgZf_GQwktBcxl8JGw7H">google driver </a>repository. We are getting used to the lego and from now on we can impress our friends and family ;)</p><p id="aa57"><a href="https://drive.google.com/open?id=1QELkQseIandVmalnEwjTcuSE_31xntKX">Download All files For This Episode</a></p><h1 id="0f4d">Related Posts:</h1><p id="eed4">01º Lego Episode — <a href="https://readmedium.com/lego-our-startups-journey-2db83f9e92a4"><b>Our Startup’s Journey</b> </a>— Invaders and Invasions?</p><p id="da00">02º Lego Episode — <a href="https://readmedium.com/timmyton-lego-adventures-02-faae7d8c6fea"><b>Timmyton </b>— <b>Lego-Learning-By-Playing — L2BP Series</b></a></p><p id="b1d2">04º Lego Episode — <a href="https://readmedium.com/lego-motions-episode-04-41dff47e8834"><b>Lego Motions</b> — <b>Tribot v 1.0</b> — <b>Seeing Your Creation Move</b> </a>— Move Steering Block</p><p id="0d41">05º Lego Episode — <a href="https://readmedium.com/lego-motions-move-tribot-around-deb227946425"><b>Lego Motions </b>— <b>Move Tribot Around</b> </a>— And Backward…Five Programs Files</p><p id="98f9">06º Lego Episode — <a href="https://readmedium.com/lego-sensors-touch-n-color-edbe0f6642f"><b>Lego Sensors</b> — <b>Touch N Color</b></a> — Two out of five human senses — Touch N Sight</p><p id="3976">07º Lego Episode — <a href="https://readmedium.com/lego-sensor-color-5db4d42e0203"><b>Lego Sensor </b>— <b>LineFollower</b> </a>— Line Follower Tribot v1.0</p><p id="49a5">08º Lego Episode — <a href="https://readmedium.com/maze-solving-tribot-v1-0-a29963f8742a"><b>Maze Solving Robot v1</b></a><b> </b>— Lego Solution Right-Wall-Follower-Robot</p><p id="2225">09° Lego Episode — <a href="https://readmedium.com/lego-gettle-sound-bots-5fb40f6d84df"><b>Gettle_&_Sound_Bots</b></a> — How gentle can a robot be? What is the audible range of the human ear? How deep can we dive?</p><p id="4ca5">10° Lego Episode — <a href="https://readmedium.com/lego-data-logging-a2fd59dd7933"><b>Data Logging</b></a> — Data Collection and the EV3</p><p id="d94b">11º Lego Episode — <a href="https://readmedium.com/lego-binning-the-linefollower-code-5562e059237e"><b>Binning the LineFollower Code </b></a>— Binning: Arithmetic To Map Sensor Reading</p><p id="bfbf">8th — <a href="https://readmedium.com/j3-folower-line-robot-v1-0-7ad68256de83"><b>kidSerie J3 Follower Line Robot v1.0</b></a> — The Simplest Follower Line Robot</p><p id="f008">12º Lego Episode — <a href="https://readmedium.com/lego-a-proportional-linefollower-robot-d9a951debbef"><b>A Proportional LineFollower Robot </b></a>— Advanced Math To Improve Your Robot’s Steering</p><p id="a7fb">13º LEGO Theory — <a href="https://readmedium.com/lego-theory-multitasking-2f060d2e3678"><b>Theory of Multitasking</b></a> — A very Useful Programming Technique</p><p id="6e9c">14º LEGO formula — <a href="https://readmedium.com/lego-formula-normalizing-data-66fefd9eb90e?postPublishedType=repub"><b>Normalizing Data</b></a> — Converting Data to Use The Same Range</p><p id="2731">15º Lego Episode — <a href="https://readmedium.com/lego-pid-the-ultimate-line-follower-45d4e517572b"><b>PID — The Ultimate Line Follower </b></a>— Algorithm for your EV3 PID Line Follower Robot</p><p id="346e">16° <a href="https://readmedium.com/lego-meets-pixy-8f8ea7677114?postPublishedType=repub"><b>Lego Meets Pixy Episode</b></a> — How to Connect Your Inexpensive Camera Module to Lego</p><p id="b488">18° Lego Episode — <a href="https://readmedium.com/lego-gears-worms-bf8ef3280d0e"><b>GEARS & WORMS</b></a>
Options
— Geartrains & Worm & Clutch Gears</p><p id="6a1a">23° Lego Episode — <a href="https://readmedium.com/lego-differential-explained-12fa1865f3db"><b>Differential Explained</b></a><b> </b>— How Differential Works?</p><p id="5b26">24° Lego Episode — <a href="https://readmedium.com/pitbot-a-star-is-born-e04a0f305fb6?source=post_page---------------------------"><b>PitBot — A Star Is Born </b></a>— Working at The First Structure in Our Sparring Robot</p><p id="b3f3">25° Lego Episode — <a href="https://readmedium.com/pitbot-is-agressive-well-no-worries-c801adba4b4c?source=post_page---------------------------"><b>PitBot Is Agressive? Well, No Worries! </b></a>— Making PitBot bite!</p><p id="2d34">26° Lego Episode — <a href="https://readmedium.com/dancing-good-w-pitbot-16b5ef035077"><b>Dancing Good w/ PitBot</b></a> — All The Secret for Replicate This Awesome Robot</p><p id="1e08">27 ° LEGO Episode — <a href="https://readmedium.com/lego-sumo-arena-is-ready-64a59e8bf987"><b>Sumo Arena is Ready! </b></a>— Here is the playing arena for Arduino x Lego</p><p id="74d5">28 ° LEGO Episode — <a href="https://readmedium.com/pick-pitbot-up-7dbfa4edc12e"><b>Pick Pitbot Up!</b></a> — Our Robot Are Leaving Body & Paint Shop</p><p id="1a0c">28 ° LEGO — B — Episode — <a href="https://readmedium.com/pitbot-battery-sensor-setup-4f572fedfe20"><b>Pitbot Battery & Sensor Setup</b></a> — Preparing The infrastructure for running Arduino code</p><p id="f753">29 ° LEGO Episode — <a href="https://readmedium.com/bridging-all-sensors-together-pitbot-ca8803bf9cb"><b>Bridging All Sensors Together</b></a> — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot</p><h1 id="546a">Credits & References</h1><p id="116f"><a href="https://g.co/kgs/6kLgmu">Book: The Art of Lego Mindstorms EV3 Programming by Terry Griffin</a></p><p id="785e"><a href="http://www.philohome.com/nxtmotor/nxtmotor.htm">NXT® motor internals</a></p><p id="cc47"><a href="https://youtu.be/tscYgpD3m7g">EV3 Large and NXT Motors — The Differences Explained</a></p><p id="1240"><a href="https://education.lego.com/en-au/support/mindstorms-ev3/building-instructions">Building Instructions & Program Descriptions</a></p><p id="7e3d"><a href="http://www.philohome.com/motors/motorcomp.htm">LEGO® 9V Technic Motors compared characteristics</a></p><p id="061a"><a href="https://robotics4children.blogspot.com/">Robotics for Children (& Parents (& Grandparents))</a></p><p id="87c2"><a href="https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-rem-driving-base-79bebfc16bd491186ea9c9069842155e.pdf">Tribot v 1.0 .pdf File</a></p><p id="12c5"><a href="https://www.virtualroboticstoolkit.com/documentation/sections/9/articles/39">Introducing LEGO Digital Designer</a></p><p id="5086"><a href="https://sites.google.com/site/legomindstormintensive/">Lego Mindstorm Intensive</a></p><figure id="37df"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Bvc6aC5gjX_0ANpvaq1RJQ.jpeg"><figcaption>Fig 7. Gouache ink, Masking tape, scissors, brush, and graphite pencil and used <b>Paper Recycling </b>conserves wood and other forest resources :)</figcaption></figure><figure id="93b2"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2WcXjxTp-meQCbD4Blt_vQ.jpeg"><figcaption>Fig 8. Painting and inspired by Terry Griffin Book’s The <a href="https://g.co/kgs/7pfnQU">Art of LEGO MINDSTORMS EV3 PROGRAMMING</a></figcaption></figure></article></body>
The Tribot uses the Color Sensor in Reflected Light Intensity mode to follow the edge of the line by adjusting the steering based on the light Sensor reading.
More videos? click here now!
Sensor reading tells you how much light is reflected from a small circular area under the sensor.
The basic program — between two extremes:
When the sensor is over the white background, it will give a high reading (72) because a large amount of light is reflected;
Whereas completely over the black line, the reading will be low (8) because a small amount of light is reflected.
Let’s read Color Sensor in different positions. How about 5 positions?

Here are my readings:





That’s it!
You can download all the codes in my google driver repository. We are getting used to the lego and from now on we can impress our friends and family ;)
Download All files For This Episode
01º Lego Episode — Our Startup’s Journey — Invaders and Invasions?
02º Lego Episode — Timmyton — Lego-Learning-By-Playing — L2BP Series
04º Lego Episode — Lego Motions — Tribot v 1.0 — Seeing Your Creation Move — Move Steering Block
05º Lego Episode — Lego Motions — Move Tribot Around — And Backward…Five Programs Files
06º Lego Episode — Lego Sensors — Touch N Color — Two out of five human senses — Touch N Sight
07º Lego Episode — Lego Sensor — LineFollower — Line Follower Tribot v1.0
08º Lego Episode — Maze Solving Robot v1 — Lego Solution Right-Wall-Follower-Robot
09° Lego Episode — Gettle_&_Sound_Bots — How gentle can a robot be? What is the audible range of the human ear? How deep can we dive?
10° Lego Episode — Data Logging — Data Collection and the EV3
11º Lego Episode — Binning the LineFollower Code — Binning: Arithmetic To Map Sensor Reading
8th — kidSerie J3 Follower Line Robot v1.0 — The Simplest Follower Line Robot
12º Lego Episode — A Proportional LineFollower Robot — Advanced Math To Improve Your Robot’s Steering
13º LEGO Theory — Theory of Multitasking — A very Useful Programming Technique
14º LEGO formula — Normalizing Data — Converting Data to Use The Same Range
15º Lego Episode — PID — The Ultimate Line Follower — Algorithm for your EV3 PID Line Follower Robot
16° Lego Meets Pixy Episode — How to Connect Your Inexpensive Camera Module to Lego
18° Lego Episode — GEARS & WORMS — Geartrains & Worm & Clutch Gears
23° Lego Episode — Differential Explained — How Differential Works?
24° Lego Episode — PitBot — A Star Is Born — Working at The First Structure in Our Sparring Robot
25° Lego Episode — PitBot Is Agressive? Well, No Worries! — Making PitBot bite!
26° Lego Episode — Dancing Good w/ PitBot — All The Secret for Replicate This Awesome Robot
27 ° LEGO Episode — Sumo Arena is Ready! — Here is the playing arena for Arduino x Lego
28 ° LEGO Episode — Pick Pitbot Up! — Our Robot Are Leaving Body & Paint Shop
28 ° LEGO — B — Episode — Pitbot Battery & Sensor Setup — Preparing The infrastructure for running Arduino code
29 ° LEGO Episode — Bridging All Sensors Together — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot
Book: The Art of Lego Mindstorms EV3 Programming by Terry Griffin
EV3 Large and NXT Motors — The Differences Explained
Building Instructions & Program Descriptions
LEGO® 9V Technic Motors compared characteristics
Robotics for Children (& Parents (& Grandparents))
Introducing LEGO Digital Designer

