Smart Street Light System
Smart Street Light System
Bachelor of Technology
in
Computer Science & Engineering
By
June, 2021
CERTIFICATE
It is certified that the work contained in the project report titled
“IOT BASED SMART STREET LIGHT SYSTEM” by SAROJ
SAH (18UECS0775), V.VEERANJANEYULU (18UECS0915),
U.SRI CHARAN SAI (16UECN0179)” has been carried out under
my supervision and that this work has not been submitted
elsewhere for a degree.
Signature of Supervisor
Mr.Kishore Kumar
Assistant professor
Computer Science &Engineering
School of Computing
VelTech Rangarajan Dr.Sagunthala R&D
Institute of Science and Technology
June,2021
i
DECLARATION
We declare that this written submission represents our ideas in our
own words and where others’ ideas or words have been included,
we have adequately cited and referenced the original sources. We
also declare that we have adhered to all principles of academic
honesty and integrity and have not misrepresented or fabricated or
falsified any idea/data/fact/source in our submission. We understand
that any violation of the above will be cause for disciplinary action
by the Institute and can also evoke penal action from the sources
which have thus not been properly cited or from whom proper
permission has not been taken when needed.
(Signature)
( SAROJ SAH )
Date: / /
(Signature)
V. VEERANJANEYULU
Date: / /
(Signature)
(U.SRI CHARAN SAI)
Date: / /
ii
APPROVAL SHEET
Examiners Supervisor
Mr.Kishore Kumar
Assistant Professor
Date: / /
Place:
iii
ACKNOWLEDGEMENT
We express our deepest gratitude to our respected Founder Chancellor and Pres-
ident Col. Prof. Dr. R. RANGARAJAN B.E. (EEE), B.E. (MECH), M.S (AUTO).
DSc., Foundress President Dr. R. SAGUNTHALA RANGARAJAN M.B.B.S.,
Chairperson Managing Trustee and Vice President.
We are very much grateful to our beloved Vice Chancellor Prof. S. SALIVA-
HANAN, for providing us with an environment to complete our seminar suc-
cessfully.
We take this opportunity to express our gratitude to Our Internal Supervisor Mr.
Kishore Kumar, Assistant professor for his cordial support, valuable in- formation
and guidance, he/she helped us in completing this seminar through various stages.
We thank to our department faculty, supporting staff and friends for their help and
guidance to complete this project.
iv
ABSTRACT
IoT Based Smart Street Lighting with these smart lights we will be closer to the
smart city. Lights are turn on automatically according to a surrounding light intensity.
These light control of the light intensity is based on movement of people or vehicles.
In the case of emergency the lamps increase brightness to the maximum level and
thereby the safety of people is enhanced. Smart light informs we in case of a breakdown.
By the help of cloud system, we transfer energy (remote management possibility up to
50km). We need components like power source, LED chips, control unit. In case of light
break down control center transfer message to server/cloud and then server/cloud
transfer the energy to the BTS tower. BTS tower transfer the energy to the control unit of
smart lighting, bulb is glowing.
v
LIST OF FIGURES
4.1 Architecture Diagram ………………………………………………… 5
4.2 Data Flow Diagram …………………………………………………….. 6
4.3 UML Diagram …………………………………………………………. 7
4.4 Use Case Diagram ……………………………………………………… 8
4.5 Class Diagram …………………………………………………………. 9
4.6 Sequence Diagram …………………………………………………….. 10
vi
vii
LIST OF ACRONYMS AND
ABBREVIATIONS
viii
TABLE OF CONTENTS
Page.No
ABSTRACT V
LIST OF FIGURES Vi
1 INTRODUCTION 1
1.1 Introduction……………………………………………………. 1
1.2 Aim of the project……………………………………………… 2
1.3 Project Domain………………………………………………… 2
1.4 Scope of the Project……………………………………………. 2
1.5 Methodology…………………………………………………… 3
2 LITERATURE REVIEW 4
3 PROJECT DESCRIPTION 5
3.1 Existing System……………………………………………… 5
3.2 Proposed System……………………………………………… 5
3.3 Feasibility Study……………………………………………… 6
3.3.1 Economic Feasibility..................................................... 6
3.3.2 Technical Feasibility………………………………… 6
3.3.3 Social Feasibility……………………………………… 6
4 MODULE DESCRPITION 8
4.1 General Architecture…………………………………… 8
4.2 Design Phase……………………………………… 9
4.2.1 Data Flow Diagram…………………………………… 9
4.2.2 UML Diagram………………………………………… 11
4.2.3 Use Case Diagram……………………………………… 12
4.2.4 Class Diagram………………………………………… 13
4.2.5 Sequence Diagram……………………………………… 14
4.3 Module Description…………………………………… 15
10
7 CONCLUSION 30
References 31
11
Chapter 1
INTRODUCTION
1.1 Introduction
The Internet of Things (IoT) is a system of interrelated computing
devices, mechanical and digital machines, objects, animals or people that are
provided with unique identifiers and the ability to transfer data over a network
without requiring human-to-human or human-to-computer interaction.
IOT is the network of physical devices that allows the devices to communicate
with each other. IOT allows remote sensing and control over the devices. It is an
advanced automation and analytics system which uses artificial intelligence
technology to deliver advanced and automated products and services.
These systems allow greater transparency, control, and good performance. IOT
has several automation applications like smart home, smart parking, smart roads,
smart lighting etc.
The current manual streetlight system has several problems like maintenance
issues, timing problem, and connectivity issues. These problems can be resolved
by IOT technology. The system is based on smart and weather adaptive
automatic street lighting and management.
1
1.2 Aim of the Project
A Smart city is an urban area that uses different types of electronic data
collection sensors to supply information used to manage assets. Smart Street Light
System is a manageable and strong idea, which is utilized to switch ON/OFF of
the street lights robotically.
2
1.5 Methodology
We collecting the components like Arduino UnoR3, Bread board, Light
bulb, Photoresistor, Power Supply, Resistor , NPN Transistor (BJT) , Jumper Wires.
Then connecting the components with the help of jumper wires. After connected these
components, we implement the program on it. Then start simulation and read the monitor
or we saw the bulb is glowing. When the light intensity is low then the bulb is glowing
and when the light intensity is high the bulb is stop glowing.
3
Chapter 2
LITERATUREREVIEW
Arjun, S. Stephenraj, N.Naveen Kumar, K.Naveen Kumar, Department of CSE,
University College of Engineering Villupuram, TamilNadu, Villupuram, 2019 IEEE
International Conference on System, Computation, Automation and Networking
(ICSCAN)
Today's modern world people preferred to live the sophisticated life with all
facilities. The science and technological developments are growing rapidly to meet the
above requirements. With advanced innovations, Internet of Things (IoT) plays a major
role to automate different areas like health monitoring, traffic management, agricultural
irrigation, street lights, class rooms, etc., Currently we use manual system to operate the
street lights, this leads to the enormous energy waste in all over the world and it should
be changed. In this survey we studied about, how IoT is used to develop the street lights
in the smart way for our modern era. It is an important fact to solve the energy crises and
also to develop the street lights to the entire world. In addition, with the study on smart
street lighting systems we analyzed and described different sensors and components
which are used inIoT environment. All the components of this survey are frequently
used and very modest but effective to make the unswerving intelligence systems.
4
Chapter 3
PROJECT DESCRIPTION
Advantages
• Smart street lights contribute to more livable cities by helping to improve safety
and reduce congestion.
• Reduced energy cost.
• Smart street lights more efficiently manage electricity, leading to greater cost
savings compared to simple LED luminaires.
• Increased revenue opportunities.
5
3.3 Feasibility Study
3.3.1 Economic Feasibility
This system of street lightening uses the renewable source of energy; and
therefore, it is environmental friendly. The proposed alternative Smart Street Light
(SSL) looks better than the conventional street lightening system which involves
high pressure sodium vapour (HPSV) lamps powered by electric grid through
transmission lines. However, installation cost of SSL is much higher than the
HPSV system installation. On the other hand, components of SSL have higher life
time than the components of HPSV system .
6
3.3.3 Social Feasibility
This feasibility study sits alongside a Smart Street Lighting System, which provides
smart city inspiration for Council including some developed concepts addressing the
specific challenges of the Councils. A Smart Street light improves road safety. It helps to
reduce crime and makes cities more vibrant and attractive paces for both business and
communities.
• Laptop or Desktop
• Arduion
• LDR
• Tinkercad
• https://create.arduino.cc/editor
• Chrome Browser
7
Chapter 4
MODULE DESCRIPTION
This Smart Street Light System provides good energy efficiency. It reduces cost and
gives more reliability. This diagram consist sensor, light, power system. This
architecture is used to sense the vehicles and act accordingly. In this diagram street lights
control by the sensors. It get the data from object. When vehicles appear to sensor then
automatically lights ON. That the object moved on from sensors lights turn OFF. In this
diagram its represents the works of Smart Street Lighting System. When objects or
vehicles appear to the sensors it is detect movements of the objects and street lights
automatically ON. Then objects crossed to the sensors lights go to turn OFF. It is used to
save the power energy.
8
4.2 Design Phase
4.2.1 Data Flow Diagram
10
4.2.2 UML Diagram
11
4.2.3 Use Case Diagram
12
4.2.4 Class Diagram
Class diagrams are the main building blocks of every object oriented methods.
The class diagram can be used to show the classes, relationships, interface,
association, and collaboration. Since classes are the building block of an
application that is based on OOPs, so as the class diagram has appropriate
structure to represent the classes, inheritance, relationships, and everything that
OOPs have in its context. It describes various kinds of objects and the static
relationship in between them. In software engineering, a class diagram in the
UML is a type of static structure diagram that describes the structure of a system
by showing the system’s classes, their attributes, operations (or methods) and the
relationships among objects. The class diagram is the main building block of
object-oriented modeling. It is used for general conceptual modeling of the
structure of the application, and for detailed modeling translating the models into
programming code. Class diagrams can also be used for data modeling. The
classes in a class diagram represent both the main elements, interactions in the
application, and the classes to be programmed.
13
4.2.5 Sequence Diagram
14
4.3 Module Description
Components Required:-
• Arduino UnoR3
• Bread board
• Light bulb
• Photoresistor
• Power Supply
• Resistor
• Jumper Wires
1. Arduino UnoR3
15
Arduino Uno is a microcontroller board based on the ATmega328P. It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz
ceramic resonator (CSTCE16M0V53-R0), a USB connection, a power jack, an ICSP
header and a reset button.
2. Bread Board
16
3. Photoresistor
17
4. Power Supply
A power supply is an electrical device that supplies electric power to an electrical load.
The primary function of a power supply is to convert electric current from a source to
the correct voltage, current, and frequency to power the load.
As a result, power supplies are sometimes referred to as electric power converters. Some
power supplies are separate standalone pieces of equipment, while others are built into
the load appliances that they power. Examples of the latter include power supplies found
in desktop computers and consumer electronics devices.
18
5. Resistor
19
A bipolar junction transistor is a type of transistor that uses both electrons and electron
holes as charge carriers. In contrast, a unipolar transistor, such as a field-effect transistor,
uses only one kind of charge carrier.
7. Jumper Wires
Jumper wires are simply wires that have connector pins at each end, allowing them to be
used to connect two points to each other without soldering.
Jumper wires are typically used with breadboards and other prototyping tools in order to
make it easy to change a circuit as needed. Fairly simple. In fact, it doesn’t get much
more basic than jumper wires.
Procedure
• Step 1:- Open a tinkercad website on www.tinkercad.com and create a new project
in circuit blocks.
• Step 2:- Collect the components like arduino, resistor, bread board, photoresistor,
PNP resistor, power supply, bulb and jumper wires.
• Step:- 3:-
❖ Connect the terminal 2 of NPN transistor to resistor with pin 3 of arduion board.
❖ Connect the positive side of bulb with positive side of power supply.
21
Source Code
int ldr=A5;
int ldr_value;
int light=3;
void setup()
pinMode(light, OUTPUT);
pinMode(ldr, INPUT);
void loop()
ldr_value=analogRead(ldr);
if (ldr_value>512)
digitalWrite(light, LOW);
else
digitalWrite(light, HIGH);
22
Chapter 5
The lighting comes from LED bulbs, which are trigger by multi sensors. A person,
object/vehicle appears nearby the sensors, It capture the signals and turn ON the
particular street lights. When object moves lights automatically works. SSLS used to
save the energy, mainly helps to save the power. LDR LED lights dependent devices
whose resistance decreases when light falls on them and increases in the dark. When a
light dependent resistor is kept in dark, its resistance is very high. The vehicle which
passes by the street light is detected by LDR sensor. Relay are used as a switch to switch
on/off the street light bulb.
23
5.1.2 Output Design
24
25
5.2 Testing
Testing is a process to check if the application is working same as it was supposed to
do, and not working as it was not supposed to do. Software testing is the process of
verifying a system with the purpose of identifying any errors, gaps or missing
requirement versus the actual requirement.
Integration testing (sometimes called integration and testing, abbreviated I&T) is the
phase in software testing in which individual software modules are combined and
tested as a group. Integration testing is conducted to evaluate the compliance of a
system or component with specified functional requirements.
26
5.3.4 White Box Testing
White Box Testing is software testing technique in which internal structure, design
and coding of software are tested to verify flow of input-output and to improve
design, usability and security. In white box testing, code is visible to testers so it is
also called Clear box testing, Open box testing, Transparent box testing, Code-based
testing and Glass box testing.
White Box Testing is software testing technique in which internal structure, design
and coding of software are tested to verify flow of input-output and to improve
design, usability and security. In white box testing, code is visible to testers so it is
also called Clear box testing, Open box testing, Transparent box testing, Code-based
testing and Glass box testing.
27
5.3.6 Test Result
28
Chapter 6
30
References
[1] Li, Z.; Chen, C.; Wang, K. Cloud Computing for Agent-Based Urban Transportation
Systems. IEEE Intel. Syst. 2011, 26, 73–79.
[2] Mitton, N.; Papavassiliou, S.; Puliafito, A.; Trivedi, K.S. Combining Cloud and
sensors in a smart city environment. EURASIP J. Wirel. Commun. Netw. 2012, 2012,
doi:10.1186/1687-1499-2012-247.
[3] Lee, J.; Baik, S.; Lee, C. Building an Integrated Service Management Platform for
Ubiquitous Cities. Computer 2011, 44, 56–63.
[4] https://www. youtube.com
[5] https://www.tinkercad.com
[6] Li, F.; Voegler, M.; Claessens, M.; Dustdar, S. Efficient and Scalable IoT Service
Deliveryon Cloud. In Proceedings of the 2013 IEEE Sixth International Conference on
Cloud Computing (CLOUD), Santa Clara, CA, USA, 28 June–3 July 2013; pp. 740–747.
[7] Hwang, K.; Dongarra, J.; Fox, G.C. Distributed and Cloud Computing: From
Parallel Processing to the Internet of Things, 1st ed.; Morgan Kaufmann Publishers Inc.:
San Francisco, CA, USA, 2011. LogMeIn, I. Xively. 2015. Available online:
https://xively.com/ (accessed on 1 July 2015).
31