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.
Here's a quick and fun micro:bit lesson for schools or home. Make an automatic light using just an LED, some alligator clips, and your micro:bit! This easy tutorial includes PXT MakeCode and MicroPython versions.