Close menu

Resources


PIPER COMPUTER

Everything you need to teach STEAM effectivly using the Piper Computer Kit.

Educator Guides StoryMode Project Guides PiperCode Project Guides
PIPER MAKE

Teach fundamental STEM skills while providing a bridge to career connected learning.

Educator Guides
Best Practices Standards Glossary FAQ Educator Forum

EDUCATOR PORTAL

Close menu

ALL GUIDES


  1. What is a Computer?
  2. Executing a Plan
  3. Practicing Flexibility
  4. Completing a System

  1. Buttons & Breadboards
  2. Basic Inputs & Outputs
  3. Polarity & Audio Output
  4. Parallel Circuits

  1. Intro to Computational Thinking
  2. Loops & Sequences
  3. Events
  4. Programming with Lights & Sounds
  5. Completing Additional PiperCode Projects

  1. Extend in Storymode
  2. Design a Bot & Make Music
  3. Redesign a Stoplight
  4. Engineering Design with Piper

  1. Take Apart and Reflection
  2. Computers in Everyday Life
  3. The Environmental Impact of Computers
  4. Final Design Challenge

  1. What is Color?
  2. How Do We See Color?
  3. How Does the Color Sensor Detect Color?
  4. RGB in Computing

  1. The Water Cycle
  2. What is Temperature?
  3. What Are the States of Matter?
  4. Phase Changes

  1. Motion Introduction
  2. How Do Waves Help Us Understand Patterns?
  3. Creating Devices That Use Data
  4. Graphing Motion

  1. What is Energy?
  2. The Energy Behind Reduce, Reuse, Recycle

PIPER COMPUTER

EDUCATOR GUIDES


YOU ARE HERE

Color Sensor

Lesson 4

Color Sensor Lesson 4

RGB in Computing


45 - 60 mins

Grades 3 - 5

INTRODUCTION
This lesson will engage students’ prior knowledge about connections between wavelength, frequency, and electromagnetic waves. They will form groups to explore the various types of waves and report findings related to frequency and wavelength of their waveform. Using a master drawing of the electromagnetic spectrum, students will explore how human eyes perceive color in the visible light spectrum and how our atmosphere affects waves.

GETTING STARTED

Lesson Materials


Piper Computer Kit
Sensor Explorer Kit

Learning Objectives

In this lesson, students will learn about how waves are part of the universe and build on the use of the color sensor by using PiperCode to decode hidden messages using RGB values learning in lesson 3.

Note: A color's RGB value indicates its red, green, and blue intensity. Each intensity value is on a scale of 0 to 255, or in hexadecimal from 00 to FF. RGB values are used in HTML, XHTML, CSS, and other web standards.
Students will:
  1. Deepen their understanding of RGB values in living and non-living systems.
  2. Generate and compare multiple solutions that use patterns to transfer information.
  3. Develop programs with sequences and simple loops to express ideas or address a problem.
  4. Complete PiperCode Color Coded to create programs that include sequences, events, loops, and conditionals.

Lesson Preperation

  • Review lesson components for 5E (Engage, Explore, Explain, Elaborate, Evaluate) and student grouping
  • Read the resources yourself, and make sure you understand the basics of reflection, absorption, wavelength, and RGB values
  • Review grade-level standards and performance expectations related to waveforms, reflection, absorption, or transmittance through different living and nonliving things
  • Review PiperCode and loops, sequences, conditionals, and variables
  • Make sure Piper battery packs are charged before use
  • Review slide deck 3 and the graphic organizer

PIPER 5E INSTRUCTIONAL MODEL

Engage

Teacher-led Discussion (5 minutes)

Students will explore how light waves help us decode the mysteries of our universe.

Use slides 2-4 in the Lesson 4 slide deck to introduce the Doppler Effect and how it relates to redshift and blueshift.

Have students read the following or explain this to students:

"The light from most objects in the Universe is redshifted as seen from the Earth. Only a few objects, mainly local objects like planets and some nearby stars, are blueshifted. This is because our Universe is expanding. When an object moves away from us, the light is shifted to the red end of the spectrum, as its wavelengths get longer. If an object moves closer, the light moves to the blue end of the spectrum, as its wavelengths get shorter."

Explore

