This is a very simple and basic prototype of how Traffic flow is managed. I built this prototype with LED's and Ardunio Microcontroller. This is only for beginners and it hardly takes 30mins to finish the sketch and circuit.
Step 1: Required Materials
Male to Male Jumper wires
Six 330 ohm resistors
3 RED,3GREEN and 3 YELLOW LED's (I used blue instead of yellow as I don't have one with me)
Step 2: Circuit
The circuit is very simple. connect the jumper wire pins in series to led and 330ohm resistor to an arduino digital pin as per your convenience or as mentioned in the sketch. upload the code and enjoy..