Traffic Lights

Introduction:

Traffic lights are great for developing sequencing skills. Let students work in pairs to create their own working traffic lights with this dinky add-on from Kitronik which can be bought here and to which you attach your microbit using small nuts/bolts:

https://www.kitronik.co.uk/5642-stopbit-traffic-light-for-bbc-microbit.html

How-to videos:

  • Video 1: overview
StopBit-vid1.mp4
  • Video 2: coding / starter code
StopBit-vid2.mp4
  • Video 3: possible tasks
StopBit-vid3.mp4

Note: before proceeding to the harder task shown in the above video, you might want to explore the auto-timings task shown in some starter code below.