SPEAK LIKE A MACHINE
PIPER MAKE EDUCATOR RESOURCES SERIES
STARTER EXPEDITION KIT
BUILD BUTTONS TO TRANSLATE NUMBERS TO BINARY
Intermediate
1 hr
Ages 8+
You will need a Starter Kit to do this mission. Get yours here:
WATCH THE INTRO VIDEO:
LEARNING OBJECTIVES
- Build two tactile buttons and use functions to convert from binary to decimal numbers.
- Understand what lists do in code and how they can be used to generate important outputs.
- Understand the history of binary, and why binary systems use this code to understand operational instructions and user input and to present a relevant output to the user.
EDUCATOR RESOURCES
-
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.
Check out our easy assignment template that you can use to ask students to share their work by including pictures of their final circuits and code.
Check out our Python-focused assessment that you can copy and share directly to your Google Classroom.
-
Useful vocabulary terms to use in classroom: binary, tactile buttons, input, lists
TROUBLESHOOTING TIPS
Not receiving any inputs from the button presses?
-
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)
What is binary?
-
Binary describes a numbering scheme in which there are only two possible values for each digit -- 0 or 1 -- and is the basis for all binary code used in computing systems.
FINAL HARDWARE
In this lesson, students will build two buttons and wire them to input numbers in binary.
FINAL CODE
This is the final code that is created. Download the embedded PNG and use the CREATIVE mode to import it to a new workspace: