Color Sensor

Tutorials

[{
  "name": "What Color?",
  "description": "Use the Color Sensor to detect different colors.",
  "cardType": "tutorial",
  "url":"/tutorials/what-color",
  "imageUrl":"https://pxt.azureedge.net/blob/f74a5498265001dd06825a2bb0d1f33948e2f8f9/static/tutorials/what-color.png"
}, {
  "name": "Line Following",
  "description": "Use the Color Sensor to make a robot follow a line.",
  "cardType": "tutorial",
  "url":"/tutorials/line-following",
  "imageUrl":"https://pxt.azureedge.net/blob/5dc1903759f9a328309dea0f96db9aedd633c7ba/static/tutorials/line-following.png"
}, {
  "name": "Red Light, Green Light",
  "description": "Play Red Light, Green Light using the Color Sensor and the robot.",
  "cardType": "tutorial",
  "url":"/tutorials/redlight-greenlight",
  "imageUrl":"https://pxt.azureedge.net/blob/49c97f44c2c8f1d7e1b1e8a62ce237305daba6fa/static/tutorials/redlight-greenlight.png"
}, {
  "name": "Move To Color",
  "description": "Move straight until a color is detected.",
  "cardType": "tutorial",
  "url":"/tutorials/move-to-color",
  "imageUrl":"https://pxt.azureedge.net/blob/4275a96fdef95afa822392a3128e0bfca8e0f3c9/static/tutorials/move-to-color.png"
}, {
  "name": "Reflected Light Measure",
  "description": "Teach the sensor what light or dark is.",
  "cardType": "example",
  "url":"/tutorials/reflected-light-measure",
  "imageUrl":"https://pxt.azureedge.net/blob/0c680882ba10cdd6f1027dec0a70142c054d2814/static/tutorials/reflected-light-measure.png"
}, {
  "name": "Reflected Light Calibration",
  "description": "Use the auto-calibration feature to setup the dark and bright values.",
  "cardType": "example",
  "url":"/tutorials/reflected-light-calibration",
  "imageUrl":"https://pxt.azureedge.net/blob/dcd7490397693c1cbf88322f542dc2369163d73b/static/tutorials/reflected-light-calibration.png"
}]

See Also

What Color?, Line Following, Red Light, Green Light,