Makeblock mBuild Dual-channel Color Sensor Boxed (5 pcs) (P3030023)
Introduction
Makeblock mBuild Dual-channel Color Sensor consists of a pair of light-sensitive elements to detect the color of an object.
It can facilitate the line-following of robots while detecting colors.
It can provide multiple types of data, including the analog output that indicates light intensity, the digital output that indicates the line and background states, and calculated parameter values for motor control, which ensures sufficient flexibility while simplifying your application process.
Based on the data output, teachers can explain the knowledge and working principles from different aspects.
It provides the adaptive map learning function.
It automatically sets the thresholds after learning the colors of the background and to-be-followed line.
The firmware of the sensor includes a line-following algorithm and can directly output parameter values for controlling the rotational speed of motors, which makes high-speed line following easier.
Highlights
Used to design an assembly line for parts sorting
Technical Specifications
Detection Range: 5–15 mm from the object to be detected
Operating Current: 70 mA
Press
No function is defined.
Double-press
When the button is double-pressed, it starts to learn the background and line for line following.
Place the light sensors on the background of the line-following track map and double-press the button.
When you see the LEDs indicating the line-following state blink quickly, sway the sensors from side to side above the background and line until the LEDs stop blinking.
It takes about 2.5 seconds.
The parameter values obtained are automatically stored.
If the learning fails, the LEDs blink slowly, and you need to start the learning again.
Long-press
When the button is long-pressed for two to three seconds, it switches the color of the fill lights in the order of red, green, and blue.
Generally, you don't need to change the color.
The color is set automatically after the learning is complete.
| Four-channel Color Sensor | Dual-channel Color Sensor |
Plastic casing to improve the durability and quality | Yes | No |
Line-following sensor | 4 | 2 |
Color sensor | 4 (also serve as line-following sensors) | No |
Light sensor | 4 (also serve as line-following sensors) | No |
Fill light | Visible light | IR light |
Ambient light calibration to significantly reduce the interference of ambient light | Yes | No |