LOGIN
Electrical and Electronics Engineering student (Project Leader)
 · New DelhiIndia
Share
Report
Get Link
MILESTONE

Hello guys :)
Voila! Our Arduino prototype is ready.
Sorry for such a late update. I was busy with my exams, though I managed to build our prototype with AAsheesh Jha and @Arya within a day. Thanks a lot team for your contributions.

int led= 9;
int ir1= A1;
int ir2= A2;
int brit= 0; 
void setup() 
{
Serial.begin(9600); 
pinMode(led,OUTPUT);

}
void loop()
{
Serial.println(analogRead(ldr));
brit = analogRead(ldr);
if( brit<300 )
{
  if (digitalRead(A1)==HIGH){
    do{
  analogWrite(led,255);
  
}
    while(digitalRead(A2)==LOW);}
  else if(digitalRead(A1)==LOW);
{analogWrite(led,50);
}
}}``` 
Arduino
5 likes 
Like
Award Contribution
Dan Anthony Ventura
 · BaguioPhilippines
Share
Report
Get Link

This is GREAT!!!

Like
1 like 
Award Contribution
Student
 · MultanPakistan
Share
Report
Get Link

Good

Like
0 like 
Award Contribution
student
 · KathmanduNepal
Share
Report
Get Link

tats great…

Like
0 like 
Award Contribution
Share
Report
Get Link

I think multiple load sensors on road will be a better choice. These will light up a particular length of the road as the vehicle gets detected.

Like
1 like 
Award Contribution
John Rodrigues
102
Community Expert
Product and Experience Designer |Entrepreneur |Founder of D&D SmartLabs| Designwithjohn.com
 · PhiladelphiaU.S.
Share
Report
Get Link

awesome

Like
0 like 
Award Contribution
Robert Lancer
56
Community Expert
Chief Technology Officer at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

Great work!

Like
0 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
Chat with us!
Help
Write something before you submit it!
Photo updated
Request Sent!
Updated
Copied to Clipboard