Team RamRod
Thursday, December 11, 2014
Install below codes using Arduino software 1.0.6:
int led0 = 13;
int led1 = 12;
int led2 = 11;
int led3 = 10;
void setup (){
pinMode (led0, OUTPUT);
pinMode (led1, OUTPUT);
pinMode (led2, OUTPUT);
pinMode (led3, OUTPUT);
}
void loop () {
digitalWrite(led0, HIGH);
delay(5000);
digitalWrite(led0, LOW);
delay(100);
digitalWrite(led1, HIGH);
delay(1000);
digitalWrite(led1, LOW);
delay(100);
digitalWrite(led2, HIGH);
delay(5000);
digitalWrite(led2, LOW);
delay(100);
digitalWrite(led3, HIGH);
delay(1000);
digitalWrite(led3, LOW);
delay(100);
}
Basic setup:
- Look up into the picture of basic setup of Automatic Traffic Light Control System above.
- Take it look North side first where Green LED is connected with resistor on right side and connected to Adruino digital input port 13 via wire on left.
- Yellow LED and Red LED have also same kind of connection with port 12 and 11.
- Later on the lights from South side are also connected with lights of north side in parallel
- Setup as same as above for East and West side too without connecting to digital input board
- Here, we need to connect only yellow LED from West side to digital input board port 10
- Connect West yellow LED to East LED in parallel .
- Connect one of green LED from either North side or South side with red LED of West side or East side in parallel so when the traffic open at North and South side, red LED will be on on both side of East and West.
- Do as same as above for West and East side too.
- Now,it's ready to run as like our traffic signal system.
- Download code using USB connection.
- supply 5v power Using USB connection to connecting with computer or mobile or use regular 5 volt power supply.
Wednesday, December 10, 2014
Monday, December 1, 2014
Project Idea
Automatic Traffic Light Control System Using PIC Microcontroller
https://www.youtube.com/watch?v=5oSMo8LGSek&list=PLeEL-CP8rlEoodOew6-pYmNJktn0MxCJz&index=40
Monday, November 17, 2014
Subscribe to:
Posts (Atom)