The project involves a smart street light system which switches ON the street lights at night on detecting the presence of any human or vehicle otherwise, the street lights are turned OFF. Also to visualize the traffic pattern.
-
Node MCU: It is based on the ESP8266 Wi-Fi module. It allows developers to easily create Wi-Fi enabled IoT (Internet of Things) projects. Sensors and actuators have been integrated with NodeMCU. The NodeMCU takes in sensor values, processes them and the actions to be performed (by actuators-LED) based on the sensor data have been coded on Arduino IDE and then loaded into NodeMCU. The NodeMCU being WiFi enabled, enables us to easily connect with cloud platforms. Here, ThingSpeak has been used.
-
IR Sensor: An IR (infrared) sensor is a device that detects and responds to the infrared radiation emitted or reflected by objects. It is used to detect the presence of any person or vehicle in the area to switch on or off the lights accordingly and followed by calculating the traffic pattern using the same sensor.
-
LDR (Light Dependent Resistor): It is a sensor that detects changes in light levels. It is also known as a photoresistor or photocell. It is used to detect the presence or absence of light to smartly switch on or off the street lights.
-
LED (Light Emitting Diode): It is a semiconductor device that emits light when an electric current is passed through it. Here LED is used to represent the street lights in this project.
-
Sensors Required: Light Dependent Resistor (LDR) to detect the presence of light in streets and Infrared (IR) sensor to detect presence of people and vehicles in street.
-
Microcontroller: ESP8266 has been used to facilitate integration with all sensors, obtaining the sensor data and processing them, send them to the Cloud platform. The Actuator – LED is made to perform action (glow or not glow) according to the code and requirement.
-
IoT Cloud: ThingSpeak has been used to Visualize the each of the processed data from the microcontroller.
-
LED (Light Emitting Diode): It represents the street lights which work as:
-
Glow when people are present and its dark outside
-
Off when street is empty
-
Off during day time
-