Awodeyi
Awodeyi
By
MAY, 2018
1
DESIGN AND CONSTRUCTION OF AN AUTOMATED
STREET LIGHTING SYSTEM
By
15PCJ01023
SUPERVISOR
DR. ISAAC SAMUEL
2
MAY, 2018
ACCEPTANCE
This is to attest that this Project is accepted in partial fulfilment of the requirement for the
award of the degree of Post Graduate Diploma (PGD) Degree in Computer
3
Engineering in the Department of Electrical and Information Engineering, College of
Engineering, Covenant University, Ota, Nigeria.
DECLARATION
I hereby declare that I carried out the work reported in this Project in the Department of
4
Electrical & Information Engineering, Covenant University, under the supervision of Dr.
Isaac Samuel. I also solemnly declare that to the best of my knowledge, no part of this
Thesis has been submitted here or elsewhere in a previous application for the award of a
degree. All sources of knowledge used have been duly acknowledged.
---------------------------------------------------------------------
AWODEYI, AFOLABI IFEDAYO
(15PCJ01023)
5
CERTIFICATION
This is to certify that this Project titled “Design and Construction of an Automated Street
Lighting System” is an original work carried out by AWODEYI, Afolabi Ifedayo
(15PCJ01023), in the Department of Electrical and Information Engineering, College of
Engineering, Covenant University, Ota, Ogun State, Nigeria, under the supervision of Dr.
Isaac Samuel
6
DEDICATION
This project is dedicated to God Almighty for his faithfulness, love, and Grace towards
me and to my parents Mrs Veronica Ebunoluwa Awodeyi and Professor Amos Fola
Awodeyi for making sure I get the best Education.
7
ACKNOWLEDGEMENT
All thanks are due to Almighty God, the Lord of the universe, the only source of
knowledge, for his divine inspiration and grace that guided me throughout the writing of
this project. I am thankful to the Chancellor of Covenant University, Dr. David Oyedepo
whose vision to establish this University has provided me the opportunity to embark on
the Post Graduate Diploma (PGD) Programme.
My gratitude goes to my supervisor, Dr. Isaac Samuel who inspired me to work harder
through his help and support throughout this project. I am also thankful to my Head of
Department Dr. Victor Matthews for making his M2M and Embedded Systems
Laboratory available for me to carry out my research work and the prototype building. I
am also thankful to Mr. Akindele Ayoola, the M2M laboratory Research Technologist
who has been always there to listen and give advice that helped me focus my ideas and
further improve the quality of the work. I must not fail to acknowledge the
encouragement of my lecturers at some point; Dr. Ndijuiba Charles, Dr. Badejo Joke,
Professor Adetiba Emmanuel, Dr. Orovwode Hope, Professor Idachaba Francis,
Professor Adoghe Anthony, Dr. Awelewa Ayokunle, Dr. Abdulkareem Ademola, Mr
Omoruyi Odewingie, Dr. Daramola Adebayo, Dr. Agboje Oboyerulu and others whom I
have not mentioned here.
Most importantly, none of this would have been possible without the love, patience,
moral and financial support of my parents; Professor Amos and Mrs. Veronica Awodeyi.
Thank you all and God bless.
8
ABSTRACT
This Project report presents details of the design and construction of a microcontroller-
based automated intelligent street lighting system. The circuits are designed specifically
for self-intelligence and fault detection of the system.
The street light system consists of two circuit boards; the main printed circuit boards and
the street light pole printed circuit board.
The major components of the main printed circuit board are PIC microcontroller, GSM
module, voltage translator, multiplexer integrated circuit, resistors, and capacitors, while
the major components of the street light pole circuits are the light dependent resistor
circuit sensors, infrared sensors, PIC microcontroller, capacitor and resistors.
The Light Dependent Resistor is used for Automation, the Infrared sensor is used for
Intelligence; sensing movement and taking the LEDs to a full ON state and the GSM
module for fault detection.
The Printed Circuit Board circuits and their components are housed in its physical
framework. The circuit for the main board and the circuit for the street light pole were
tested and worked properly as intended.
9
LIST OF FIGURES
10
Figure 3.5a: Circuit Diagram of the Light Main Board
23
Figure 4.9b: Street Light Prototype for the Street Light Pole
31
11
Figure 4.9bi: Street Light Prototype for the Street Light Pole
32
12
LIST OF TABLES
13
ABBREVIATIONS
IR Infrared Resistor
RX Receive
TX Transmit
IC Integrated Circuit
14
CHAPTER ONE
INTRODUCTION
1.1 Introduction
A well-outlined street lighting system allows road users move around freely in the
evening with great visibility, in well-being and comfort and improve the presence of the
area. Lighting framework that is inadequately composed can prompt poor visibility which
is not useful for any person on foot or driver. Regularly road lighting is ineffectively
designed and not appropriately maintained which suggests that there are a substantial
number of flawed and dead lights and uses out of date lighting innovation which expends
a lot of vitality and monetary assets. Provision of street lighting is a standout amongst the
essential duties of a city.
15
to the control centre. With this set up in place, the worker now can without much of a
stretch find the specific light to be taken care which limits search and repair time.
This Project makes utilization of an LDR sensor which detects light to go to an ON state,
IR sensor which detects movement variations and takes the LED to a FULL ON and
when idle takes the LED to a HALF ON state. The current sensors report issues to the
Microcontroller which at that point sends a message to an assigned GSM number/control
unit. This street lighting system is a vital method for increasing street wellbeing around
evening time. It enhances the personal satisfaction by preventing wrongdoing and makes
individuals feel safe. Lighting is used for enhancing the environment; this is monetarily
advantageous for the environment.
1.2 Aim
The Project aims to Design and Construct an automated Intelligent Street Lighting
system based PIC Microcontroller.
1.3 Objectives
The following objectives to achieve this aim are itemized:
⦁ To design the main circuit board for the street light main board where all
operations are carried out, such as: Controlling the activities of the street light
PCB, Communications between the PIC microcontroller and the GSM
module, Sending fault detection messages to an assigned GSM number,
Communications between the PIC microcontroller and the circuit board for
the street light poles.
⦁ To design a circuit board for the street light poles where the operations for the
street light module are carried out, such as: Automation of the LED through
the use of the LDR sensor, Dimming of the LED through the use of the IR
sensor
16
1.4 Statement of problem
It is very unfortunate that despite the fact that Nigeria enjoys a large amount of sunlight
in most of her cities throughout the year, our streets are still in darkness as a result of
poor electricity supply. This deprives the country of some economic activities that can
take place at night, such as ornamental beauty of our streets and hence exposes her
people to danger and other nefarious activities
1.5 Motivation
⦁ Power Conservation: Power is conserved for the street lighting when the LEDs
are at a dim state.
⦁ Real time fault detection/instant maintenance: Fault is detected through the use of
a GSM module which sends fault detection messages to a control centre
stating location of faulty LED hence immediate maintenance.
⦁ Intelligence: the street light has the ability to the ability to switch ON/DIM/OFF
without human intervention.
1.6 Methodology
The primary phase of this project begins from writing a literature Review of various
automatic street lighting systems and how the street lighting system and various types of
sensors are integrated.
The following stage is the research on various street lighting control systems which is
summarized for simplicity and understanding of the concept of the system.
17
The design of the system is carried out with a PIC microcontroller. This project will
make use of components such as PIC18F26K22 microcontroller for coordinating the
activities of the system, IR sensor for dimming the LEDs, LDR sensors for automation
and a GSM module for fault detection identification. A model of this project is
constructed and tested.
Chapter 1 gives the general introduction of the work, statement of problem, aim and
objectives, motivation and methodology
Chapter 3 gives a detailed description of the system design detailing the circuit diagram
for the system design, system design components, their working description and circuits
Chapter 4 gives details of the implementation of the project and results obtained. The
results are also compared to some selected previous researches
CHAPTER TWO
18
LITERATURE REVIEW
2.1 Introduction
This Chapter gives an introduction to the overview of components used for this Project;
microcontrollers and its advantages, PIC microcontrollers, types of programmable
integrated circuits, Light Dependent Resistors, Infrared sensor and a Review of Previous
Works on Street Lighting System.
Automated Street Lighting system efficiently controls wastage of power and turns ON
and OFF. The system utilizes two sensors. These are the LDR and IR. The sensors are
placed inside the street light which is controlled by the PIC18F26K22 microcontroller.
The system is designed based on a system technique which entails that there is fault
detection with the end goal that when a street light is bad, a message is sent to a
designated number or to a designated control unit. The system is fundamentally
comprised of GSM module, Relay switch, LED, Power Supply. The system architecture
comprising of all the components is shown in figure 2.1.
wop9E8F.tmpMicrosoft_Office_Word_Document1.docx
2.2 Microcontroller
Microcontrollers are common components found in electronic systems. It is utilized to
the point that it is practically difficult to work in hardware without its utilization. A
microcontroller integrates a number of microprocessor components into a single
microchip. Microcontroller is a type of microprocessor which emphasizes on self-
sufficiency and viability of cost. Microcontrollers contain memory and interfaces for
input and output. A microcontroller has the following; [33] a central processing unit,
19
memory, input and output. Microcontrollers also combines the following; timer module
which allows the microcontroller perform task within a certain time period, a serial port
for input and output to enable flow of data between devices and the microcontroller, an
analog to digital converter which allows the microcontroller acknowledge the processing
of analog data.
20
2.4.1 Types of PICs
⦁ Flash Programmable PIC: This is the most common form PIC which is erasable
for up to about one hundred thousand times, it is reprogrammable by
downloading a new programme into the integrated circuit.
⦁ Current sensors
Current sensor is a device used to distinguish between current in a wire and to generate a
flag corresponding to it. The signal which is generated could be an analog voltage or
current. It is used in displaying current in an ammeter and can also be used for control
purposes.[25 33]
In this project, a signal is generated which is sent to the microcontroller when the
current sensor recognizes that a LED isn't lit up by the current. The microcontroller takes
this as an error and an SMS is generated by the GSM module and sent to a designated
21
number/control unit.
[10] discussed on a street light system which was optimized management and efficiency.
A lot of sensors were utilized for a better and efficient system control. The IR sensor
sensed a movement. Street lights were switched ON when a person was detected within
detection. The system used a GSM module which allowed for more efficient street lamp
22
management and system control. The state of the street light was checked and the GSM
module sent a fault message to the control centre. The system aided a substantial amount
of energy to be saved. This increased the performance and the maintainability of the
system.
[12] aimed at designing an embedded system for energy conservation of street light. This
research gave a good alternative for wastage of electrical power. Operation of the manual
lighting system was totally wiped out in this research. Two sensors were utilized which
were the Light Dependent Resistor used for indicating day and night and IR sensor which
was used to detect movement on the street. PIC16F877A microcontroller was used to
control the street light. This programming language used was the C language.The system
was implemented on a prototype version. LDR sensor and the IR sensor were the two
sensors used in the working of the circuit. Each sensor controlled the automation of each
the lighting column. The street light was successfully implemented using a
microcontroller.
[19] explained that wireless sensor network could be used with a GSM module for the
monitoring and control of a street lighting system. The system gave remote access for the
system control and maintenance. It discuses about the system would take automated
decisions for luminous control which were ON, OFF and Diming. The system
additionally detected various parameters such as the temperature of the surrounding,
mist, emission from carbon, and intensity of noise. Power theft control was additionally
incorporated into the same system.
[1] gave an alternative solution for wastage of electrical power. This research also wiped
out manual operation for the street light. The system provided a means of saving energy.
This was accomplished when the IR sensor sensed a moving vehicle. After detecting the
motion of vehicles, the sensor transmited the signal to the microcontroller.
Correspondingly when the vehicle or an obstruction leaves the Light gets turned OFF.
The street lighting could easily be accessed from anyplace and whenever via the internet.
The implementation was achieved with an embedded system that controlled the street
23
light when vehicles or obstacles were detected on the road. When an obstacle was
detected on the road, the LED automatically turned ON or OFF and the information was
accessed through the internet. The information of the street light in real time could be
accessed anywhere and anytime using the internet. This project was described as cost
effective,eco-friendly and the safest means to conserve energy. It tackled two issues;
energy conservation and incandescent lamp disposal. As discussed in this paper, the
innitial drawback of this system could be the cost initially and maintenance. The LEDs
had long life, emitted cool light and did not emit any toxic material.
[16] designed a system where light sensors were placed in circuits for light poles which
was responsible for automation. When the LEDs were switched on, current sensors
reported the status of challenges to a centralized system. This was done with the GSM
module. The status was accessed in the centralized system. The workman now could
locate the faulty street light to sort out. This minimized search and repair time. A
database was also maintained by the system for storing important information from each
LED.
[5] designed a system that provided a safe environment in the night for road users and
pedestrians. The main objective was to use a low cost microcontroller like an Arduino
and to save energy. The modes used were controlled by an LDR and IR. The system
could automatically automate LEDs according to the flow of traffic. The system worked
during the night and concentrated at a concentrated street at an intersection. The LED
came to an ON state when movement was detected otherwise it turned off. According to
the research, this design saved an awesome measure of power. Maintenance cost was
reduced and lifespan of the system was increased.
[3] designed a system that used a module for sensing real time. The intensity of the LED
could also be changed using the module. The circuit had a disadvantage; maintenance
was high. Dust easily accumulated on the sensor and occasional clean up was required.
The authors proposed that wireless communication could be incorporated for automated
detection of fault based on central system. the use of a timer circuit was another proposed
24
method by the authors for light intensity variations which used a thyristor to change the
of the brightness of the LED based on the atmospheric conditions and the day to night of
the environment.
[4] designed a system that monitored street light and detected faults with the aid of an
RF technology. A drawback of this system was that it was expensive but when its
advantages were considered, the high price of the lamp post were compensated by
cheaper wiring and power network availability. Maintenance was also very low. The
main goals of this research was reduction in the consumption of power and atmospheric
emissions which were harmful. The system had versatility and could be extended to user
needs.
[17] designed a lighting system that targeted the saving of energy and autonomous
operation with an immediate response to faults. Consumption of the street light for a
specific area could be accounted for from the system. Errors that occurred from manual
operation was also eliminated. The system could also be controlled from a PC at the
control station or could be automated. The design was based on the installation of light
sensors in the circuits for the poles. Current sensors reported status to the central system
using GSM module; with the fault status, the workman could easily locate the faulty
street light thus reducing the time it would have taken to search for faulty lamps.
Information was collected at the end of each day and stored in the data base. The
information collected and stored in the database was made up of details of power
consumption, number of burning hours, interruptions and fault detection details; the
location of faulty street light, time of fault and time of repair. The system accomplished
the feat of reducing the time taken to repair faults compared to manual system where
faults took days or months to be detected for repairs was carried out.
[6] designed a solar Photovoltaic panel based street lighting systems which maximized
the efficiency for street lighting system and conserved the use of energy. LDR was used
for automation. The pulse width modulation and IR sensor controlled the intensity of the
LED. The resistance of the LDR decreased when light encroached on it.
25
[24] designed a system that enumerated on the fact that controlling street light was of
significant importance to reduce power consumption. This research paper used different
technologies; clock-timer, photodiodes, Light Emitting Diodes (LED) and transistors.
The IR sensors issued commands for the LEDs to glow. Pulse width modulation was also
used for intensity control based on the movement detected.thus intensity changed
dynamically. This design saved a lot of energy.
[20] designed and implanted an automatic street light control system based on UA741
operational amplifier which is configured as a Schmitt trigger and a light dependent
resistor (LDR). Amid the day the LDR faculties enough illumination and the security
light goes OFF. Furthermore, when darkness comes, resistance of the LDR increases
tremendously and causes the light come "ON'. Additionally, a transistor switching a 12V
Relay is deployed to provide the switching mechanism to activate the street lights
connected in parallel. The need for manual operation of the security lights is completely
eliminated and much energy is saved that would have been otherwise wasted if the user
were to forget to power “OFF” the light at any point in time. [20]
[22] designed a system based on GSM. The lighting system was designed to target the
reduction in consumption of power and autonomous operation. This was achieved by the
installation of chips on the circuit for the LED. The chip was made up of a
microcontroller, sensors, GSM module which was used for transmission of messages to
the PC. The programme was designed to ensure that consumption of energy was at its
minimum. Atmospheric emissions were also detected through the CO2 sensor used.
Electricity theft was also detected.
[18] designed a system where the LEDs switches to an ON state when vehicle movement
is detected. The LED turns off after some seconds. The system consisted of 5 highlights.
It automatically controlled the street light. i.e turned off during the day and turned on
during the night utilizing the LDR. It controlled the street light intensity through diming
and brightening on detecting an object. Objects were detected using PIR sensors. The
system had a camera for security purposes. Automatic fault detection i.e on failure of the
26
LEDs, fault messages are automatically sent to the to the authorities using the GSM
module technology. The feature of switching manually with the use of a GSM device was
also incorporated.
[21] designed a system where the street LEDs lit up automatically at night and turned off
at daybreak. The light dependent resistors were also used to indicate the condition of the
LEDs for effective maintenance. This system was designed to run on automatic node.
This automatic mode controlled the algorithm for the sunrise and sunset and intensity of
light.
2.7 Summary
This chapter reviewed various journal papers on automated street lighting systems. The
analysis of the designs, results and implications obtained in the literature review supports
the fact that LED lighting with automation and fault detection is more efficient than the
traditional lighting system in terms of cost, power consumption, and fault detection. It
also shows that maintenance cost is reduced because of the reduction in physical
manpower required. Components used for the construction of this project was also
reviewed in this chapter
CHAPTER THREE
3.1 Introduction
27
This chapter deals with the design of an Automated street lighting system. From the
design specifications, the system is divided into two parts; the main circuit board and the
light pole circuit board.
⦁ The main PCB which has the PIC18F26K22 microcontroller and the GSM
module operates on a 5 volt DC.
⦁ The street light PCB which has the LDR, IR, and LED operates on a 5 volt DC
⦁ The power pack is a 5-volt pack which converts 230 volts to 5 volts.
28
Microcontroller is made up of CPU, RAM, ROM,I/O Ports. PIC18F26K22
Microcontroller is the preferred microcontroller in this project. This is because there are
more I/O pins [27]. The circuit diagram is shown figure 3.3.1.
29
Figure 3.3.2 Circuit Breakout Diagram for GSM Module
30
brighten the LEDs at intervals when darkness is detected. These modules are explained
below
31
Figure 3.4.2a Diagram of an IR sensor
The pin configuration of the IR sensor is shown in the figure above. IR sensor comprises
of three pins; ground pin, signal pin and power pin along the edge or base. The IR sensor
power is dependent upon 3.3v - 5V. It is extremely basic and simple to interface the
32
sensor with a microcontroller. The output of the IR is usually digital output which either
low or high. The IR sensor circuit comprises of three pins, power supply pin, output
signal pin, and ground pin. At whatever point a person (even a warm body or object with
some temperature) goes through the field of the perspective of IR sensor, the infrared
radiation discharged by the warm/hot body movement is detected. The infrared radiation
detected by the sensor generates an electrical signal that is used to activate the Full ON
state in the system.
3.4.3 Switch
A switch is an electromagnetic switch operated by a relatively small electric current that
can switch on or switch off a much larger electric current. The heart of the switch is an
electromagnet (a coil of wire that becomes a temporary magnet when electricity flows
through it). A switch is a kind of electric lever that switches on with a tiny current. It
switches on another appliance that uses a greater current. Sensors are sensitive pieces of
electronic equipment and produce only small electric current but are often needed to
drive bigger pieces of apparatus that use bigger currents. A switch bridges the gap,
making it possible for small currents to activate larger ones. Thus switches amplifiers
small currents into larger currents. [30 31]
33
used in this project to switch the LED on/off.
⦁ Automotive Lighting; LEDs are used in brake lights, turning signals & indicators.
⦁ Traffic Signals; Groups of LEDs are packaged into arrays & arranged to form a
34
traffic light.
⦁ Street Lighting
35
36
Figure 3.5a Circuit diagram of the Street Light Main Board
37
38
Figure 3.5b Circuit diagram of the Street Light Pole
3.6 Summary
This chapter presented the design of the street lighting system, showed the two main
circuit boards and components in the circuits. The schematics of the circuits were also
shown for the project.
39
CHAPTER FOUR
4.1 Introduction
This chapter shows details of implementation of the designed system in chapter three and
the complete system test result.
4.2 Implementation
After the circuit diagrams were thoroughly examined, all the required components were
bought. The printed circuit boards were produced and all components were mounted and
soldered properly; the PIC microcontroller is a 5volt microcontroller that is mounted and
installed on the PCB. The GSM module has a consumption of 4 volts which is also
mounted and soldered to it. A multiplexer integrated circuit is installed on the main board
circuit which communicates with the circuits for the street light pole.
40
Figure 4.1 Diagram for the Main Board PCB before implementation
41
Figure 4.2 Diagram for the Street Light PCB before implementation
PIC18F22K26 was programmed using assembly language. The compiler used is the
Microcontroller Lab. The Microcontroller which serves as the brain of the system is
programmed to;
⦁ Power up the Light Dependent Resistor and Infra Red Sensor once there is a
considerable degree of darkness
42
FIGURE 4.3 Diagram of the PIC Microcontroller after soldering on the PCB
43
4.2.3 Implementation of the Infrared Resistor
Four Infrared sensors consisting of two pairs each of Infrared sensors were used for this
prototype; each of the PCB has a pair of Infrared sensors soldered to it. Proximity
detection for the IR sensor is between 4cm to 26cm. Figure 4.5 shows the Infrared sensor
soldered to the Street Light Printed Circuit Board.
44
FIGURE 4.6 Diagram of the GSM module after soldering
45
FIGURE 4.7 Diagram of the LED after soldering
46
4.3 Testing
All units of this project prototype were properly packaged after implementation. All units
worked properly as stated in the expected result in chapter one.
A fault was deliberately introduced to the system for an LED not to come up, an SMS
stating the status and location of the street light was sent to an assigned number. Below
are pictures of the circuit for main board and street pole after all components were
soldered and working properly.
47
FIGURE 4.9b Street Light Prototype for the Street Light Pole
48
FIGURE 4.9bi Street Light Prototype for Streetlight Pole
49
Figure 4.10 Complete Street Light Prototype in its Framework
50
LDR Sensors 2 1,000
0.005ohm Sensor Resistors 3,000
SIM 800L GSM Module 1 10,000
PIC Microcontroller 15,000
Components
PCB Fabrication 3 30,000
Auxiliary Board Components 4 5,000
5 volts Power Pack 9500
Shipping 15,000
Miscellaneous and Logistics 20,000
TABLE 4.14
4.5 Summary
This chapter described how the designed system discussed in chapter 3 was implemented.
The circuits were tested before their packaging and after their packing and each module
working as proposed
CHAPTER 5
51
CONCLUSION AND RECOMMENDATION
5.1 SUMMARY
The major aim this project aimed at achieving was the design and construct a
microcontroller based automated intelligent street lighting system.
Without a street lighting system in place, crime would be on the rise on our various
roads. Whereas there is no proper street lighting system, cost of manpower and
maintenance would be on the increase; this is due to the fact that there is no intelligence
introduced to the system and there is no automation. Chapter one gave a general
introduction to the project.
In chapter two, Components used for the construction of this project was reviewed,
various journal papers on automated street lighting systems were also reviewed. The
analysis of the designs, results, and implications obtained in the literature review
supported the fact that LED lighting with automation and fault detection is more efficient
than the traditional lighting system in terms of cost, power consumption, and fault
detection.
In chapter three, the design of the street lighting system was discussed showing the two
main circuit boards and components in the circuits. The schematics of the circuits were
also shown for the project.
In chapter 4, the implementation of the system was described. This chapter also described
how circuits were tested before their packaging and after their packing and how each
module worked as intended.
And finally, the aim and objectives of this project was achieved as each unit worked
properly
52
5.2 CONCLUSION
The Design and Implementation of a Microcontroller Based Automated Intelligent Street
Lighting System were successfully carried out. The LED lighting with automation and
fault detection proved more efficient than the traditional lighting system in terms of cost,
power consumption and fault detection. PIC Main Board PCB programme is in the
Appendix I and also STREET LIGHT BOARD PCB Programme is in the appendix II.
5.3 ACHIEVEMENT
The following objectives were achieved during the duration of the design and
construction of the project;
⦁ Successful design, construction, and implementation of the main PCB and street
light PCB
5.4 RECOMMENDATION
Recommendations for this Project are outlined below.;
⦁ Embedding surveillance camera to the street light PCB for security monitoring
53
within the street lighting area.
⦁ A Wifi interface for wirelessly controlling the LED’s/ Street light on a computer
should be included
⦁ Mobile phones should not just receive fault messages but should be used to
switch ON/OFF the street light remotely.
REFERENCES
[1] Parkash, Prabu and Dandu Rajendra,(May 2016) Internet of Things Based
Intelligent Street lighting system for Smart City. "International Journal of Innovative
Research in Science, Engineering, and Technology'. Volume 5, issue 5
[2] Deepak kumar rath. (2016). Arduino Based Smart Light Control System.
“International Journal of Engineering Research and General Science” Volume 4 Issue 2
[3] K.S Ruchitha, Neelakshi Agarwal, Soumya Anand, Aurima Das and Rajasree P.M,
(April 2016). Design and Development of Automatic Adjustment of Street Light
Intensity. “International Journal of Advanced Research in Electrical, Electronics and
Instrumentation Engineering”. Volume 5, issue 4
[4] Sakakshi Anand, Dr. Neela Jain., (May 2015). Intelligent Street lighting system using
RF transmission. “International Journal of Advanced Research in Computer Science and
Software Engineering”. Volume 5, issue 5
[5] N.L. Ramli, N. Mohd Yamin, S.AB Ghani, N.Md Saad and S.A. Md Sharif,
(December 2015). Implementation of Passive Infrared Sensor in Street Lighting
Automation System. “Asian Research Publishing Network(ARPN) Journal of
54
Engineering and Applied Sciences”. Volume 10, No 22
[6] Sharath Patil G.S, Rudresh S.M, Kallendrachari K, M. kiran Kumar (June 2015).
Design and Implementation of Automatic Street Light Control using Sensors and Solar
Panel. “International Journal of Engineering Research and Applications”. Volume 5,
issue 6(part 1).
[7] Farzana Yasmin, MD. Al Muhaimin Sarkar. (June 2014). Automatic Light Control
System using Microcontroller Based LDR. Daffodil International University Dhaka,
Bangladesh.
[8] Vipasha, Preeti Abrol. (June 2013). Design of Traffic Flow-Based Street Light
Control System. "International Journal of Computer Applications”. Volume 72– No.18
[9] Samir A. Elsagheer Mohamed. (August 2013). Smart Street Lighting Control and
Monitoring System for Electrical Power Saving by VANET. “International Journal
Communications, Networks and System sciences”.
[11] Alexandra Lavric, Valentin Popa, Ilie Finis, Daniel Simion, The Design and
Implementation of an Energy Efficient Street Lighting Monitoring and Control System.
The Stefan Cel Mare University of Suceava. PRZEGLĄD ELEKTROTECHNICZNY
(Electrical Review), ISSN 0033-2097, R. 88 NR 11a/2012
[12] Mustafa Saad, Abdalhalim Farij, Ahamed Salah and Abdalroof Abdaljalil Automatic
Street Light Control System using Microcontroller. “Journal of Mathematical Methods
and Optimization Techniques in Engineering”. ISBN: 978-960-474-339-1
55
Systems. "International Conference on Coastal Engineering"
[14] Meihua Xu, Yujie Zhang, Guoqin Wang (2012). “Design of Intelligent Street Light
Monitoring System Based on STM 32” IEEE Symposium on Electrical and Electronics
Engineering
[15] Omkar Natu, Prof. S.A.Chavan (2013). “Gsm Based Smart Light Monitoring and
Control System, “International Journal of Computational Sciences and Engineering”
IJCSE
[16] Abdul Latif Salem, Raja Sagar R, Sachin Datta N S, Sachin H S, Usha M S (2015).
Street Lighting Monitoring and Control System.“International Journal of Engineering
and Techniques” www.ijetjournal.org ISSN: 2395-1303
[17] Akash R.B, Holabasappa K, Kiran Kumar DM, Kiran Mardi, Asst Prof
Smt.B.M.Nandini(2015). Street Light Monitoring and Control System. “International
Journal on Modern Trends Engineering and Research” (IJMTER) ISSN: 2349-9745
[18] Achana G., Aishwarya.N, Anitha.J, Vijay Kumar (2015). Intelligent Street Lighting
System. “International Journal of Recent Advances in Engineering & Technology”
(IJRAET) ISSN (online): 2347-2812, Volume 3 issue 4
[19] Chaitanya Amin, AshutoshNerkar, Paridhi Holani, Rahul Kaul (2013). “GSM Based
Autonomous Street Illumination System for Efficient Power Management. “International
Journal of Engineering Trends and Technology” Volume 4 Issue 1
[20] Isah Abdulazeez Watson (March 2015). Design and Implementation of an Automatic
Street Light Control System. “International Journal of Engineering Technology and
Advanced Engineering”. www.ijetae.com ISSN 2250-2459, ISO 9001:2008 certified
journal, Volume 5, issue 3
[21] K.M. Harshitha, Lakhitha, Lubna Taranum, Mamatha G, Divya K V (June 2017).
Automatic Street Light, Fault Detection, and Traffic Density Control. “International
Journal of Innovative Research in Computer and Communication Engineering”.
56
ISSN:2320-9801,Volume 5 special issue 5
[22] Prof. K.Y Rajput (March 2013). Intelligent Street Lighting System using GSM.
“International Journal of Engineering Science Invention”. ISSN:2319-6726.
www.ijesi.org Volume 2 issue 3 March 2013
[23] R. Rubananth and T. Kavitha (April 2012). GSM Based RFID Approach to
Automated Street Lighting System. “Journal of Theoretical and Applied Information
Technology”. www.jatit.org ISSN:1817-3195 Volume 38 no. 2
[24] S.Suganya, R. Sinduja, T. Sowmiya & S. Senthilkumar (2014) Street Light Glow on
Detecting Vehicle Movement using Sensor. “International Journal for Advance
Research in Engineering and Technology”. www.ijaret.org ISSN:2320-6802
[25] Sei Ping Lau, Geoff V. Merrett, Alex S. Weddell, Neil M. White (2015) A Traffic-
aware Street Lighting Scheme for Smart Cities using Autonomous Network Sensors.
http://www.elsevier.com/locate/compeleceng Computers and Electrical Engineering
45(2015)192-207
[26] Igor Wojnicki, Sebastian Ernst, Leszek Kotulski, Adam Sedziwy (2014) Advanced
Street Light Control. http://www.elsevier.com/locate/eswa Expert systems with
applications 41(2014) 999-1005
[27] Andras Kovacs, Roland Batai, Balazs Csanad Csaji, Peter Dudas, Borbala Hay,
Gianfranco Pedone, Tibor Revesz, Jozsef Vancza.(2016) Intelligent Control for Energy
Positive Street Lighting. http://www.elsevier.com/locate/energy Energy 114(2016) 40-51
[29] Juan De Paz, Javier Bajo, Sara Rodríguez, Gabriel Villarrubia, Juan M. Corchado
(2016) Intelligent System for Lighting Control in Smart Cities.
http://www.elsevier.com/locate/ins Information Sciences 372(2016) 241-255
57
[30] Cleber Costa Da Fonseca.(2015) Public Street Lighting Remote Operation and
Supervision System. http://elsevier.com/locate/csi Computer Standards and Interfaces
38(2015)25-30
[31] Dong Jin, Christopher Hannon, Zhiyi Li, Pablo Cortes, Srinivasan Ramaraju, Patrick
Burgess, Nathan Buch, Mohammad Shahidehpour (2016) Smart Street Lighting System:
A Platform for Innovative Smart City Applications and a New Frontier for Cyber
Security. http://www.elsevier.com/locate/electr The Electricity Journal 29(2016)28-35
[32] Jayesh Patil, Sumit Tayade, Manjusha Pattadkal, Neelambari Nawale, Prof. Harsha
Bhute (2017) Smart Street Light Control System. “International Journal of Advanced
Computing and Electronics Technology” Volume 4 Issue 2 ISSN: 2394-3416
[34] Umesh G Phonde and Uttam L Bombale (2014). Intelligent Automatic Street
Lighting System with Advance Control through GSM modem. “International Journal of
Advance Research in Science and Engineering”. Volume 3 issue 9
[35] Deepak Kumar Rath. (2016) Arduino Based: Smart Light Control System.
“International Journal of Engineering Research and General science”. Volume 4 issue
2
[36] Anil Kumar and Vara Prasad Rao(2015). An Advanced Intelligent Lighting,
Monitoring and Control System using Sensors and Zigbee Network. “International
Journal and Magazine of Engineering, Technology and Management Research” Volume
2 Issue 12
58
[38] Deepanshu Khandelwal, Bijo M Thomas, Kritika Mehndiratta, Nitin Kumar.(2015)
Sensor Based Automatic Street Lighting System. “International Journal of Education
and Science Research Review” Volume 2 Issue 2
[40] Dr. Mamta Pandey and Shreyaansh Pandey(2015) Intelligent Street Lighting System
using Automatic Solar Led Lamps. "International Journal of Science Technology and
Engineering" Volume 2 Issue 4
[42] Dipak Mhaske and Katariya(2014). Smart Street Lighting using Zigbee and GSM
Network for High Efficiency and Reliability. “International Journal of Engineering
Research and Technology” volume 3 issue 4
[43] Archena M, Mahalashmi (2014). E-street: LED Powered Intelligent Street Lighting
System with Automatic Brightness Adjustment Based on Climatic Conditions and
Vehicle Movement. “International Journal of Advanced Research in Electrical
Electronics and Instrumentation Engineering” Volume 3 special issue 2
[44] Popa and Marcu(2012). A Solution for Street Lighting in Smart Cities. “Carpathian
Journal of Electronic and Computer Engineering” 5(2012) 91-96
[46] Dr. D.V. Pushpa Latha.(2014). PLC Based Smart Street Lighting Control.
“International Journal of Intelligent Systems and Applications”.
DOI:10.5815/ijisa.2014.01.08
59
[47] Feasibility Report on Smart LED Street Lighting Supervised by Dr. Javier Barria.
http://www.ee.ic.ac.uk/niccolo.lamanna12/yr2proj/
[48] kunjal Nanavati, Hemant Prajapati, Hemal Pandav, Krupali Umaria, Nilay Desai
(2016). Smart Autonomous Street Light Control System. “International Journal of
Science Technology and Engineering” Volume 2 Issue 10
[49] Dheeray Sharma(2014). Microcontroller based Smart Street Light Control System.
Masters Thesis, Department of Electrical and Instrumentation Engineering, Thapar
University India.
[50] Liu Chee Wei(2011). Smart Lighting Systems: Modular Intelligent Control System.
B.sc Thesis, Faculty of Engineering and Science, University of Tunku Abdul
Rahman(TAR)
[53] B. K. Subramanyam, K. Bhaskar Reddy, P. Ajay Kumar Reddy (2013) Design and
Development of Intelligent Wireless Street Light Control and Monitoring System Along
With GUI “International Journal of Engineering Research and Application” Volume 3
Issue 4 pp. 2115-2119
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
60
;The streetlighting *******************
;Processor PIC18F26K22*************************
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
list p=pic18f26k22
#include <p18f26k22.inc>
;**********************************************
61
d1
d2
d3
myFlags
hold
movwf tblptrl
call StringOut
goto printfDone
printfTable:
printfDone
endm
;**********************************************
movf par1,w
addlw 0x30
movwf arg1
call FontOut10
endm
62
printfReg macro par1
movf par1,w
movwf arg1
call FontOut10
endm
movlw par1
movwf arg1
call FontOut10
endm
movwf transmit
btfss txsta,trmt
goto $-2
clrwdt
63
gsmOut2:
btfss pir1,rc1if
goto $-2
movf rcreg1,w
xorwf transmit,w
btfss status,z
goto gsmOut2
****************************************
;**********************************************
;**********************************************
bsf eecon1,rd
return
eewrite:
64
bsf eecon1,wren
;setting up for 8-bit asynchronous transmission & reception @ 9600 baud, @64MHz,
SPBRGH:SPBRG value=1666 with BRGH=1 & BRG16=1
#1s
movwf spbrgh1
movwf spbrg1
;the ports must have been properly confugured: SCKx,SDOx = output, SDIx = input
; bcf ssp1stat,smp ;*input data sampled at the middle of data output time
65
; bcf ssp1con1,ckp ;clock polarity, idle state of clock is low
; andwf ssp1con1,f
; movlw 0x00 ;in this case it is SPI master mode with clock = Fosc/4
; iorwf ssp1con1,f
;*****************************************************
;*****************************************************
; movwf ssp1stat ;and mode and input levels are 12c spec loaded in sspstat
; movlw 0x08 ; PORTD pins for I2C mode on SSP module (SSPEN is set)
AND
banksel porta
66
movlw b'00000110' ;b'00000001'
call format
;
***********************************************************************
***
End
list p=pic18f26k22
#include <p18f26k22.inc>
67
;************************************************************
cblock 0x0000
endm
movff par,switchcaseReg
endm
movf switchcaseReg,w
xorlw par
btfss status,z
endm
clrw macro
movlw 0
endm
68
printfStart
movwf tblptru
movwf tblptrh
movwf tblptrl
call sOut0
movf tablat,w
movwf arg1
xorlw 0
btfsc status,z
return
movlw 0x55
movwf eecon2
movlw 0xaa
movwf eecon2
; bsf intcon,gie
69
bcf eecon1,wren
btfss pir2,eeif
goto $-2
return
fsr0l,w
xorlw 0x60
btfss status,z
goto cycle0
return
switchDetect:
btfsc portb,0
bcf latb,4
btfss portb,0
goto $-2
call debounce
70
;this means street light is ok so restore:
return
movff adresl,value0
movf adresh,w
andlw 0x03
;resolution of ADC is 10bits, +Vref = 4.47V (measured the supply voltage of the
application circuit)
retlw 2
btfss myFlags,negative
Significant bits)
71
call switchDetect
call LDRadc
movwf temp1
case 0
goto st0a
goto st2a
;case 0 statement
movlw BRIGHT_MIN
movwf bright
call offsets ;
movwf ccpr2l
goto state0
st2a:
goto state0
72
;case 1 statement
call offsets ;
movwf ccpr2l
goto state0
end
73
DESIGN AND CONSTRUCTION OF AN AUTOMATED
STREET LIGHTING SYSTEM
By
MAY, 2018
1
DESIGN AND CONSTRUCTION OF AN AUTOMATED
STREET LIGHTING SYSTEM
By
15PCJ01023
SUPERVISOR
DR. ISAAC SAMUEL
2
MAY, 2018
ACCEPTANCE
This is to attest that this Project is accepted in partial fulfilment of the requirement for the
award of the degree of Post Graduate Diploma (PGD) Degree in Computer
3
Engineering in the Department of Electrical and Information Engineering, College of
Engineering, Covenant University, Ota, Nigeria.
DECLARATION
I hereby declare that I carried out the work reported in this Project in the Department of
4
Electrical & Information Engineering, Covenant University, under the supervision of Dr.
Isaac Samuel. I also solemnly declare that to the best of my knowledge, no part of this
Thesis has been submitted here or elsewhere in a previous application for the award of a
degree. All sources of knowledge used have been duly acknowledged.
---------------------------------------------------------------------
AWODEYI, AFOLABI IFEDAYO
(15PCJ01023)
5
CERTIFICATION
This is to certify that this Project titled “Design and Construction of an Automated Street
Lighting System” is an original work carried out by AWODEYI, Afolabi Ifedayo
(15PCJ01023), in the Department of Electrical and Information Engineering, College of
Engineering, Covenant University, Ota, Ogun State, Nigeria, under the supervision of Dr.
Isaac Samuel
6
DEDICATION
This project is dedicated to God Almighty for his faithfulness, love, and Grace towards
me and to my parents Mrs Veronica Ebunoluwa Awodeyi and Professor Amos Fola
Awodeyi for making sure I get the best Education.
7
ACKNOWLEDGEMENT
All thanks are due to Almighty God, the Lord of the universe, the only source of
knowledge, for his divine inspiration and grace that guided me throughout the writing of
this project. I am thankful to the Chancellor of Covenant University, Dr. David Oyedepo
whose vision to establish this University has provided me the opportunity to embark on
the Post Graduate Diploma (PGD) Programme.
My gratitude goes to my supervisor, Dr. Isaac Samuel who inspired me to work harder
through his help and support throughout this project. I am also thankful to my Head of
Department Dr. Victor Matthews for making his M2M and Embedded Systems
Laboratory available for me to carry out my research work and the prototype building. I
am also thankful to Mr. Akindele Ayoola, the M2M laboratory Research Technologist
who has been always there to listen and give advice that helped me focus my ideas and
further improve the quality of the work. I must not fail to acknowledge the
encouragement of my lecturers at some point; Dr. Ndijuiba Charles, Dr. Badejo Joke,
Professor Adetiba Emmanuel, Dr. Orovwode Hope, Professor Idachaba Francis,
Professor Adoghe Anthony, Dr. Awelewa Ayokunle, Dr. Abdulkareem Ademola, Mr
Omoruyi Odewingie, Dr. Daramola Adebayo, Dr. Agboje Oboyerulu and others whom I
have not mentioned here.
Most importantly, none of this would have been possible without the love, patience,
moral and financial support of my parents; Professor Amos and Mrs. Veronica Awodeyi.
Thank you all and God bless.
8
ABSTRACT
This Project report presents details of the design and construction of a microcontroller-
based automated intelligent street lighting system. The circuits are designed specifically
for self-intelligence and fault detection of the system.
The street light system consists of two circuit boards; the main printed circuit boards and
the street light pole printed circuit board.
The major components of the main printed circuit board are PIC microcontroller, GSM
module, voltage translator, multiplexer integrated circuit, resistors, and capacitors, while
the major components of the street light pole circuits are the light dependent resistor
circuit sensors, infrared sensors, PIC microcontroller, capacitor and resistors.
The Light Dependent Resistor is used for Automation, the Infrared sensor is used for
Intelligence; sensing movement and taking the LEDs to a full ON state and the GSM
module for fault detection.
The Printed Circuit Board circuits and their components are housed in its physical
framework. The circuit for the main board and the circuit for the street light pole were
tested and worked properly as intended.