STEM Week 2023 :: Traffic Lights

What's here?

These coding challenges are for your traffic lights. You have a pair of them in your kit, so there are challenges that just use one of them, and others that need both!


Challenge 1 - Turn all of the lights on

A simple starter challenge to get you used to coding your lights


Challenge 2 - Proper traffic light sequence

Traffic lights have a properly defined sequence here in the UK. Can you code your lights in the same way?


Challenge 3 - Synchronised Traffic Lights

Can we synchronise a pair of traffic lights, like those we see at a road junction? When one is red, the other is green.

You'll need 2 sets of lights for this challenge, and your radio knowledge!

  • link Traffic Light 1 - Left First traffic light to synchronise
  • link Traffic Light 2 - Right Second traffic light to synchronise