Itty Bitty Buggy: Line Tracing Tutorial (mDesigner)

From Microduino Wiki
Revision as of 18:49, 1 November 2018 by Sonny (talk | contribs) (Block: Color Trace (Go along color))
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 controls 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.