PROJECT 01 / AGES 09–12
Traffic light
- Scratch
- Arduino
What makes a junction work?
A familiar traffic light becomes a way to explore order and timing. Learners connect lights, write a repeating sequence and watch their instructions become something they can see.
WHAT LEARNERS PRACTISE
- Sequencing instructions
- Repeating with loops
- Testing timing
1 led red = led pin 42 led green = led pin 33 4 forever:5 red on6 wait 3 s7 red off8 green on9 wait 3 s10 green offONE MORE QUESTION
What happens if the red light stays on longer? Change the timing and explain the difference.