IoT (basic)
- Arduino UNO
- A Ultrasonic Sensor
- LEDs
- Registers
- Jumper wires (M-M)
- Breadboard (for convenience)
Arduino application can be downloaded from here
- Place the LEDs in parallel with one end grounded and the other end connected to a register(250-300 ohm) for quite bright LED.
- Connect the other end of the registers to arduino ports as mentioned here
- Yes, you can choose the ports and number of LEDs as per your choice ;)
- Now, place the Sensor perpendicular to the leds towards the direction mapping motion and do the connection as shown below
- At last, download the code file and upload it on Arduino Application.
- Don't forget to connect your aduino UNO to your machine with the help of a USB cable.
When a considerable size object passes by the street lights, only the leds close to the object glows and turns back off when the object has moved further away. Click here for demo
The lights brighten up the streets only when necessary, thus saving huge amount from the electricity bills.
@CodePurble