Professional Documents
Culture Documents
An Internship
ReportOn
“IOT BASED AUTOMATIC STREET LIGHTNING
SYSTEM”
Submitted in Partial fulfilment for the award of the degree
of
Bachelor of
Engineering in
Computer Science and
EngineeringSubmitted by:
RAJU T
1AJ19CS036
Under the guidance of
Internal Guide External Guide
Dr. Mamatha C M Asim Kumar Sinha
Dept of CSE, CIT-NC CEO of IIOT Expert
ENGINEERING
CAMBRIDGE INSTITUTE OF TECHNOLOGY NORTH CAMPUS
KUNDANA, BENGALURU-562110
2022-23
CAMBRIDGE INSTITUTE OF TECHNOLOGY NORTH CAMPUS
KUNDANA, BENGALURU-562110
(Affiliated To Visvesvaraya Technological University, Belagavi)
CERTIFICATE
This is to certify that the Internship report entitled “IOT BASED AUTOMATIC
STREET LIGHNING SYSTEM” carried out by Mr. Raju T (1AJ19CS036), is a bonafide
student of Cambridge Institute of Technology North Campus in partial fulfilment forthe
award of Bachelor of Engineering in Computer Science and Engineering of
Visvesvaraya Technological University, Belagavi during the year 2022-23. It is certified
that all corrections/suggestions indicated for internal assessment have been incorporated in
the report submitted in the department library.
The Internship report has been approved, as it satisfies the academic requirements in
respect of internship report prescribed for the said degree.
I also thank all teaching and non-teaching staff and my parents for their kind
cooperations. We alsoextend my heartfelt thanks to all who directly or indirectly
encouraged us to complete this project.
Raju T
1AJ19CS036
TABLE OF CONTENTS
1 ABSTRACT I
2 II
ACKNOWLEDGEMENT
3 TABLE OF CONTENTS III
CHAPTER 1 1-3
INTRODUCTION
1.1 Introduction
1.2 Services
CHAPTER 2 4-5
INTERNSHIP DOMAIN
2.1 IOT
2.2 Sensors
CHAPTER 3 6-7
INTRODUCTION TO PROJECT
CHAPTER 4 8
OBJECTIVES
CHAPTER 5 ARCHITECTURE 9
CHAPTER 6
HARDWARE AND SOFTWARE REQUIRMENTS 10-19
6,1 Hardware
6.2 Software
5.2 Working
26
RESULT
REFERENCES 28
IOT Based Automatic Smart Lightning System 2022-23
CHAPTER 1
COMPANY PROFILE
1.1 INTRODUCTION
IIOTEXPERT is a Bangalore based System integrator & a Channel Partner in India
for Vorne Industries Inc. a cloud based Industrial IoT Company in Chicago,
USA.IIOTEXPERT Offer their client the industrial IoT solution for fast ROI.IIOTEXPERT is
the leading Engineering Services and Solutions provider with rich domain knowledge in
Industrial Automation, Industry 4.0, IIoT, ERP Design Engineering, Software Development,
IT-OT integration, IT related hardware, Industrial Cyber security, Conveyor system and
Warehouse Automation related services.
1.2 SERVICES
1.2.1 IIoT Project support
IOTEXPERT is a team of highly committed and passionate engineers, striving to
utilize their expertise to provide Cost-Effective End to End Industrial Automation
Solutions to take your control systems and processes to the next level of growth,
reliability, sustainability, efficiency, quality and safety.
Monitor computer system and networks to identify security breach Analysis of threats to
process control systems Developing best practices and security standards Investigate and
report onsecurity threats and incidents; conduct post-event reviews of security incidents.
Design and implementation of security and safety architectures in process control systems
Review of plant and process security procedures and concepts Minimize cyber security
incidents and workwith vulnerability scanning technologies.
Visibility & Asset Management: We offers 100% visibility into all three variables
of risk in your industrial network: OT, IoT, and IIoT assets, connections, and
processes.
1.3 PRODUCTS
1.3.1 VORNE XL
Monitor computer system and networks to identify security breach Analysis of threats to
process control systems Developing best practices and security standards Investigate and
report on security threats and incidents; conduct post-event reviews of security incidents
Design and implementation of security and safety architectures in process control systems
Review of plant and process security procedures and concepts Minimize cyber security
incidents and work with vulnerability scanning technologies
Visibility & Asset Management: We offers 100% visibility into all three variables of
riskin your industrial network: OT, IoT, and IIoT assets, connections, and processes.
Network Segmentation: We segment your industrial network into Virtual Zones,
which are policy-defined groups of assets that communicate with one other
under normalcircumstances.
CHAPTER 2
INTERNSHIP DOMAIN
IOT
2.1 IoT stands for Internet of Things. It refers to the interconnectedness of physical
devices, such as appliances and vehicles, that are embedded with software, sensors, and
connectivity which enables these objects to connect and exchange data. This technology
allows for the collection and sharing of data from a vast network of devices, creating
opportunities for more efficient and automated systems.
2.2 Sensors
A sensor is a device that measures physical input from the environment and converts it into data
that can be measured by a human or a machine. Most sensors are electronic that analog data is
converted into digital data, but some are simpler, such as a glass thermometer, which presents
visual data.
The sensors can be used to monitor various changes, they can be as follows:
Temperature
Pressure
Position
Weight
Range: It indicates the range of the input in which it can vary. It can be different
for allsensors.
Accuracy: It is the degree of correctness between actual measurement and
true value.Accuracy is expressed in a percentage of full-range output.
Sensitivity: Sensitivity is a relationship between input physical
signal anddigital/electrical output.
Stability: It is the ability of the sensor to produce the same output for a constant
periodof time.
Repeatability: It is the ability of the sensor to produce the same output
value fordifferent applications with the same input value.
Response Time: It is the speed of change in output and change in input.
Linearity: It is specified in terms of the percentage of nonlinearity. Nonlinearity
is anindication of the deviation of the curve of actual measurement from the curve
of idealmeasurement.
CHAPTER
3
INTRODUCTION TO PROJECT
Nowadays, human has become too busy, and is unable to find time to switch the lights
wherever not necessary. The present system is like the lights will be switched on in the evening
before the sun sets and they are switched off the next day morning after there is sufficient light
on the outside. But the actual timing for these lights to be switched on are when there is
absolute darkness. With this, the power will be wasted up to some extent.
This paper gives the best solution for electrical power wastage. Also, the manual
operation of the lighting system is completely eliminated. The energy consumption in entire
world is increasing at the fastest rates due to population growth and economic development and
the availability of energy sources remains woefully constrained. Resource augmentation and
growth in energy supply has not kept pace with increasing demand and, therefore, continues to
face serious energy shortages.
Streetlights are an integral part of any developing locality. They are present on all major
road ways and in the suburbs too. Every day, streetlights are powered from sunset to sunrise at
full strength, even when there is no one around. On a global scale, millions of dollars are spent
each day on these street lights to provide the required electrical energy. The maintenance and
replacement costs of conventional incandescent bulbs are immense. They consume a lot of
electric power to function and their heat emissions are also quite high. All of this contributes to
greater demand of electricity production and consequently, more carbon dioxide emissions
from powerhouses. So, along with unnecessary light pollution, this practice causes damage to
our planet too.
The project aims at harvesting the energy from renewable energy sources like sun and to
effectively use the harvested energy for the benefit of mainly the remote villages (villagers)
facing the serious power problems. The main aim of the project is to provide a “IoT based
Automatic Street Lightning System” powered with solar energy during night time. We use the
word “smart” because the system not only provide power to the street lights but also helps in
detecting the direction of movement of the pedestrian and helps him by means of illuminating
the path of movement till the near next street light.
A simple and effective solution to this would be dimming the lights during off peak
hours. Whenever presence is detected, the lights around it will glow at the normal (bright)
mode. This would save a lot of energy and also reduce cost of operation of the streetlights.
We can check the status of street light on internet using IOT (Internet of things) from
anywhere in real time and solve the issues if happen during the processing. Additionally, a
table top prototype has been constructed to display the concept’s functioning. The
components used for the real-life implementation are substituted appropriately to recreate the
ambience.
CHAPTER 4
OBJECTIVES
The main objective of this project is to implement a IoT based Automatic Street Lightning
System. As the traffic decreases slowly during late-night hours, the intensity gets reduced
progressively till morning to save energy and thus, the street lights switch on at the dusk and
then switch off at the dawn, automatically. The process repeats every day.
White Light Emitting Diodes (LED) replaces conventional HID lamps in street lighting system
to include dimming feature. The intensity is not possible to be controlled by the high intensity
discharge (HID) lamp which is generally used in urban street lights. LED lights are the future of
lighting because of their low energy consumption and long life. LED lights are fast replacing
conventional lights because intensity control is possible by the pulse width modulation. This
proposed system uses an Arduino board. Strings of LED are interfaced to the Arduino board. A
programmed Arduino board is engaged to provide different intensities at different times of the
night.
This project is enhanced by integrating the LDR to follow the switching operation precisely and
IOT to display the status of street on web browser and help in controlling it. The main objectives
are as follows:
To avoid unnecessary Waste of light.
Provide efficient, automatic and smart lightning system.
Totally based on Renewable energy sources.
Longer life expectancy.
Energy Saving.
CHAPTER 5
SYSTEM ARCHITECTURE
The above fig illustrates the overall working mechanism and features of the lightning concept.
Firstly, LDR will sense the intensity value of sunlight and send it to Arduino. Arduino will
judge if the received value is above the threshold level, then it will consider it as day time and
LEDs will remain OFF, or if the received value below the threshold level, Arduino will
consider it as a night time. In the night time, if the value of IR obstacle detector sensor is
LOW and detects no object, then DIM LEDs will glow, or if IR obstacle detector value is
HIGH and detects any object, then HIGH LEDs will glow. Arduino will also count the total
number of vehicles that crossed the street in the night time with the help of IR obstacle
detection sensor will demonstrate it to the serial monitor.
CHAPTER 6
HARDWARE AND SOFTWARE REQUIREMENTS
6.1.2 Arduino
Arduino is a single-board microcontroller, intended to make the application of interactive
objects or environments more accessible. The hardware consists of an open-source hardware
board designed around an 8-bit Atmel AVR microcontroller, or a 32-bit Atmel ARM. Current
models feature a USB interface, 6 analog input pins, as well as 14 digital I/O pins which
allows the user to attach various extension boards.
The Arduino board exposes most of the microcontroller's I/O pins for use by other circuits.
The Diecimila, Duemilanove, and current Uno provide 14 digital I/O pins, six of which can
produce pulse width modulated signals, and six analog inputs.
The Arduino integrated development environment (IDE) is a cross-platform application
writtenin Java, and is derived from the IDE for the Processing programming language and the
wiring projects. It is designed to introduce programming to artists and other newcomers
unfamiliar with software development. It includes a code editor with features such as syntax
highlighting, brace matching and automatic indentation, and is also capable of compiling and
uploading programs to the board with a single click. A program or code written for Arduino is
called a "sketch".
Non-Inverting amplifier: Leg three is the input and the output is not reversed. In a non-
inverting amplifier the voltage enters the 741 chip through leg three and leaves the 741 chip
through leg six. This time if it is positive going into the 741 then it is still positive coming out.
a) Arduino IDE
• Arduino is Opensource hardware and software company, project, and user community that
designs and manufactures single board microcontrollers and microcontroller kits for building
digital devices.
• Arduino IDE is the software provided by the Arduino which is open source and is mainly
usedfor writing and compiling the code into the Arduino Module.
• The IDE environment mainly contains two basic parts. “Editor” and “Compiler” where formeris
used for writing the required code and later is used for compiling and uploading the code into the
given microcontroller boards.
• Nodemcu can be programmed using Arduino IDE by installing the required “ESP8266” libraries.
• Also, Blynk libraries are installed to connect to the Blynk cloud and mobile app.
Blynk Cloud provides a software as a service. It allows to create a product over a cloud and
link the product to the connecting device.
Blynk provides website “Blynk.io” to create the template of the product and also provides a
web dashboard to create nice user interface with customizable widgets for representing
different parameters.
The interesting part is that Blynk also provides an Blynk IoT mobile app for both android and
IOS which can be downloaded on app stores for free.
This app comes with the template which is already created on the website.
The wifi credentials are fed into the device using the app.
It also comes with lot of customizable widgets to represent the various parameters and actions
such as gauges for temperature, moisture etc. Switch for controlling switching action etc.
CHAPTER
7
DESIGN AND IMPLEMENTATION
This block diagram describes the working of project ‘Solar smart Street light System with IoT’.
Solar panel of 10Watt is used here with will converts the incoming sunlight
into electrical energy and used to charge the battery using switching circuit
which converts the varying voltage into stable voltage.
Now this charged battery is used as a supply source to rest of the system.
Through battery we will provide supply to Arduino which is controlling the
functioningof LDR and IR sensor as per the presence of vehicle.
Then according to the changed occur in IR sensor and LDR the Arduino
controls the power LED circuit.
The serial monitor data of Arduino is now displayed on web browser using
IoT.This whole working in details in shown below using flow chart.
7.2Working
Realtime Database:
Firebase provides a realtime database and backend as a service. The service provides
application developers an API that allows application data to be synchronized across clients
and stored on Firebase's cloud. The company provides client libraries that enable integration
with Android, iOS, JavaScript, Java, Objective-C and Node.js applications.
Developers using the realtime database can secure their data by using the company's server-
side- enforced security rules.
Firebase Auth:
Firebase Auth is a service that can authenticate users using only client-side code. It supports
social login providers Facebook, GitHub, Twitter and Google. Additionally, it includes a user
management system whereby developers can enable user authentication with email and
password login stored with Firebase.
Hosting:
Firebase Hosting is a static asset web hosting service that launched on May 13, 2014. It
supports hosting static files such as CSS, HTML, JavaScript and other files that do not change
dynamically. The company states that Firebase Hosting grew out of customer requests,
developers were using Firebase for its real-time database but needed a place to host their
content.
For this project we follow following steps to introduce IoT and use it:
1. Firstly, we need to interface the arduino’s serial monitor to firebase application. For
this we need to use python to interface it by give source as COM port and destination
as App address.
2. Then we need to design an App where we want to show our real time data
3. Firebase will automatically update the data and store it on its cloud service.
RESULTS
The use of power electronics is increasing exponentially across various sectors of human life.
The components used in the project, like Arduino and sensors are slowly becoming an
indispensable part of our daily routines. So, it is only fitting that we use them to
improve efficiency in every walk of life. Keeping in mind the urgent need for energy
conservation, Solar Smart Street Light System with IoT is an excellent and effective
solution. It combines safelighting protocols with consumption of minimal amount of power.
The energy savings, as discussed before are phenomenal. The future scope of this project
expands into speed detectionand customizable area of illumination.
An additional component which would lead to better functioning of the concept would be the
useof LED bulbs. Despite their high initial costs, they are a viable option as they drastically
reduce the power consumption. They will aid in further saving of energy and reduction in
operational costs.
FUTURE SCOPE
The Solar Smart Street Light System with IoT can be powered from a battery, which can be
charged during day time by harvesting the solar energy through a solar cell. The solar energy
harvested from sunlight can be stored, inverted from DC voltages to AC voltage using sun tie
converter. The AC voltage can be stepped up and given to the electric grid. The AC
voltage from theelectric grid can be stepped down, rectified and used for powering the circuit.
Meanwhile, the street light can also be powered by the A.C. voltage, which is controlled by a
relay switch connected to the switching part of the circuit. The above mentioned strategy will
enable us to harvest solar energy in an effective way for the operation of the circuit and for
powering the street light also.
Using this smart project, we can also estimate the speed of the vehicle, recognizing the
number plate, recognizing the accidents took place on roads etc.
This Smart Street light project not only helps in rural areas but also beneficial in urban areas
too. As we are moving towards more advancement we require more power so use of
renewable resources is useful and advantageous. With this project, we can even add smart
parking of vehicle and it is even useful for driverless cars.
This project has a bright future not only to save power but also reduced the calamities and
even reduced the crime rate.
REFERENCES
[1] http://www.ehow.com/how-does_5561845_do-ir-sensors-work.html#ixzz310syLD6I
[2] http://homepages.which.net/~paul.hills/Emc/BecBody.html
[3] http://en.wikipedia.org/wiki/Arduino
[4] http://www.galco.com/comp/prod/sensor.htm
[5] http://www.passmyexams.co.uk/GCSE/physics/LM324.html
[6] https://en.wikipedia.org/wiki/Internet_of_Things
[7] http://www.internetsociety.org/doc/IoT-overview
[8] https://www.firebase.com
[9] https://en.wikipedia.org/wiki/Firebase
[10] http://www.main.org/polycosmos/glxywest/vimanas.htm-Indian Flying Machines
[11] http://www.electronicsforyou.comI.
[12] http://www.triplepundit.com/2011/08/solar-farming-potential-india/-SolarFarming
[13] http://en.wikipedia.org/wiki/Solar_cell
[14] http://www.planetarypower.com.au/solar_panels.htm
[15] http://www.icreateproject.info/uncategorized/arduino-display-data-over-local-network/
[16] http://www.electronicshub.org/solar-battery-charger-circuit/
[17]http://www.instructables.com/id/How-to-communicate-with-Arduino-using-
HTMLChrome/step5/The-end/.
[18] https://github.com/whichlight/Arduino-Serial-to-Browser
[19] https://en.wikipedia.org/wiki/Solar_panel
[20] http://www.engineersgarage.com/electronic-components/capacitors