Resources — traffic lights

 Program and Build Your Own Traffic Lights

3d printing ages 11+ chibitronics Classroom coding digital technologies Laser LED LEDs logic programming traffic lights years 7 and 8

 Program and Build Your Own Traffic Lights

This project uses visual block programming to model events in the logic of an Australian traffic light and scale this logic to make two traffic lights work in tandem. You can do this solely in a web browser, or push your code onto a Chibi Chip and use conductive tape to incorporate this with physical models designed from a variety of mediums including 3d printing or laser cutting.

Read more →


STOP:bit MicroPython Tutorial: Two Traffic Lights

microbit MicroPython state table traffic lights

STOP:bit MicroPython Tutorial: Two Traffic Lights

Program a pair of traffic lights to work in tandem using the Kitronik STOP:bit and micro:bits. 

 In this project, you will learn to:

  • Write a state table to represent the different changes between two traffic lights.

  • How to reuse our function to save time, and keep our code readable.

  • Send our light changes to another STOP:bit over radio, and write code to match our state table.

Read more →


Program micro:bit traffic light sequences in Python with these STOP:bit tutorials

coding logic microbit microbit accessories micropython python radio state table steam stem traffic light traffic lights tutorials wireless

Program micro:bit traffic light sequences in Python with these STOP:bit tutorials

Check out these tutorials for the Kitronik STOP:bit and the BBC micro:bit! Learn to code a state table by starting with one traffic light and progressing to two traffic lights in an intersection.

Read more →