PIPER MAKE EDUCATOR RESOURCES SERIES
CHECK OUT THE BUILD:
- Build three LEDs (red, yellow, and green) and learn how to code them to light up sequentially.
- Code a loop to turn the LEDs off and on at certain time intervals. Understand which command in the Python code determines the timing of the blinking.
- Makers Challenge: Consider how to add a button to affect the sequence of lights at the stoplight.
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: input, output, microcontroller, GPIO pins, circuit
LED not lighting up when you hit START?
Most common issue: LEDs might be plugged in the wrong direction! Make sure the anode and cathod (i.e., short and long sides of LEDs) are appropriately oriented according to tutorial.
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)
Not sure what the point of the resistor is in the circuit?
Each LED in the circuit has a small amount of intrinsic resistance, which the Pico might recognize and try to turn up the current flowing through the circuit. This can damage the Pico; therefore, to reduce the current, we add a resistor to the circuit.
In this lesson, students will build three LEDs to light up sequentially.