Scott Penrose

Traffic Lights

Scott is an expert software developer with over 30 years experience, specialising in education, automation and remote data.

Difference between revision 4 and current revision

No diff available.

For my birthday I wanted to take advantage of the traffic light I was given some time before. My brother was doing all the music ( so I thought I would build the stage lights.

And I have 2 days before my birthday, and only a few hours... what to do?



Note: This project controls 240 volts directly - which requires extra skill, extra safety, and in some countries extra training/certificate first.


  • Mode switch
    • Test - step through each light (make sure all connected etc)
    • Random - randomly go through a set of sequences (good for parties)
    • Traffic lights - operate like real traffic lights.
  • Speed control
    • How fast should it go?

Of course this could be used to control any lights, or even traffic lights on your train set.

See Also

  • Arduino