IOT Traffic POC

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

GOVERNMENT ENGINEERING COLLEGE

MOSALEHOSAHALLI-573212 HASSAN
IOT
PROJECT ON
SIMPLE TRAFFIC LIGHT SYSTEM USING NODE MCU

SUBMITTED BY

PRIYANKA KS
ABSTRACT
The aim of this project is to design a simple traffic light system using NodeMCU in the IoT.
The system will be capable of controlling traffic signals in a simulated intersection using
NodeMCU, LEDs, and other hardware components. The system will be able to adjust the
timing of the traffic lights based on traffic flow and pedestrian crossings. It will also be able
to communicate with other devices in the network, such as cameras or sensors, to optimize
traffic flow and reduce congestion. Ultimately, the goal of this project is to demonstrate how
IoT technology can be used to create efficient and safe traffic systems.
INTRODUCTION
A simple traffic light system using NodeMCU in IoT is a smart solution for managing traffic
flow in a more efficient and safe way. The system uses NodeMCU, an open-source IoT
platform based on the ESP8266 Wi-Fi chip, to control the traffic lights through a web-based
interface or a mobile app. The traffic lights are programmed to switch between red, green,
and yellow based on a predefined traffic pattern or real-time data collected from sensors
such as cameras, infrared sensors, and traffic counters. The system can also be integrated
with other IoT devices such as smart traffic signs and traffic cameras to provide a more
comprehensive solution for managing traffic. This technology offers a new and innovative
way to improve traffic flow and safety on roads, reduce congestion and emissions, and
ultimately improve the quality of life in urban areas.
COMPONENTS :-
Hardware Components:
NodeMCU microcontroller
3 LEDs (red, yellow, and green)
3 220-ohm resistors
Breadboard
Jumper wires

Software Tools:
Arduino IDE
NodeMCU board package
Blynk mobile app
METHODOLOGY :-
1) Connect the NodeMCU to the breadboard.
2) Connect the red LED to pin D1 on the NodeMCU, the yellow LED to pin
D2, and the green LED to pin D3.
3) Connect the 220-ohm resistors to each LED's anode (positive leg) and
connect the other end of the resistors to the NodeMCU's GND pin.
4) Open the Arduino IDE and select the NodeMCU board from the board
manager.
5) Write the code to control the traffic light system using the NodeMCU's
GPIO pins.
6) Upload the code to the NodeMCU board.
7) Download and install the Blynk app on your mobile device.
8) Create a new project in the Blynk app and add three buttons (red, yellow,
and green) to the project.
9) Assign each button to control the corresponding LED on the NodeMCU.
10) Connect the Blynk app to the NodeMCU by entering the
NodeMCU's Wi-Fi credentials and IP address.
11) Test the traffic light system by pressing the buttons on the Blynk app to
control the LEDs.

CIRCUIT DIAGRAM :-

You might also like