PIPER MAKE EDUCATOR RESOURCES SERIES
CHECK OUT THE BUILD:
- Use the color sensor to “read” and report color and map colors to different words/letters to create a “secret code” which can be shared.
- Understand the coding elements of if/then statements and interface with the color sensor using different graphical views on Piper Make.
- Understand the fundamental concepts of how color is perceived in the world around you.
You can share the mission directly to your Google Classroom after logging into your Google educator account in the top right corner of Piper Make.
Useful vocabulary terms to use in classroom: color sensing, input, conditional statements, variables, mapping
Is the sensor not detecting color?
Ensure that the sensor is on! There is a small switch on the sensor that must be switched on for the sensor 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 (take a look at the Digital View to see which pin you're affecting)
How does the color sensor work?
It emits a white light and then measures 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 is "looking at."
In this lesson, students will connect their color sensor and use it detect colors in the world around them.