loading

Please SUBSCRIBEto my channel for more projects.

This project is about Smart street light, street light will turn on while vehicle is passing through it.
here we are using 4 IR sensors that senses the position of the vehicle,each IR sensor controls 3 LED's. When vehicle passes by a particular IR sensor it senses the position of vehicle and gives its signal to the arduino board and it will turn on the LED's.

ADVANTAGES:

If we uses this idea and implement to it in our society it will be helpful in saving enough amount of electricity and off-course money.

Step 1: Components Required

  1. arduino uno
  2. ir sensor (4)
  3. 10mm LEDs (6)
  4. connecting wire
  5. foam board

Step 2: Upload the Program

download and upload the program in arduino uno

Step 3: Connect the Circuit

Connect all the components as given in the circuit diagram.

ir sensor 1 ---> 2

ir sensor 2 ---> 3

ir sensor 3 ---> 4

ir sensor 4 ---> 5

connect all ir sensor's to +5v and ground.

the positive pin of leds are connected to these pins of arduino.

led 1 ------> 6

led 2 ------> 7

led 3 ------> 8
led 4 ------> 9

led 5 ------> 10

led 6 ------> 11

and finally all ground pins of led connect to the ground of arduino.

Step 4: Build Suitable Structure

To make these poles as given in above picture, use foam board and glue.

and you may also use black chart to make a road and wooden board for the base of pole.

<p>Sir,</p><p>may I know how to change the light intensity instead of turning the LED on and off?</p><p>ex: when vehicle is detected ,the LED is at full brightness.<br> when there is no vehicle, the LED is at lower level of light intensity.</p><p>Thanks.</p>
Chang your LED output pins to PWM pins or analog pins<br><br>Then Chang &quot;digital write to
Leds are responding only when light falls on receiver of IR sensor... <br>Sir can you please explain how to make led work only when an obstacle comes infront of IR sensor
<p>IR sensor consist of <strong>TRANSMITTER </strong>&amp; <strong>RECEIVER.</strong></p><p>The transmitter transmits infrared ray.</p><p>The receiver receives the infrared ray.</p><p>Ex: When there is a vehicle, the infrared ray transmitted gets deflected by the vehicle . These deflected rays then comes in contact with the receiver.</p><p>When there is no vehicle, the infrared ray doesn't get deflected. hence no IR is received by the receiver.</p><p><strong><br></strong></p>
<p>sir, i have an error</p><p>Simulation is not running in real time due to excessive CPU load.</p>
I don't understand ....what type of error is that ......just attach a photo of error.
Sir, will ir sensor detect the vehicle movement only in dark..??
Ir sensor will detect any type of object .......but make sure it is away from sun light .........<br>It will not work in sun light , better work in room light .
<p>Arduino: 1.8.0 (Windows 10), Board: &quot;Arduino/Genuino Uno&quot;</p><p>Sketch uses 1272 bytes (3%) of program storage space. Maximum is 32256 bytes.</p><p>Global variables use 17 bytes (0%) of dynamic memory, leaving 2031 bytes for local variables. Maximum is 2048 bytes.</p><p>avrdude: ser_open(): can't open device &quot;\\.\COM5&quot;: Access is denied.</p><p>please help .... this erroer occures when i try to upload</p>
Insert the arduino in other USB port.<br>Than go to <br>Tools &gt;&gt; port &gt;&gt; <br><br>Select the port that you have connected.<br><br><br>If it not work then try with windows 7 because some time windows 10 not support.
<p>sir can you please explain the idea behind using green and red in code....what are they actually</p>
I forgot to remove that Red and green led in video , that led is to test circuit for me there is no use in project .<br>Download the code from 2nd stape ,in that I removed red and green LEDs.
<p>Please go through the circuit diagram once again. I had to make a little change while implementing the circuit.</p><p>Instead of shorting the negative side of the leds, i ended up shorting the positive terminals of the led,and then connected it to the arduino Vcc. Basically,the arduino has 2 Vcc,one supplying the led and the other supplying the IR sensors.</p><p>I havnt come up with a schematic diagram yet. Do let me know what you think.</p><p>Thanks. :)</p>
GOOD ......, This is also correct.....<br>:) <br>One of the side will be short ,doesn't matter which one either positive or negative.<br><br>If short the positive side then change all &quot;HIGH&quot; into &quot;LOW&quot; and &quot;LOW&quot; into &quot;HIGH&quot;.
<p>Many outdoor lamps are metal halide, mercury vapor, low pressure sodium, etc., because they throw a lot of light with less power (still several hundred watts). They also need time to 'warm up' and fire to the on state from a very wimpy glow. We had a parking garage that presented a problem after a power failure because it went black for 30 to 45 (60?) seconds before the lights were back to burning bright. The time delay depends on the individual lamp... Age &amp; condition.</p><p>It's a good idea, but there is a lot to think about. On a freeway, you would want a light a half mile ahead to light the road, but if pedestrians might use the area, they would need to stay on, or at least sense differently. Freeways may have enough traffic to render them only semi used. Also, costs are high for 'control boards' supplied to maintenance people by wholesalers, and it introduces another way for the lighting to 'fail', and may keep a long stretch of road completely dark while it is out of service. Not insurmountable, but needs to be thought about... Should fail to an 'on' state if possible. </p>
<p>The other observation is that it is good for 30cm max so how could you have used this in the real world?</p>
You can use &quot;ultrasonic sensor&quot; to extend the range.
<p>I will have a play with this thanks but what stops the lights turning on during the day?</p>
Use &quot;LDR&quot; that will stop turning on light during day.
<p>Cool project!</p>
Thank you .... @MESHprj
<p>That's a neat idea :) It could potentially save a lot of energy and lessen light pollution.</p>
Thank u...... @Swansong

About This Instructable

3,315views

37favorites

License:

Bio: i am 20 year old electrical engineer from india.
More by vishalsoniindia:DIY Build QUADCOPTER || Drone || Cc3d || Flight Controller Board (fcb) || in Only 13 Step || Simple & Easy Audio Player Using Arduino With Micro SD Card DIY Build BB-8 in India || Android Controlled and Talkative || Life-size   
Add instructable to: