DIY traffic light with PIC microcontroller.

The circuit:

 Traffic light circuit