Itty Bitty Buggy: Line Tracing Tutorial (mDesigner)

From Microduino Wiki
Revision as of 18:48, 1 November 2018 by Sonny (talk | contribs) (Created page with "=Line Tracing= Buggy Base contains two Color Detectors and two ColorLEDs. These joined together can be used to detect when a line is detected based on its configured color. Wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Line Tracing

Buggy Base contains two Color Detectors and two ColorLEDs. These joined together can be used to detect when a line is detected based on its configured color. With this information, it is possible to steer the motors either left or right to stay on the line. The follow blocks will use the Color Detectors, ColorLEDs to stay along (trace) a line.

Block: Color Trace (Go along color)

Start of line tracing can be called with this block.

Function: This block control the Buggy Base to follow (trace) along the chosen color line.

IBB mDesigner Car Block Go Along Color.png
  • Color - color of the line to trace (either red, green, blue or black).
Note: This block approximates the color detected. Therefore, closely related colors may be register as being detected. An example, "orange" registers as "red".
Note: The speed of tracing cannot be set.