Explore: PiperCode Project Color Coded (30-40 minutes) Students will complete the PiperCode project: Color Coded to explore how to use RGB in coding.

Provide each group of students their kits, markers, and blank paper. Remind students of troubleshooting techniques, as well as best practices when dealing with electrical components. Slide 5 introduces the project and reminds students about RGB values.

There are discussion questions within the project tutorial. Have students discuss and record their responses on this graphic organizer.


PiperCode Discussion Questions for teacher reference:

Step 5: ADD AN RGB BLOCK - How do RGB values represent the color you are scanning?

Step 8: DUPLICATE THE CONDITION - What do these “if, return” functions do?

Step 10: ADD MORE LETTERS - What do you think you will do to display each letter?

Step 16: START DECODING - Describe the color and order you would need to scan with your color sensor in order to spell “PIPER”.

Explain

Explain (10-15 Minutes) Students should share their responses to the discussion questions.

Use slides 6-19 to review student responses and debrief from the exploration.

Elaborate

The impact of color blindness (5-7 Minutes) Students explore other ways of hiding messages and take a colorblindness test.

Slides 10-11 includes an image of note with a hidden message. The glasses in the image are the tool needed to decode the message. In the past, 3-D glasses were typically chosen to decode messages on the side of cereal boxes and in comic books. Ask students to consider how these techniques work.

Slide 12 includes a color blindness test. Have students guess the numbers hidden within the colored dots.

[Optional]: students can read this article on stereoscopy and write a reflection in their journals.

Evaluate

Closing/Reflection Activity (10-15 Minutes) Have students respond to these writing prompts:
  • How did working as a team make today easier?
  • What obstacles did you have to overcome during today’s project?

At the end of this lesson, have student take the Assessment.


PHASE RESOURCES

Career Connections

Graphic Designer: Salary $58,910/yr
Video Game Designer: Salary $83,240/yr
Web Developer: Salary $84,960/yr
Advertising Executive: Salary $131,870/yr

Graphic Organizer

Lesson 4 DOWNLOAD

Term Glossary


Doppler Effect When the sound or light changes as something moves closer or farther away from you. For example, when an ambulance with a siren drives past, the sound starts high and gets lower as it moves away. In electronics, this effect helps sensors detect how fast something is moving by measuring these changes.

Pattern Something that repeats in a predictable way. In color sensors, a pattern is something like stripes or spots that the sensor looks for to recognize and understand what it's seeing. It helps the sensor tell different colors or shapes apart by noticing these repeating designs.

Intensity How bright or strong a color is. For example, a really bright blue has high intensity, while a light blue has low intensity.

View Full Glossary

Standards Alignment


We are excited to be aligned with the following standards.


Concept Standard

Develop a model to describe that matter is made of particles too small to be seen.

3-5-PS1-1

Make observations and/or measurements of an object’s motion to provide evidence that a pattern can be used to predict future motion.

3-PS2-2

Develop a model of waves to describe patterns in terms of amplitude and wavelength and that waves can cause objects to move.

4-PS4-1

Develop a model to describe that light reflecting from objects and entering the eye allows objects to be seen.

4-PS4-2

Generate and compare multiple solutions that use patterns to transfer information.

4-PS4-3

Use a model to describe that animals receive different types of information through their senses, process the information in their brain, and respond to the information in different ways.

4-LS1-2

Develop a model to describe the cycling of matter and flow of energy among living and nonliving parts of an ecosystem.

MS-LS2-3

Develop a model that predicts and describes changes in particle motion, temperature, and state of a pure substance when thermal energy is added or removed.

MS-PS1-4

Plan an investigation to determine the relationships among the energy transferred, the type of matter, the mass, and the change in the average kinetic energy of the particles as measured by the temperature of the sample.

MS-PS3-4

Construct, use, and present arguments to support the claim that when the kinetic energy of an object changes, energy is transferred to or from the object.

MS-PS3-5

Develop a model to describe that waves are reflected, absorbed, or transmitted through various materials.

MS-PS4-2

Develop a model to describe the cycling of water through Earth's systems driven by energy from the sun and the force of gravity.

MS-ESS2-4

Ask questions to clarify evidence of the factors that have caused the rise in global temperatures over the past century.

MS-ESS3-5

Obtain and combine information to describe climates in different regions of the world.

3-ESS2-2