Skip to content

The aim of the project is to create an intelligent street light system that adjusts lighting based on human and vehicle presence, while also analyzing traffic patterns using sensors and real-time data visualization for improved urban planning.

Notifications You must be signed in to change notification settings

tanyagupta2004/smart_street_light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Smart Street Light and Traffic Prediction System

Abstarct

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.

Hardware Requirements

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Flowchart

image
  1. 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.

  2. 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.

  3. IoT Cloud: ThingSpeak has been used to Visualize the each of the processed data from the microcontroller.

  4. 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

Hardware Connections

image

image

Demonstartion

  1. During day, irrespective of vehicles are present or absent, street lights are kept OFF image

  2. During the night, when light is not detected and vehicles are detected so street lights are kept ON image

  3. During the night, but vehicles are absent so street lights are kept OFF image

ThingsSpeak Visualization

image

Traffic Pattern

image

Matlab Code

image

image

About

The aim of the project is to create an intelligent street light system that adjusts lighting based on human and vehicle presence, while also analyzing traffic patterns using sensors and real-time data visualization for improved urban planning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages