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.
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.
Our friends at Kitronik have made three great tutorials onprogramming the Kitronik STOP:bit Traffic Light, with yourBBC micro:bit. These tutorials are designed for students that are comfortable with drag and drop coding, usingMakeCode in the browser.
The editor itself does not have an upload option, but if you go to the bottom of the makecode page at https://makecode.microbit.org you'll find an Import button that will let you upload these .hex files from your computer or a URL
The Raspbian operating system, originally designed for the small Raspberry Pi computer, now has a version for laptops and PCs. Raspbian runs nicely on computers that are no longer deemed powerful enough to run the latest Windows or MacOS versions. Raspbian is great if you're setting up a kids' makerspace or school Code...