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


StoryMode

  1. Mars
  2. Cheeseteroid
  3. Treasure Hunt
  4. Chain Reaction
  5. Power Plant
  6. Rainbow Bridge
  7. Funky Fungi
  8. Breadboard Bluffs
  9. Return to the Cheeseteroid

  1. Pip Hop
  2. Bot Builder

  1. Ring Race
  2. Snake Trap
  3. Dark Maze
  4. Explosive Escape
  5. Chest Quest

PiperCode

  1. Blink
  2. Stop Light
  3. Light Show
  4. Tally
  5. Siren
  6. Circuit Design
  7. Debug
  8. Frog Frenzy

  1. Color Coded
  2. Ther-Mood-Stat
  3. Security Zone

  1. Randomizer
  2. El Pangolin (Simon)
  3. Beat the Buzzer
  4. 5-Button Synthesizer

PIPER COMPUTER

PROJECT GUIDES


YOU ARE HERE

PiperCode

Project 6 of 8

PiperCode Project 6 of 11

Circuit Design


Intermediate

45 Mins

Grades 3 - 8

Look for the graphic above
to launch the project
INTRODUCTION

+ or -: Learn to control pins by connecting them to one another

In this project, students learn about the electronics panel, and controlling positive and negative pins by choosing which pins they connect to. The step-by-step instructions in the tutorial guide students through the process of building the circuit and writing the code.

PROJECT MATERIALS

Piper Computer Kit
3 LEDs (red, yellow, green)
6 Wires (3 blue, 3 yellow)

PROJECT RESOURCES

Concepts

In this project, students will learn about the positive and negative states of the GPIO pins and how to use them to design the architecture of a circuit. For the first time, students will need to choose which GPIO they use instead of the tutorial instructing them to which pins they should use.

Students can use the ELECTRONICS tab to view which pins are receiving electrical current. The pins turn yellow on the panel picture when they receive current. The grey pins on the panel picture are positive, the black pins are negative or ground. The long side of the LED can be connected to any grey pin, the short side can be connected to any black pin. Students should not use pins colored red or blue on the panel picture.

Troubleshooting Tips

  • Most students will make mistakes wiring to correct positive or negative pins as we are not instructing them specifically what pins to use. Make sure they are using the ELECTRONICS tab when they run their code to see which pin number is turning yellow, meaning there is current flowing through it. Their code should be turning that pin On and Off, and it should also be the pin that is connected to the long end of the LED.

Our customer support specialists are on hand to ensure your implementation of Piper runs seamlessly.
View Support Docs or Contact Support
PROJECT STEPS

Step 1 Get your stuff!

You are going to design your own light show with 3 LEDs and a button.

Step 2 Code the LED

Add a Turn Pin On block and a Turn Pin Off block.

Step 3 Add Repeat Forever

Wrap those pin blocks in a Repeat Forever block.

Step 4 The electronics panel

Press Start. Open the ELECTRONICS panel. Which pin is flashing?

Step 5 Wire the positive

Wire the pin on your Raspberry Pi that is flashing in the Electronics panel to the long end of an LED.

Step 6 Wire the negative

Now wire a ground pin (black) on your Raspberry Pi to the short end of an LED.

Step 7 Add more LED's

Repeat steps 2, 5, and 6 with 2 more LEDs.

Step 8 Check the code

Add blocks for the new LEDs and change the pin numbers. Press Start and watch them blink.

Step 9 Add a button

Add a button to your breadboard and connect one side to a ground pin (black) and the other side to a GPIO pin (grey).

Step 10 Code that button

Remove the Repeat Forever block and add a pin event block. Set the pin to the button wire.

Step 11 Debug

Watch the Electronics panel when you run your code. Does pressing the button flash the correct pin?

Completed!