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 MAKE GUIDES


  1. Security Zone
  2. Ultrasonic Drum
  3. Resistor Piano
  4. Walker Race
  5. Walker Dance
  6. Walker Detect
  7. Runaway Rover
  8. Rover Sensor Steering

  1. Lighthouse
  2. Frog Frenzy
  3. Game Controller
  4. Minecraft Controller
  5. Retro Racer

  1. Security Zone
  2. Ultrasonic Drum
  3. Resistor Piano
  4. Ther-Mood-Stat
  5. Color Coded
  6. Pulse

  1. Beam Break
  2. Car Race
  3. Motion Ball

  1. Solar House
  2. Soil Sensor
  3. Air Guitar

  1. Light Show
  2. Light Show Animation

Make-A-Thon

PIPER MAKE

EDUCATOR GUIDES


YOU ARE HERE

Base expedition

Mission 7 of 10

Base expedition: Mission 7 of 14

Guess My Number


Intermediate

1 hour

Grades 3 - 8

MISSION OBJECTIVE

Learn to code a game to guess a number from your Pico.

Learn to create a random number generator and learn to make comparisons after receiving an input. This project will teach the the basics of computational thinking and coding logic.

View student interface at make.playpiper.com
MISSION CHARACTERS

Piperbot

Pip
MISSION MATERIALS

Computer with USB port and Chrome or Edge browser
Piper Make Base Station or Starter Kit

MISSION RESOURCES

Learning Goals

  1. Students will use loops, variables, and conditionals to create a game that will let them guess which number their Pico has generated.
  2. Students will understand how to use comparisons in code to determine whether a value is greater than, less than, or equal to another.
  3. Students will be able to determine if a device uses conditionals by learning about them in this activity.

Career Connections

Software Developer: Salary $127,260/yr
Electrical Engineer: Salary $127,260/yr
Data Scientist: Salary $103,500/yr
Construction Manager: Salary $101,480/yr

Code Diagram




Tutorial Steps

Guess My Number

Blueprint

DOWNLOAD BLUEPRINT

Have an different version? Look for more information on the Support Page.

Troubleshooting Tips

  • Are the number comparisons incorrect? Is your program saying 2 is greater than 5?
    • Ensure the directionality of your greater than (>) or lesser than (<) signs are arranged correctly.
  • What does Pico Guess indicate?
    • Pico Guess is a variable that stores a randomly generated number as coded for in the first line. When you click START, a new number is generated and stored in the variable.

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


Circuit A conductive path for the flow of current or electricity.

Power The current or flow of electric charge and voltage.

Microcontroller An integrated circuit containing a microprocessor with memory and associated circuits.

Variables A value that can change depending on conditions or information passed to the program. A storage location with a symbolic name used to keep track of a value that can change while a program is running (similar concept to using X and Y in an algebraic equation). Variables are not only numbers; they can also hold text, including whole sentences (strings) or logical values (true or false).

Input Device A hardware device that sends data to a computer, allowing interaction and control.

Output Device A piece of hardware that converts information into a form humans can sense and understand.

View Full Glossary

Standards Alignment