Tuesday, January 2, 2018

arduino code for 2 way traffic light

ARDUINO DUAL LINE TRAFFIC LIGHT CODE AND CIRCUIT


KUCH OUR CIRCUITS -







NECESSARY COMPONENTS=


  1. Arduino board
  2. 440 ohm resistance ---6
  3. Green led-----2
  4. Yellow led----2
  5. Red led -------2
CIRCUIT DIAGRAM=
www.eccircuit.com


CODE = 

TERMS AND CONDITIONS=
traffic light ke code men apne dhiyan se dekha hoga to apko dikh raha hoga ki teen jagha par comment karke kuch likha gya he [ red led time ya yellow , green led time ] or uske just samne likha hoga delay jske ( ) me kuch number likhen honge darasal bo jo ( ) men likha he bo us color ke led light ke on rehne ka time he agar ap cahe to us time ko apne anusar change kar sakte hen  dhyan rahe ki bo time millisecond men he .
1000 millisecond = 1 second.