Professional Documents
Culture Documents
LIGHT SYSTEM
BY
This project is about the design and construction of an automatic street light system for the
reduction in power consumption. The street lights will turn on only at night while but remain
in a dim mode for visibility and the street light will fully illuminate when a vehicle is detected
with an ultrasonic sensor. An Arduino Nano board is used for the microcontroller to be
interface with the sensor, LDR which senses day and night and LED. This proposed system
will overcome the problem that has been faced with the previous systems.
This project consists of the introduction to the project, motivation for study, problem statement
aims and objectives. A review of related literature is stated. It describes in details the
components to be used and describe the processes and methodology in steps and sections of
The testing results and analysis of the projects are carried out at the end of the design to check
if the project is designed and constructed according to the specification of the desired output.
The report also is concluded with the experiences and recommendation concerning this projects
2
TABLE OF CONTENTS
CERTIFICATIONS ii
DEDICATION iii
ACKNOWLEDGEMENT iv
ABSTRACT v
TABLE OF CONTENTS vi
LIST OF FIGURES viii
TABLE OF FIGURES ix
CHAPTER ONE 1
INTRODUCTION 1
1.1 BACKGROUND OF STUDY 1
1.2 STATEMENT OF PROBLEM 2
1.3 AIM AND OBJECTIVES 3
1.4 SCOPE OF STUDY 3
CHAPTER TWO 5
LITERATURE REVIEW 5
2.1 OVERVIEW OF AUTOMATIC STREET LIGHT 5
2.2 HISTORY OF STREET LIGHT 5
2.3 THE AUTOMATIC STREET LIGHT 6
2.4 AREAS INTELLIGENT LIGHT CONTROL ARE APPLIED 7
2.5 REVIEW OF PREVIOUS WORK 7
2.6 PRESENT METHOD 11
2.7 CONCLUSION 13
CHAPTER THREE 15
MATERIALS AND METHODOLOGY 15
3.1 INTRODUCTION 15
3.2 DESIGN BLOCK DIAGRAM 15
3.3 DESIGN ANALYSIS 16
3.3.1 Design of the Power Supply Circuit for the automatic Street light System. 16
3.3.2 Transformer 17
3.3.3 Rectifier: 18
3
3.3.4 Capacitive filter 18
3.3.5 Resistors 19
3.3.6 Voltage regulator 19
3.3.7 Light-emitting diode (LED) 20
3.4 INPUT ELEMENTS 20
3.4.1 Light Dependent Resistor (LDR) 20
3.4.2 Ultrasonic Sensor 21
3.5 THE MICROCONTROLLER 22
3.5.1 Arduino Nano board 22
3.5.2 Features of the Microcontroller 23
3.5.3 Microcontroller specification 26
3.5.4 Pin Configuration 26
3.5.5 Sensors 27
3.6 METHODOLOGY 29
3.7 DESIGN PROCEDURE 30
3.8 FABRICATION TECHNIQUES 30
3.8.1 Mechanical Fabrication 31
3.9 CONNECTIONS 31
3.10 PICTURE OF ACTIVITIES CARRIED OT DURING DESIGN 32
CHAPTER FOUR 34
RESULTS AND DISCUSSION 34
4.1 INTRODUCTION 34
4.2 CONSTRUCTION 34
4.3 TESTING 34
4.4 RESULTS 34
4.5 TROUBLESHOOTING 35
4.6 CONCLUSION 35
CHAPTER FIVE 36
RECOMMENDATIONS AND CONCLUSIONS 36
5.1 INTRODUCTION 36
5.2 BENEFITS 36
4
5.3 RECOMMENDATIONS 36
5.4 CONCLUSION 37 REFERENCES 38
5
LIST OF FIGURES
Figure 3. 4: Transformer 18
Figure 3. 5: Resistor 19
Figure 3. 12: The Block Diagram on the Internal Structure of the AVR Microcontroller 27
Figure 3. 13: Circuit diagram for the automatic street light system 31
6
TABLE OF FIGURES
Table 1.1: Arduino Nano Specifications 22
7
CHAPTER ONE
INTRODUCTION
Today electricity is a major concern worldwide and most of the power generation stations are
based on conventional fuels like coal but we have limited sources of these non-renewable fuels.
To minimize the dependence on these sources, we have to move on to new and renewable
sources like solar and wind, etc. However proper usage of electricity could also be one of the
effective tools for saving conventional fuels. Street lights are one of the most crucial parts for
public lighting systems which consume a major part of the generated electricity. The
conventional or manual controlled street lighting system has demerits like high power
Street lights can be used to promote security in urban areas, street lights also improve safety
for drivers, riders, and pedestrians. Driving outside of daylight is more dangerous, only a
quarter of all movement by car drivers is between the hours of 8 am and 7 pm, yet this period
accounts for over 40% of fatal and serious injuries to the same group also, pedestrians and
vulnerable road users suffer from decreased visibility in the dark. The idea of designing a new
system for the street light that does not consume a huge amount of electricity and illuminate
large areas with the highest intensity of light is concerning each engineer working in this field.
Providing street lighting is one of the most important and expensive responsibilities of a city.
Lighting can account for 10–38% of the total energy bill in typical cities worldwide. Street
lighting in particular is a critical concern for public authorities in developing countries because
8
Inefficient lighting wastes significant financial resources every year, and poor lighting creates
unsafe conditions. Energy-efficient technologies and design mechanism can reduce the cost of
Manual control is prone to errors and leads to energy wastages and manually dimming during
midnight is impracticable. Also, dynamically tracking the light level is manually impracticable.
Today the introduction of an automatic street light system is developed to control and reduce
the energy consumption of a town's public lighting system when there is no vehicle movement.
Street lighting is one of the important parts of a city’s infrastructure where the main function
is to illuminate the city’s streets during dark hours of the day. Street lamps were controlled
manually, where a control switch is set in each of the street lamps. It is called the first
generation of the original street light. After that, another method that was been used was optical
control method. This method uses a high-pressure sodium lamp in their system. It can be seen
that this method is widely used in the country nowadays. This method operates by setting up
an optical control circuit. It lights up automatically at dusk and turns off automatically after
The proposed system utilizes the latest technology for the sources of light as LED Lamps
instead of generally used street lamps such as High-Pressure Sodium Lamps, etc. The LED
technology is preferred as it offers several advantages over other traditional technologies like
energy saving due to high current luminous efficiency, low maintenance cost, high colour
rendering index, rapid startup speed, long working life etc. High-intensity discharge lamp
(HID) presently used for urban street light are based on the principle of gas discharge, thus the
Existing methods like switching on/off the light manually are time-consuming & require
manpower. The new method automatic ON/OFF without human intervention is easier when
9
compared to the existing system. High-intensity discharge lamp (HID) presently used for urban
street light are based on the principle of gas discharge, thus the intensity is not controllable by
street lights.
iii. Reduction of light pollution and CO2- emission. iv. Increases security through
visibility at night.
To design an automatic lighting system which targets energy saving and the autonomous
Build an energy-saving, automatic lighting system with integrated sensors and controllers.
Design an automatic lighting system with modular approach design, which makes the system
adaptable, expandable and compatible with other commercial product and automation systems,
which might include more than lighting systems. Moreover, errors which occur due to manual
operation can also be eliminated as all Street Lights can be switched ON/OFF automatically
and no labour is required for switching. Doing all these in turn increases the performance and
10
1.4 SCOPE OF STUDY
Moving with the new and renewable energy sources, this system will serve the same purpose
of automatically controlling the street lights “switch ON and OFF” alternate lights during late-
night while saving energy “power consumption”, and by doing so we would be able to lighten
few more houses. This system also reduces human resource and increase the lifetime of the
11
CHAPTER TWO
LITERATURE REVIEW
We need to save or conserve energy because most of the energy sources we depend on, like
coal and natural gas can't be replaced. Once we use them up, they're gone forever. Saving power
is very important, instead of using the power in unnecessary times, it should be switched off.
In any city “street light” is one of the major power-consuming factors. Most of the time we see
street lights are ON even after sunrise thus wasting a lot of energy. Over here we are avoiding
the problem by having an automatic system which turns ON & OFF the street lights at a given
time or when the ambient light falls below a specific intensity. Each controller has an LDR
which is used to detect the ambient light. If the ambient light is below a specific value, the
lights are turned ON. The ultrasonic sensor is used to detect movement of vehicle or human
which is interfaced with the microcontroller which is the brain of the automatic system. The
microcontroller responds by giving a command to the LED to turn ON to their full brightness
Street light is a source of light that is raised above the ground level on the edge of a road or
walkway, which is used to provide illumination during dusk, dawn, or the onset of dark
weather. Following the invention of lanterns with glass windows, which greatly improved the
quantity of light. This Lanterns were suspended from a cord over the middle of the street at a
height of twenty feet and were placed twenty yards apart. A much-improved oil lantern, called
a réverbère, was introduced between 1745 and 1749. The first widespread system of street
lighting used piped coal gas as fuel. Stephen Hales was the first person who procured a
12
flammable fluid from the actual distillation of coal in 1726 and John Clayton, in 1735, called
gas the "spirit" of coal and discovered its flammability by accident. William Murdoch was the
first to use the flammability of gas for the practical application of lighting.
The first electric street lighting employed arc lamps, initially the 'Electric candle', developed
by the Russian Pavel Yablochkov in 1875. This was a carbon arc lamp employing alternating
current, which ensured that both electrodes were -consumed at equal rates.
Automatic street lighting refers to public street lighting that adapts to movement by pedestrians,
cyclists and cars. Automatic street lighting works with systems intelligence also referred to as
adaptive street lighting, dims when no activity is detected but brightens when movement is
The first patent requests for automatic street lighting started from the late 1990s but it wasn’t
until April 7, 2006, that Europe experienced the first large scale implementation of a control
network in a street lighting application. The implementation took place in Oslo (Norway) and
it was expected to reduce energy usage by 50 per cent, improve roadway safety, and minimize
maintenance costs.
The Oslo project triggered interest from other cities in Europe and formed the basis for other
sustainability initiatives, such as the E-Street initiative. This research group focused on ways
to reduce energy usage in outdoor lighting systems in the European Union (EU). The E-Street
group strongly influenced EU standards and legislation for intelligent outdoor lighting systems.
Street lights can be made intelligent by placing cameras or sensors on them, which enables
them to detect movement. Additional technology enables the street lights to communicate with
13
one another. Different companies have different variations to this technology. When a passer-
which will brighten so that people are always surrounded by a safe circle of light. The
technology behind this intelligent street light is also applicable generally in light control.
Automatic light control provides opportunities to enrich the user experience and increase value.
Lighting can also be integrated into other system topologies such as security systems or
automation and control. Aesthetically, lighting control supports custom mood lighting designs
which can vary brightness, colour and colour temperature across large lighting arrays.
The system can be widely applied in all places which need timely control such as streets,
Automatic Street Light Control System Using Microcontroller; manual operation of the
lighting system is eliminated; two sensors are used which are Light Dependent Resistor LDR
14
sensor to indicate a day/night time and the photoelectric sensors to detect the movement on the
street the microcontroller PIC16F877A is used as the brain to control the street light system,
where the programming language used for developing the software to the microcontroller is C-
Richu Sam Alex et al., (2014) proposed a system which reduces the power consumption of the
street lighting system about 30% compared to conventional design. This system is fully
automated. It also uses ZigBee so that the control station can also analyse all the performances
of the system.
Daeho Kim et al., (2011) worked on smart LED lighting system by using Infrared and
Ultrasonic sensors together. Here they proposed a model which continuously tracks the human
motion. Output based on the human tracking data which is obtained by these sensors is
responsible for determining the On-Off control of the LED lighting. The previously existing
system fails in continuously monitoring the motion of an object by using each sensor
separately. For the same reason, the efficiency of the existing system is low. By the hardware
implementation, they developed a model to improve the efficiency which helps in smart
lighting. The proposed approach makes use of sensors in which IR sensor sends the sensed data
to the MCU board which in turn sends the same data to the LED control layer.
Depending on the results of the sensed data LED control layer turns on the lighting system.
The human presence is detected by the IR sensor and continuous tracking is possible by the
Ultrasonic (US) sensor. As before the sensed values are sent to the MCU board by US sensor
which controls the On-Off of the lighting. US-IR positioning based system has to be studied in
future.
15
Subramanian et al., (2013) have developed a model which provides a smart lighting system on
streets which is mainly solar-based. The people work for late nights and also most of the
criminal activities occur during nights. Under these situations, to provide security, controlling
and monitoring of street light is developed together with GUI. Even the usage of a solar panel
helps save power and money. At the PC side, graphical user interface (GUI) takes part in
controlling the street light. For monitoring and controlling the lamps on the streets, ZigBee
technology is used. More power and energy is saved by using LDR and IS sensors.
This proposed model works on the two operational modes. They are Auto and Manual mode.
In Auto Mode On-Off of the light are done by using LDRs which measures the intensity of
light. Controlling is by use of relays. In the Manual mode, the controlling and monitoring of
the street lights are made successful by using the specially designed GUI and by using the
ZigBee technology. This proposed system is helpful to provide the street lighting in the rural
and urban areas where the traffic is low at times. This system maintains the user satisfaction
and is versatile.
Raja R et al., (2014) worked on the energy-saving concepts. Here, smart sensor networks in
DC electrical appliances like lighting helps for monitoring of energy usage. Conventional
lamps are powered by AC grid but for LED DC supply is sufficient. Dimming of light can also
be achieved by using appropriate protocol helps in energy saving. Replacing the traditional
Michele Mango et al., (2015) proposed a low cost, wireless, adaptable sensor-based smart
lighting system which makes use of PIR sensors and motion sensors. It helps control the light
intensity and power consumption using LED light. Dimming of light is achieved using PIR
sensor only in presence of obstacles around. The main advantage of this system is energy
conservation.
16
Sudhakar et al., (2013) designed an Automatic Street light that controls the power
consumptions on the streets and eliminating manpower. This includes controlling a circuit of
street lights with specific Sensors, LDR and Microcontrollers. During the daytime, there is no
requirement of street lights so the LDR keeps the street light off until the light level is low or
the frequency of light is low the resistance of the LDR is high. This prevents current from
flowing to the base of the transistors. Thus the street lights do not glow.
Saad et al., (2013) worked on an Automatic Street Light Control System Using Microcontroller
designed and executed an advanced development in embedded systems for energy saving of
street lights. Nowadays, human has become too busy and is unable to find time even to switch
the lights wherever not necessary. Solution for electrical power wastage and manual operation
of the lighting system is eliminated. Two sensors are used which are Light Dependent Resistor
LDR sensor to indicate a day/night time and the photoelectric sensors to detect the movement
on the street. The microcontroller PIC16F877A is used as a brain to control the street light
system, where the programming language used for developing the software to the
microcontroller is C-language.
Rajput et al., (2013) proposed an Intelligent Street Lighting System Using GSM; Conventional
street lighting systems in areas with a low frequency of passers are on the road most of the
night without purpose. The consequence is that a large amount of power is wasted
diode lamps and everywhere available wireless internet connection, fast reacting, reliably
operating, and power-conserving street lighting systems become reality. This work describes
the Intelligent Street Lighting (ISL) system, a first approach to accomplish the demand for
17
GSM based smart street light monitoring and control system (Natu and Chavan, 2014) is an
automatically timed controlled switching off street lights they are two modules which include
the client-side and the server-side. The client-side consists of GSM modem which is further
connected to the microcontroller which is further connected to the relay circuit; the server-side
control system which will have LED’s, ultrasonic sensors and LDR sensors. The entire system
will run only in the evening before the sunsets and they are switched OFF the next day morning
after there is sufficient light on the road which is achieved with the LDR sensor indicating
day/night time. Using ultrasonic sensors this system maintains the constant intensity of street
lights depending on the presence “movement” of a person or vehicle(s) in its detection range
and will automatically increase while automatically decrease whenever the person moves out
of the detection range. To make the system more efficient the intensity of successive street
lights will increase when the person reaches the end of the first lamppost range. The system
allows substantial energy savings with increased performance and maintainability. By using
(Hengyu and Minli, 2010) the core technology of the street light control system is an AT89S52
detection circuit, an infrared detect circuit, an LCD circuit, a street light control circuit, an
alarm circuit, a pressed key control circuit and so on. This system can automatically tum on or
off the lights and controls the switches according to traffic flow. It expands the fault detect
18
circuit and the corresponding a1ann circuit. It also has a convenient and flexible button control
(GongSiliang, 2010) describes a remote street light monitoring system based on wireless sensor
network. The system can be set to run in automatic mode, which controls street light according
to Sunrise and Sunset Algorithm and light intensity. This control can make a reasonable
adjustment according to the latitude, longitude and seasonal variation. Also, this system can
run in a controlled mode. In this mode, we can take the initiative to control street lights through
a PC monitor terminal. Also, the system integrates a digital temperature-humidity sensor, not
only monitoring the street light Real-time but also temperature and humidity. The system is
equipped with the high-power relay output and can be widely applied in all places which need
timely control such as streets, stations, mining, schools, and electricity sectors and so on.
(Gustavo W. Denardin, 2012) the use of LEDs is being considered a promising solution to
modern street lighting systems, due to their longer lifetime, higher luminous efficiency and
higher CRI. The proposed control network enables disconnection of the street lighting system
from the mains during the peak load time, reducing its impact in the distributed power system,
automatically consumption decreases and management while monitoring the status information
of each street lighting unit. To meet the system requirements, a wireless sensor network based
on the IEEE 802.15.4TM standard is employed. Its network layer is implemented using a
geographic routing strategy, which provides slow overhead and high scalability features.
However, due to well-known drawbacks of the existing techniques, a novel routing algorithm
is proposed. Simulations show that this algorithm leads to a significant improvement in routing
performance when applied to sparse large scale scenarios, which is the case of a street lighting
system. Field tests have been performed on IEEE 802.15.4-compliant wireless control units.
The obtained experimental results show that the proposed control network can meet the
19
requirements of a LED street lighting system. It mainly deals with safer roadways with an
intelligent light system to reduce power consumption. This system has automatic street light
intensity control based on the vehicular movement and switching ON and OFF of street lights
depending on the light ambience. This will help in reducing power consumption during hours
of meagre road usage. The street light module is installed consequently for every certain
distance.
(A.C. Kalaiarasan, 2012) solar energy-based street light with an auto-tracking system for
maximizing power output from a solar system is desirable to increase efficiency. To maximize
the power output from the solar panels, one needs to keep panels aligned with the sun. As such
a means of tracking the sun is required. This is a far most cost-effective solution than
purchasing additional solar panels. It has been estimated that the yield from solar panels can
This paper describes an automatic tracking system which will keep the solar panels aligned
with the sun to maximize efficiency. The sun tracking sensor is the sensing device, which
senses the position of the sun at the time to time continuously and it gives the sensing output
to the amplifier based on the light density of the sun. Here the sun tracking sensor is LDR (light
dependent resistor). The amplifier unit is used to amplify the LDR signals, which makes the
low-level signal into high-level signals and this output is given to the comparator. The LM324
IC is used as an amplifier. A comparator compares the signals and gives the command to the
AT89C51 microcontroller.
inefficient lighting which wastes significant financial resources each year. This is done by
dimming the lights during fewer traffic hours. For this purpose, a PIR sensor is used which
detects any movement. This work also aims at reducing the fatal crashes and road accidents
20
caused due to alcohol consumption. This is done using skin sensors placed in vehicle doors and
2.7 CONCLUSION
This proposed system, which is described in the paper, can effectively save energy by reducing
the power consumption as per requirement. Since this is a sensor-based system, it is self-
controlled and an automated system. However, at the same time, this system is also flexible for
any modification or further expansion such as interfacing of new sensors and connecting
surveillance camera for security purposes etc. It is a cost-effective, realistic, eco-friendly and
a safe way to save energy by replacing the conventional bulbs with LEDs and automatic
applications in various areas like lighting in bus shelters, parks and parking lots of shopping
21
CHAPTER THREE
3.1 INTRODUCTION
This chapter discusses the details processes and the method employed in the design of an
automatic street light control system. The method includes the design of the power supply,
The block diagram of fig 3.1 shows the sections of the automatic street light system and how
the sections are connected to achieve an automatic system for light control
The automatic street light system has the following components, which are as follows;
1) A 220/5V Transformer
2) A bridge rectifier
22
4) Microcontroller
8) Ultrasonic sensor
9) Resistor
The automatic street light system has four major sections, which are as follows
1) Power supply
2) Input (sensors)
3) Microcontroller
4) Output (LED)
3.3.1 Design of the Power Supply Circuit for the automatic Street Light System. The AC
input 220V from the mains supply is step-down by the transformer to 12V and fed to a rectifier.
The output obtained from the bridge rectifier is a pulsating DC voltage. To get a pure DC
voltage, the output voltage from the rectifier is incorporated with a capacitor filter to remove
any AC components present even after rectification. This voltage is sent to a voltage regulator
23
Figure 3. 2: Power supply
3.3.2 Transformer
Transformers convert AC electricity from one voltage to another with little loss of power.
Transformers work only with AC and this is one of the reasons why mains electricity is AC.
Step-up transformers increase voltage, step-down transformers reduce voltage. Usually, D.C.
voltages are required to operate various electronic equipment and a 5V is required in this
project, however, these voltages cannot be obtained directly. Most power supplies use a step-
24
down transformer to reduce the dangerously high mains voltage 220V to a safer low voltage.
Transformers waste very little power so the power out is (almost) equal to the power in. Note
Figure 3. 4: Transformer
3.3.3 Rectifier:
A rectifier is an electrical device that converts alternating current (AC), which periodically
reverses direction, to direct current (DC), current that flows in only one direction, a process
known as rectification. The output from the transformer is fed to the rectifier. It converts AC
into pulsating D.C. The rectifier may be a half-wave or a full-wave rectifier. In this project, a
bridge rectifier is used because of its merits like good stability and full-wave rectification.
The capacitive filter is used in this project. It removes the ripples from the output of the rectifier
and smoothens the D.C. Output received from the regulator and mains voltage is maintained
constant.
25
The simple capacitor filter is the most basic type of power supply filter. The use of this filter is
very limited.
3.3.5 Resistors
A resistor is a two-terminal electronic component that produces a voltage across its terminals
that is proportional to the electric current through it by Ohm's law. Resistors of various ratings
are used in this circuit. Resistance is used in front of led to drop the voltage from 5v which is
Figure 3. 5: Resistor
It regulates the input applied to it. A voltage regulator is an electrical regulator designed to
maintain automatically a constant voltage level. In this project, the power supply of 5V is
required. To obtain these voltage levels, 7805 and 7812 voltage regulators are used.
26
Figure 3. 6: Voltage regulator
Light-emitting diodes are elements for light signalization in electronics. They are manufactured
in different shapes, colours and sizes. For their low price, low consumption and simple use,
they have almost completely pushed aside other light sources bulbs at the first place. They
operate similar to common diodes with the difference that they emit light when current flows
through them. It is important to know that each diode will be immediately destroyed unless its
current is limited.
The LDR is a resistor whose resistance changes with the intensity of incident light. The working
is made of a high resistance semiconductor. If the energy of the incident light is greater than
27
the bandgap of the semiconductor, electron-hole pairs are generated. The photogenerated
The essential elements of a photoconductive cell are the ceramic substrate a layer of
photoconductive material, metallic electrodes to connect the device into a Circuit and a
moisture-resistant enclosure.
LDR’s are applied in areas where human vision is a factor such as street light control or
automatic iris control for cameras. LDR’s or Light Dependent Resistors are very useful,
Ultrasonic sensors are divided into three broad categories: transmitters, receivers and
ultrasound into electrical signals, and transceivers can both transmit and receive ultrasound.
Ultrasonic sensors are used in systems, which evaluate targets by interpreting the reflected
signals. For example, by measuring the time between sending a signal and receiving an echo,
28
Figure 3. 9: Ultrasonic Sensor
The input elements are connected to the microcontroller, the microcontroller is connected to an
LDR, ultrasonic sensor and an LED. The microcontroller works with a programming language
The microcontroller is made up of 28 pins. Each pin has its special function and connection
hardware and software. It is intended for artists, designers, hobbyists, and anyone interested in
creating interactive objects or environments. Arduino can sense the environment by receiving
input from a variety of sensors and can affect its surroundings by controlling lights, motors,
and other actuators. The microcontroller on the board is programmed using the Arduino
programming language (based on Wiring) and the Arduino development environment (based
on Processing). Arduino projects can be stand-alone or they can communicate with software
on running on a computer
Arduino Nano is a surface mount breadboard embedded version with integrated USB. It is
29
Table 1.1: Arduino Nano Specifications
One unique feature of any microcontroller is its crystal oscillator and it is used for clocking
the microcontroller and provides it with the ultra-speed required. Other feature includes the
following;
30
e) Up to 20 MIPS Throughput at 20MHz
Segments
b) 1KBytes EEPROM
c) Up to 64 sense channelsel-42735B-ATmega328/P_Datasheet_
c) One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
Mode
● Temperature Measurement
31
g) 6-channel 10-bit ADC in PDIP Package
● Temperature Measurement
b) 28-pin PDIP, 32-lead TQFP, 28-pad QFN/MLF and 32-pad QFN/MLF vii.
Operating Voltage:
Temperature Range:
Speed Grade:
32
c) 0 - 20MHz @ 4.5 - 5.5V
The ATmega328/P is a low-power CMOS 8-bit microcontroller based on the AVR enhanced
ATmega328/P achieves throughputs close to 1MIPS per MHz. This empowers system designer
The pin configuration for ATmega328/P is given in figure 3.11 and 3.12
33
Figure 3. 11: Pin Configuration of Atmega328/P
34
Figure 3. 12: The Block Diagram on the Internal Structure of the AVR Microcontroller
3.5.5 Sensors
With our complete line of advanced ultrasonic sensors, we have the most versatile, accurate
and effective solutions for the toughest applications and challenges. Ultrasonic sensors use
sound waves and this makes them ideal for problematic clear material sensing applications.
Ultrasonic sensors also effectively sense liquids and targets in dirty environments. Ultrasonic
35
sensors are inherently impervious to colour differences, high reflectivity and glare, all of which
Ultrasonic sensing technology is based on the principle that sound has a reasonably constant
velocity. The time it takes an ultrasonic sensor’s beam to strike a target and return is directly
proportionate to how far away the object is. As a result, ultrasonic sensors are often used in the
measurement of distances.
Ultrasonic sensors are similar to AIR sensors in how they work, but this sensor detects
ultrasound waves. When an object appears in the detection zone, the length and frequency of
the waves change, which leads the LED lamps to turn on. This trigger and echo are connected
several pins on the microcontroller. An individual sensor controls every section of the LED
lamps. The ultrasonic sensor is placed before the LED’s and spaced properly so that the lamps
are already turned on before the vehicle gets under the lamp.
Active ultrasonic sensors use high-frequency sound waves (you cannot hear them) that work
like a boomerang: These waves are sent out and then return to the sensor, reporting any
suspicious interruptions in the sound waves (in other words, a human body obstructing the
ultrasonic path).
Instead of actively sending out sound waves, these detectors wait passively for a Sound event,
like shattering windows. The sound waves emitted by such an Occurrences are what trigger a
36
3.5.5.2 Arrangement of sensors
An array of sensors arranged in a straight row pattern is attached by the size of the road. Any
number of sensors can be used depending on the number of lamps. Each lamp ultrasonic
sensor is assigned to a set of LED’s making several areas of the road lighting independently
only when motion is detected. However, it may require complex programming for the
microcontroller and more hardware. The distance between sensors depends on.
1. Number of sensors
3.6 METHODOLOGY
The system is capable of detecting the approximate area where the vehicle may exist on the
road and intelligently dim the light anywhere it doesn’t detect the vehicle.
Fundamentally the system can detect the presence of sunlight and automatically switch off all
the street light. It does this with the aid of and LDR
Using an ultrasonic sensor, it can estimate a portion of the road where vehicles might be. If the
distance that sensor A reads as the width of the road is 10 meters on a vehicle passing the front
of this sensor, that distance will temporarily change detecting the instance that the vehicle is
passing and turn on the lights. This process goes on i.e., as the vehicle moves forward, the
street lights ahead of it glows and the trailing lights go back to its original off state. In this
mode of operation, the transition of street lights from dim to bright state occurs.
When no vehicle is sensed, all the street lights will be in a dim state. This is achieved by the
use of pulse width modulation through the program stored in the microcontroller. When a
vehicle is not present on the highway, then the street lights are made to glow. Thus, we get
37
street lights with less brightness. When a vehicle is sensed, the street lights are illuminated
again.
On a street/road, lights L1, L2 and L3 are constantly on by default as the start of the system.
When sensors which are place at intervals before every section of lights are triggered,
Sensor B is triggered and lights L7, L8 and L9 are turned on while L1, L2 and L3 are made
dim,
Sensor C is triggered and lights L10, L11 and L12 are tuned on while L4, L5 and L6 are made
dim
A. According to the circuit diagram, all components required in the project are bought and
made available.
B. These components are assembled on the Vero board according to the circuit diagram.
C. Solder the components on the Vero board which have been assembled.
D. Hardware is made with several connections to various components which solely lies on
38
3.8 FABRICATION TECHNIQUES
The fabrication techniques used in this project can be broadly classified into; Mechanical
Fabrication, consisting of mechanical design i.e. board, street, light poles etc. and Electrical
i. Plywood is cut out neatly into measured sizes for the fabricated road.
ii. Smaller pieces of wood are drilled into the edge of the plywood as LED’s poles.
iii. The ultrasonic sensors are attached to the side of the road at a reasonable distance from
each other
3.9 CONNECTIONS
The output of the power supply which is 5v is connected to pin (VCC) of microcontroller and
ground is connected to pin (GND). The sensor is connected to the input port of the
39
Figure 3. 13: Circuit diagram for the automatic street light system
40
Figure 3. 15: The LED’s pole on the wooden frame
41
Figure 3. 18: Painting of the road wood frame
42
CHAPTER FOUR
4.1 INTRODUCTION
This chapter discusses the testing of the constructed circuit and ensuring that the results show
efficient functionality.
4.2 CONSTRUCTION
The design of the automatic street light system involved the soldering of the various
components/materials on the Vero board as designed in the circuits in chapter three. The
circuits are powered by 220/5V from the source stepped down to 12V by the transformer. This
12V is reduced to 5V by passing through a voltage regulator which is the desired output. The
full-wave rectifier converts the 12V AC to 12V pulsating DC, the LM7805 is used to regulate
4.3 TESTING
Several conditions were tested to know how the circuit would respond and necessary
ii. The LDR was also tested to ensure proper functionality when operating in the dark and
4.4 RESULTS
After a successful build and design of this project work, the microcontroller has been able to
communicate with every other component interfaced to it. There are two modes of operation
which include the day mode and night mode. The desired result was gotten.
43
i. During Day mode, the LDR is the main component in this mode and when there is Day
light all the lights are switched off this is the desired result in this mode.
ii. During Night mode, the LDR initializes the circuit and the street lights come on
4.5 TROUBLESHOOTING
i. If all the lights do not work check 220V AC connection to the transformer to confirm if
ii. If the Arduino board does not get power on, check the power cable with a multimeter, or
iii. If the light does come ON during the Day time change the LDR.
4.6 CONCLUSION
Based on the testing and results attained, the device can successfully turn on when there is
motion or vehicles are sensed reducing power consumption throughout the period the street
light is on.
44
CHAPTER FIVE
5.1 INTRODUCTION
The automatic street light system has been designed and constructed. This promises reduction
5.2 BENEFITS
ii. To provide a solution to the high rate of energy from non-used lamps or
iii. To provide lots of benefit from its use in various areas of application, which
include; bus stop lighting home lighting and other areas where the light is to be
controlled.
5.3 RECOMMENDATIONS
This project has performed as desired according to the design objectives. Hereby the following
i. For a larger load capacity, the number of pins on the microcontroller should be
increased
45
ii. An uninterrupted power supply can be implemented in the system to enhance and
improve its efficiency when there is power shutdown due to faults or any form of
the shutdown so that users of the road can still see at night.
iii. In the automatic street light system, this project work could be improved by
recommending that the institution should make available some of these vital components
like temperature sensors, ultrasonic sensors, ICs and lots more, to reduce the constraints of
5.4 CONCLUSION
A general view of the different types of street light control system has been presented. It is
observed that the benefits offered by the automatic street light system (which is mainly for
The automatic street light system was designed, analysed and tested. Based on the test
results, the whole system performed according to the designed aim and objectives of the
project. The automatic street light system was able to turn the lights on and off when the
motion detector senses motion, remain dim to reduce power consumption when there is no
motion or vehicular traffic and can be of great use on high ways when at night traffic is low.
The system to work independently without human interference in switching the lamps on and
off at night
The ideology behind this project looked very unrealizable due to the encountered challenges
but results obtained proved otherwise.
46
The challenge of obtaining the right values of components to be used. The construction of the
power supply so that 5V can power the microcontroller. Placing of the LED’s on their holder
above the ground caused several tries so that they remain firm
47
REFERENCES
https://www.researchgate.net/publication/262352965_Smart_street_light_system_with_e
nergy_saving_function_based_on_the_sensor_network
Abhijeet Deshpande, Shrikant Deshmukh, Laxman Aulwar, & Milind Gajare. (2017). IoT
V6(04). http://dx.doi.org/10.17577/ijertv6is040705
K. (2016). Automatic room Light controller using Microcontroller and visitor counter.
Jun. 2017].
https://www.researchgate.net/publication/262352965_Smart_street_light_system_with_e
C, G., C, S., Kumar, A., A, K. and K.R, R. (2016). Design and Implementation of Automatic
Street Light Control System using Light Dependent Resistor. International Journal of
48
Ciriminna, R., Albanese, L., Meneguzzo, F. and Pagliaro, M. (2015). LED Street Lighting: A
Deng, H., Xie, X., Ma, W. and Han, Y. (2017). Design of LED Street Lamp Intelligent
Gellings, C., Faruqui, A., & Seiden, K. (1991). Potential energy savings from efficient
4215(91)90148-h
Guo, Y., Du, S., Luo, J., Wang, Z., & Zhang, X. (2015). PLC-Based Street Lighting
Energy-Saving Equipment and its Remote Monitoring System. Applied Mechanics and
Hicks, A. and Theis, T. (2013). Residential energy-efficient lighting adoption survey. Energy
2017].
Kim, Y. and Ko, J. (2014). Development of a Sensor Network-Based SMPS System: A Smart
49
Mohamaddoust, R., Haghighat, A., Motahari Sharif, M., & Capanni, N. (2011). A Novel
Design of an Automatic Lighting Control System for a Wireless Sensor Network with
Increased Sensor Lifetime and Reduced Sensor Numbers. Sensors, 11(12), 8933-8952.
http://dx.doi.org/10.3390/s110908933
Mohamed, S. (2013). Smart Street Lighting Control and Monitoring System for Electrical
Osram.com. (2017). Smart City | Street lighting | OSRAM. [online] Available at:
https://www.osram.com/osram_com/news-and-knowledge/street-lighting/smart-city/inde
Ożadowicz, A., & Grela, J. (2016). Energy saving in the street lighting control system—a
new approach based on the EN-15232 standard. Energy Efficiency, 10(3), 563-576.
http://dx.doi.org/10.1007/s12053-016-9476-1
Smart City | Street lighting | OSRAM. (2017). Osram.com. Retrieved 13 June 2017, from
https://www.osram.com/osram_com/news-and-knowledge/street-lighting/smart-city/inde
x.jsp
http://dx.doi.org/10.21275/v5i2.nov161312
Song, Y., Feng, Y., Ma, J., & Zhang, X. (2011). Design of LED Display Control System
http://dx.doi.org/10.4304/jcp.6.4.718-724
50
Tao, H. and Zhang, M. (2013). Solar LED Street Light Control System for Wireless Sensor
Thapa, C., Rasaily, D., Wangchuk, T., Pradhan, A., & Ashraf, A. (2016). Auto Intensity
Control of Street Light with Solar Tracker using Microcontroller. International Journal
http://dx.doi.org/10.14445/22315381/ijett-v33p271
Wang, Z. and Sun, J. (2012). Application Research of Stadiums Smart Lighting System
Wilson, P. (1993). Sizewell B PWR Power Station — Control Rooms and Control and
http://dx.doi.org/10.1177/002029409302600502
Yeh, L., Wang, Y. and Tseng, Y. (2009). iPower: an energy conservation system for
51