Tuesday, January 2, 2018

Arduino traffic light code

ARDUINO TRAFFIC LIGHT CODE AND CIRCUIT

NECESSARY COMPONENTS=


  1. Arduino board
  2. 440 ohm resistance ---3
  3. Green led-----1
  4. Yellow led----1
  5. Red led -------1


KUCH OUR CIRCUITS -

Arduino push button code

relay module circuit

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.