I am using PIC microcontroller 16f877A to create a traffic light, the project essentially pure learning and writing code. 5.1 Protues simulation. Some pictures for reference: The timing of the lights can be easily changed. || Download code written in MikroC and Proteus circuit simulation at here! source: http://dientudieukhien.net