Professional Documents
Culture Documents
DIGITAL ASSIGNMENT - 1
Submitted by
MUSKAN AGARWAL
AGARWAL-16BEE0143
Internet Of Things
OCTOBER 2018
Problem Statement
Here we propose an IOT based automated traffic signal monitoring as well as controller system
that automates complete traffic signalling system automation and also allows for manual override
over internet. The system uses ARDUINO based circuit system to monitor traffic signal densities
and transmits this data online over internet to the controllers. We use IOT Gecko in order to
develop the online GUI based system to monitor the traffic densities. The system shows current
densities to help monitor traffic conditions on roads. Also the system provides an option to the
controllers to override any signal and make it green in case of any ambulance or important
vehicles to pass through while keeping other signals red. This puts forth a traffic signal
monitoring and controller system that can be operated remotely over the internet from anywhere
with manual override ability.
Hardware Specifications
ATmega328P AVR MC
I R Transmitter Receiver
ESP8266 Wifi Module
LCD’s
Crystal Oscillator
Resistors
Capacitors
Transistors
Cables & Connectors
Diodes
PCB
LED’s
Transformer/Adapter
Push Button
Software Specifications
ARDUINO Compiler
MC Programming Language: C
Introduction
This project is about an intelligent traffic controlling system. The present traffic
controlling systems are not efficient and smart. One of the oldest ways of handling
traffic was having a traffic policeman at each junction and traffic was controlled
manually through hand signaling. However this wasn’t efficient for developing
cities so then we started using traffic light control systems.
Our present traffic control systems uses fix timing method to control traffic.
According to this each direction has to wait for a fixed amount of time and then
was allowed to cross. This is functional for normal traffic but it fails in heavy rush.
Here comes the need of smart traffic monitoring system. This system will monitor
the vehicle density at the moment and based upon the density traffic lights can be
controlled.
Project Overview
This project’s objective is to design a traffic control system that can control traffic
automatically depending on the traffic conditions. A dynamic traffic control system
is designed that will help to clear traffic during peak hours. This intelligent traffic
signal controller is efficient in minimizing the possibilities of traffic jams by
clearing the roada at faster rates while there is high density of vehicles and also for
emergency vehicles like ambulances it provides clearances provides the clearance
for the Emergency vehicle if any. The system is based on the arduino micro
controller and IR sensors Technology
Working Procedure
The traffic control system is made using IR sensor, LEDs and microcontroller.
Here a four side junction with traffic flow in each side in only one way is
considered .The system has three main components:
Light controlling: - Here the LEDs (traffic lights) are controlled by the
ARDUINO microcontroller according to the signals received by the IR
sensors.
Display unit: - It is real time application of each junction who consists of 3
LEDs- Green, Red and Amber for real time monitoring.
Now the output sent from IR sensor can be classifies in three cases:-
Sensors/devices used
1. ARDUINO UNO
2. I R Transmitter Receiver
The principle of an IR sensor working as an Object Detection Sensor is explained
using the following figure. An IR sensor consists of an IR LED and an IR
Photodiode; together they are called as Photo – Coupler or Opto – Coupler. When
the IR transmitter emits radiation, it reaches the object and some of the radiation
reflects back to the IR receiver. Based on the intensity of the reception by the IR
receiver, the output of the sensor is defined.
3. ESP8266 Wifi Module
The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP protocol
stack that can give any microcontroller access to your WiFi network. The ESP8266
is capable of either hosting an application or offloading all Wi-Fi networking
functions from another application processor. Each ESP8266 module comes pre-
programmed with an AT command set firmware, meaning, you can simply hook
this up to your Arduino device and get about as much WiFi-ability .The ESP8266
module is an extremely cost effective board with a huge, and ever growing,
community.
This module has a powerful enough on-board processing and storage capability
that allows it to be integrated with the sensors and other application specific
devices through its GPIOs with minimal development up-front and minimal
loading during runtime. Its high degree of on-chip integration allows for minimal
external circuitry, including the front-end module, is designed to occupy minimal
PCB area. The ESP8266 supports APSD for VoIP applications and Bluetooth co-
existance interfaces, it contains a self-calibrated RF allowing it to work under all
operating conditions, and requires no external RF parts. There is an almost
limitless fountain of information available for the ESP8266, all of which has been
provided by amazing community support
4. LCD’s
LCD (Liquid Crystal Display) is an electronic display system. A 16x2 LCD display
is a very basic system and commonly used in various devices and circuits. LCDs
are preferred over seven segments and other multi segment LEDs. The advantages
of LCDs are as follows:
1. LCDs are economical.
2. They are easily programmable.
3. A number of characters can be displayed.
4. Very compact and light.
5. Low power consumption
A 16x2 LCD means it can display 16 characters per line and 2 such lines are there.
In this LCD every character is displayed in 5x7 pixel matrix.
LCD possesses two registers:
Data and
Command registers.
The command register stores the command instructions given to the LCD. A
command can be defined as an instruction given to LCD to do a predefined task.
For example, initializing the LCD, clearing the screen, controlling the cursor
position, controlling the display etc. The data register stores the data which is
displayed on the LCD screen. The data is the ASCII value of the character which is
displayed on the LCD screen.
Programming OF LCD: For programming the 16x2 LCD display there are three
basic steps.
1. Initialization of LCD
2. Giving command for reading the given data
3. Giving command for writing data and displaying on the screen
Connectivity methods
IR sensor connectivity with the arduino