Crack the Code · Stage 4
Identify control technologies in the world around us, describe how they use inputs, processing and outputs, and explain what a microcontroller and a shield are.
Open this deck on the projector and press F for full-screen. N toggles speaker notes. The accompanying teacher guide is at /curriculum/crack-the-code/teacher/lessons/1.
Before this lesson:
/curriculum/crack-the-code/student/lessons/1).What if your bedroom, your locker or your treasure chest could tell you when someone opened it?
Hook with the design situation. Don't show the brief yet — get students to volunteer ideas first.
Over the next 10 weeks you will design, build and evaluate your own alarm/alert system using code and electronics.
Today: meet the tools.
Read the design brief out loud. Make the criteria for success concrete: control system, alert/alarm, microcontroller, working inputs, working outputs.
Every control technology does three things:
Use the TV-remote demo here. Point at the buttons (inputs), the chip (processing), the IR LED (output). Have students draw the IPO chart for a remote in their workbook.
We code on a laptop, upload to the board, and the board runs forever.
Pass an Arduino + ThinkerShield around. Plug yours in — point out the red power light coming on. Show the IDE picking it up under Tools → Port.
Circulate. Common issues: USB cable is charge-only (no data), wrong port, the IDE forgot the board between lessons. Have spare cables ready.
Have students chant them. Write them in the workbook.
On a sticky note: one thing you learned today and one question you still have. Post it on the way out.
Read every sticky over the break — they'll tell you what to revisit at the start of next lesson.
End of lesson 1
Tomorrow / next lesson: First code — Blink, the IDE & binary.