Project showcase

Semaphore with Arduino © GPL3+

Use Semaphore with Arduino to make a stoplight.

  • 5,653 views
  • 0 comments
  • 4 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

This is a Semaphore with Arduino made on a PCB.

if (typeof(lightBoxImages) == 'undefined') { lightBoxImages = {}; } lightBoxImages['5b759cea2a'] = [{ URL: 'https://hackster.imgix.net/uploads/attachments/323539/img_20170708_155508871_svzEvVNdXq.jpg?auto=compress%2Cformat&w=1280&h=960&fit=max', caption: '', type: 'image' },{ URL: 'https://hackster.imgix.net/uploads/attachments/323540/img_20170708_155802410_3R0AKWvheY.jpg?auto=compress%2Cformat&w=1280&h=960&fit=max', caption: '', type: 'image' },{ URL: 'https://hackster.imgix.net/uploads/attachments/323538/img_20170708_160122323_iWTbKw4OH9.jpg?auto=compress%2Cformat&w=1280&h=960&fit=max', caption: '', type: 'image' },{ URL: 'https://hackster.imgix.net/uploads/attachments/323557/img_20170708_163612723_T7gKgAiCTw.jpg?auto=compress%2Cformat&w=1280&h=960&fit=max', caption: '', type: 'image' },{ URL: 'https://hackster.imgix.net/uploads/attachments/323556/img_20170708_163734343_k68lPLee0l.jpg?auto=compress%2Cformat&w=1280&h=960&fit=max', caption: '', type: 'image' },{ URL: 'https://hackster.imgix.net/uploads/attachments/323543/ezgif-3-ff0649be7b_I7aiHoEXbR.gif?auto=compress&gifq=35&w=1280&h=960&fit=max', caption: '', type: 'image' }];

Code

Project CodeC/C++
//Green Pin 2
//Yellow pin 3
//Red pin 4
//Green Pin 2
//Yellow pin 3
//Red pin 4
//////////// made by VINICIUS LOPES //////////////

void setup (){
pinMode(2, OUTPUT);// green
pinMode(3, OUTPUT);// yellow
pinMode(4, OUTPUT);// red
}
void loop (){

  
digitalWrite(4,HIGH);
delay(7000);
digitalWrite(4,LOW);
delay(100);

digitalWrite(3,HIGH);
delay(3000);
digitalWrite(3,LOW);
delay(100);

digitalWrite(2,HIGH);
delay(7000);
digitalWrite(2,LOW);
delay(100);

}

Schematics

Schematic 1
//Green Pin 2
//Yellow pin 3
//Red pin 4
Untitled sketch bb3 jwixdhgsgf

Comments

Similar projects you might like

PIR Automated Intelligent Zebra Crossing

Project showcase by Adersh B

  • 9,375 views
  • 3 comments
  • 18 respects

A Semaphore for your Office Desk

Project tutorial by Enrico gueli

  • 6,918 views
  • 1 comment
  • 13 respects

Coffin Dance Melody

Project tutorial by mohammadsohail0008

  • 4,997 views
  • 6 comments
  • 7 respects

Light Sequence Creator

Project tutorial by Reid Paulhus

  • 23,421 views
  • 11 comments
  • 44 respects

Touchless Thermometer

Project tutorial by WU_HuiQiao

  • 7,027 views
  • 0 comments
  • 19 respects

Density Based Traffic Light Controller Using Arduino

by Aqib

  • 65,079 views
  • 13 comments
  • 37 respects
Add projectSign up / Login