RFID Based Smart Traffic Signal for Ambulance

RFID Based Smart Traffic Signal for Ambulance

prusaprinters

<p>Hello world</p> <p>This is a RFID Based Smart Traffic Signal for Ambulance project. With the help of RFID tag the ambulance when required to pass through signals the signal becomes green by keeping mind all other signals of the junction becomes red.</p> <p>This helps to pass the signals by ambulance without waiting for green signal like in thickly populated areas / traffic areas.</p> <p>The program is written in Arduino IDE and the complete program is given below.</p> <p>Parts to be print for signal (Parts download from thingiverse link <a href="https://www.thingiverse.com/thing:3235977/edit">https://www.thingiverse.com/thing:3235977/edit</a> )</p> <p>1xBase</p> <p>1xCap</p> <p>1x Led holder</p> <p>1x Led holder top</p> <p>Components required</p> <p>Arduino Uno 1 No</p> <p>EM18 RFID Reader 1 No</p> <p>RFID Tag 1No (your required no)</p> <p>LED Red, Green &amp; Yellow each 1 No</p> <p>Wire required legnth</p> <p>Android app download from below link</p> <p><a href="https://drive.google.com/file/d/1qHocOYj0XdJPhKepeiy6cKMNSKDOO9Ci/view?usp=sharing">https://drive.google.com/file/d/1qHocOYj0XdJPhKepeiy6cKMNSKDOO9Ci/view?usp=sharing</a></p> <p>Arduino Program</p> <p>/*RFID Based Smart Traffic Signal for Ambulance</p> <p>by Aakaar Lab*/</p> <p>int yellow_led=11,red_led=12,green_led=10,count=0,countp;</p> <p>char*rfid_id[]={"270021BEBE06","270021BCFE44"};</p> <p>char* names[]={"Ambulance-1","Ambulance-1"};</p> <p>int presence[2];</p> <p>void setup()</p> <p>{</p> <p>Serial.begin(9600);</p> <p>pinMode(yellow_led,OUTPUT);</p> <p>pinMode(red_led,OUTPUT);</p> <p>pinMode(green_led,OUTPUT);</p> <p>}</p> <p>void loop()</p> <p>{</p> <p>int i;</p> <p>char response[12];</p> <p>int ch;</p> <p>delay(200);</p> <p>signalchange();</p> <p>if(Serial.available()&gt;0)</p> <p>{</p> <p>i=0;</p> <p>do</p> <p>{</p> <p>while(Serial.available()&lt;=0);</p> <p>response[i]=Serial.read();</p> <p>Serial.print(response[i]);</p> <p>i++;</p> <p>}while(i&lt;12);</p> <p>response[i]='\0';</p> <p>if(strcmp(response,rfid_id[0])==0)//User1 rfid received</p> <p>{</p> <p>digitalWrite(red_led,LOW);</p> <p>digitalWrite(green_led,HIGH);</p> <p>}</p> <p>else if(strcmp(response,rfid_id[1])==0)//User2 rfid received</p> <p>{</p> <p>digitalWrite(red_led,LOW);</p> <p>digitalWrite(green_led,HIGH);</p> <p>}</p> <p>delay(5000);</p> <p>} if(countp==1)</p> <p>{count++; }</p> <p>if(countp==0)</p> <p>{count--; }</p> <p>}</p> <p>void signalchange()</p> <p>{</p> <p>if(count==0)</p> <p>{</p> <p>digitalWrite(green_led,LOW);</p> <p>digitalWrite(yellow_led,HIGH);</p> <p>delay(1000);</p> <p>digitalWrite(yellow_led,LOW);</p> <p>digitalWrite(red_led,HIGH);</p> <p>countp=1; }</p> <p>else if(count==50)</p> <p>{ digitalWrite(red_led,LOW);</p> <p>digitalWrite(yellow_led,HIGH);</p> <p>delay(1000);</p> <p>digitalWrite(yellow_led,LOW);</p> <p>digitalWrite(green_led,HIGH);</p> <p>countp=0;</p> <p>}</p> <p>}</p> <p> <figure class="media"> <oembed url="https://www.youtube.com/watch?v=hcAJ9vwsDgM"></oembed> </figure> </p> Category: Electronics

Download Model from prusaprinters

With this file you will be able to print RFID Based Smart Traffic Signal for Ambulance with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on RFID Based Smart Traffic Signal for Ambulance.