LED Traffic Light

LED Traffic Light © GPL3+

Make an LED traffic light!

  • 586 views
  • 1 comment
  • 8 respects

Components and supplies

Necessary tools and machines

Hands

Apps and online services

About this project

I decided it would be nice of me to each newbies the basics of how LEDs work.

Code

Untitled fileC/C++
// created by Arseniy Nechaev
void setup() {     // This is to set up the pins on your Arduino UNO
  pinMode(13, OUTPUT)
;  pinMode(12, OUTPUT)
;  pinMode(11, OUTPUT)

;}

void loop() { // Code put in here will run over and over again
  digitalWrite(13, HIGH)
;  delay(2000)
 ; digitalWrite(13, LOW)
 ; digitalWrite(12, HIGH)
 ; delay(1000)
 ; digitalWrite(12, LOW)
 ; digitalWrite(11, HIGH)
 ; delay(2000)
 ; digitalWrite(11, LOW)
  

;}

Schematics

20181226_114227_FGa4nlP9kh.jpg
20181226 114227 fga4nlp9kh

Comments

Similar projects you might like

Controlling LED light intensity using smartphone light senso

Project tutorial by Nikola Travis

  • 3,000 views
  • 0 comments
  • 4 respects

Arduino Traffic Light Simulator

Project tutorial by Zachary Haslam

  • 20,479 views
  • 10 comments
  • 46 respects

Ambient Light Sensor Using Photo Resistor and LED Lights!

Project tutorial by DCamino

  • 11,151 views
  • 9 comments
  • 22 respects

LEGO Traffic Light

Project showcase by matteoPrada

  • 706 views
  • 0 comments
  • 2 respects

LED light "Whack-a-mole"

Project tutorial by courtlandjensen

  • 10,466 views
  • 10 comments
  • 31 respects
Add projectSign up / Login