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.