Learn to create a secret coded message with color.
Help Piperbot and Pip get into Maker’s City by decoding the color sequence from the color wheel. Ask: “How does the Color Sensor interpret color from light that bounces back to the sensor? Can it tell between different shades of the same color?
Have an different version? Look for more information on the Support Page.
Troubleshooting Tips
Is the Color Sensor not detecting color?
Ensure that the Color Sensor is on. A small switch on the Sensor must be on for it to work (you will see a white LED turn on when this is correct).
Ensure that you’ve plugged the wires into the right GPIO. Look at the Digital View to see which pin you’re affecting.
How does the Color Sensor work?
Color Sensors emit a white light and then measure the red, green, and blue wavelengths that bounce back. Based on the amount of red, green, and blue light that bounces back, we can figure out what color the Sensor looks at.
Our customer support specialists are on hand to ensure your implementation of Piper runs seamlessly. View Support Docs or Contact Support
EXPANDED RESOURCES
Term Glossary
Engineer Someone who designs, builds, or fixes things to solve problems.
Sensor A device that produces an output signal to sense a physical phenomenon.
Conditional Statement A coding instruction used to compare values and express and make decisions, like an if-then statement.
List A sequence of several values grouped under a single name in code. A group of items or components. A tool used to store multiple pieces of information at once.