Professional Documents
Culture Documents
Rajshahi University of Engineering &technology: Arduino Based Solar Street Light With Auto Intensity Control
Rajshahi University of Engineering &technology: Arduino Based Solar Street Light With Auto Intensity Control
Rajshahi University of Engineering &technology: Arduino Based Solar Street Light With Auto Intensity Control
A PROJECT REPORT
Supervised By Submitted By
i
ii
Project supervisor Head of department
Dr.Md.Rabiul Islam
Head, Dept. of ETE
Rajshahi University of Engineering &Technology
Rajshahi- 6240, Bangladesh
Mobile:+8801715418938
E-mail: rabiul_cse@gmail.com
ACKNOWLEDGEMENT
iii
It is us privilege to express our sincerest regards to our project coordinator, Mr. Omkar Pabbati, for their
valuable inputs, able guidance, encouragement, whole-hearted cooperation throughout the duration of our
project.
We deeply express sincere thanks to our Head of Department Prof. R N Mutagi for encouraging and
allowing us to present the project on the topic
“Solar powered LED Street light with auto intensity control”
We take this opportunity to thank all lecturers who contributed their valuable advice and helped to
complete this project successfully.
ABSTRACT
iv
This report describes the design of the “Solar Powered LED street Light with auto- intensity control”
The project based on 2 modules.
Table of Contents
INTRODUCTION ....................................................................................................................................... 1
v
Chapter 1 ................................................................................................................................................. 2
Functional block diagram with explanation of each Block ..................................................................... 2
1.1 Block Diagram: ....................................................................................................................... 3
1.2 Explanations of Each Block: .................................................................................................... 4
Chapter 2 ................................................................................................................................................. 5
Charge controller circuit ......................................................................................................................... 5
2.1 Operation of circuit diagram: .................................................................................................. 6
2.2 Advantages: ............................................................................................................................. 6
2.3 Limitations: ............................................................................................................................. 6
2.4 Application: ............................................................................................................................. 6
Chapter 3 ................................................................................................................................................. 7
Software Implementation ....................................................................................................................... 7
3.1 Simulation of charge controller circuit: .................................................................................. 8
3.2 Simulation of Voltage divider circuit: ...................................................................................... 9
3.3 Coding of Controller in Arduino UNO for RTC (Real Time Clock): ......................................... 10
3.4 Coding of Controller in Arduino UNO for PWM: ................................................................... 13
Chapter4.............................................................................................................................................14
Hardware Implementation ................................................................................................................... 14
4.1 Operation of circuit diagram: ................................................................................................ 15
4.2 TestingofHardware:.............................................................................................................16
4.3 Hardware component List:...................................................................................................17
Chapter ...............................................................................................................................................18
Applications, References, Future Scopes..............................................................................................18
5.1 Advantages:...........................................................................................................................19
5.2 Disadvantages:......................................................................................................................19
5.3 Applications:.........................................................................................................................19
5.4 Conclusion:............................................................................................................................20
5.5 FutureScope:........................................................................................................................21
References:...........................................................................................................................................22
APPENDIX-A - LIST OF
FIGURES.............................................................................................................23
vi
APPENDIX-B - LIST OF
TABLE.................................................................................................................23
ii
INTRODUCTION
The project is designed for LED based street lights with auto intensity control using solar power from
photovoltaic cells. As awareness for solar energy is increasing, more and more individuals and
institutions are opting for solar energy. Photovoltaic panels are used for charging batteries by
converting the sunlight into electricity. A charge controller circuit is used to control the charging and
prevent the battery to overcharging from the solar panel.
Battery charger should have over voltage protection, short circuit protection and reversed polarity
protection.
Intensity of street lights is required to be kept high during the peak hours. At late night intensity of
light should be max after some time the intensity can be reduced progressively till morning to save
energy. Thus final it completely shuts down at morning 6, and again resumes at 6pm in the evening.
The process repeats every day.
We Used voltage divider circuit to convert 12V to 5V because controller can understand 5V.
The microcontroller contains programmable instructions which controls the intensity of street lights
based on the PWM (Pulse width modulation) signals generated. To generate PWM signal at different
time we used RTC.
Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week,
and year with leap-year. RTC will consume power from microcontroller. RTC is use to detect
Automatic power-fail in the circuitry.
From the dusk with full intensity till 11pm from 6pm and at 6’o clock to 8’o clock 60%, 8’o clock to
12’o clock 70% 12 mid night it is 100% duty cycle, 1’o clock to 4’o clock 60%, 4’o clock to 6’o clock
60% and finally OFF at the dawn.
LED lights are the future of lighting, because of their low energy consumption and long life they are
fast replacing conventional lights world over Hence we used LEDs to control the intensity of light.
1
Chapter 1
Functional block diagram with explanation of each Block
LED BANK
Solar
Panel
Solar Panel: A solar panel is a collection of solar cells. The solar panel converts the solar energy into
electrical energy. Output of the solar panel is its power which is measured in terms of Watts or Kilo
watts. Solar power uses multiple reflectors to collect more sun’s thermal energy. Thermal energy
collected through the day to perform different operations. Performance of the solar panel depends on a
number of factors like climate, conditions of the sky, orientation of the panel, intensity and duration of
sunlight and its wiring connections.
Charge controller circuit: If the battery voltage is below 12V, then the current from LM317 IC
flows to the battery. The current flow to the battery stops when the battery voltage rises to 13.5V.
Hence charge controller circuit will prevent the battery to flow high current through it.
Voltage Divider circuit: A voltage divider is a simple circuit which turns a large voltage into a
smaller one. Using just two series resistors and an input voltage, we can create an output voltage that
is a fraction of the input. Voltage dividers are one of the most fundamental circuits in electronics
equation of circuit is shown in fig.
Arduino UNO: Micro-controller will control the intensity of light at different time slots. Micro
controller circuit will generate PWM waves at a particular time using RTC (Real Time Clock) these
system provide sets of digital and analog I/O pins that can be interfaced to the street light circuit.
Operating voltage of Arduino UNO is 5v so that we will convert 12v from Battery to 5v.
• This automatic battery charger circuit design mainly involves two sections – power
supply section and load comparison section.
• If the battery voltage is below 12V, then the current from LM317 IC flows through
the resistor R5 and diode D5 to the battery. At this time Zener diode D6 will not conduct
because battery takes all the current for charging.
• When the battery voltage rises to 13.5V, the current flow to the battery stops and
zener diode gets the sufficient breakdown voltage and it allows the current through it. Now
the base of the transistor gets the sufficient current to turn on so that the output current from
LM317 voltage regulator is grounded through the transistor Q1. As a result Red LED
indicates the full of charge.
2.2 Advantages:
• Automatically charges the battery and stops charging when battery is fully charged.
2.3 Limitations:
• This circuit is tested in simulation software and may require some practical changes
2.4 Application:
Controller Arduino UNO can understand 5v. So we require converting 12V from battery to 5V using
Voltage divider circuit.
Vout=(R2/R1+R2)*Vin
SET TIME:
#include <Wire.h>
#include <Time.h>
#include <DS1307RTC.h>
tmElements_t tm;
void setup() {
bool parse=false;
bool config=false;
Serial.begin(9600);
while (!Serial) ; // wait for Arduino Serial Monitor
delay(200);
if (parse && config) {
Serial.print("DS1307 configured Time=");
Serial.print(__TIME__);
Serial.print(", Date=");
Serial.println(__DATE__);
} else if (parse) {
Serial.println("DS1307 Communication Error : -{");
Serial.println("Please check your circuitry ");
} else {
Serial.print("Could not parse info from the compiler, Time= \"");
Serial.print(__TIME__);
Serial.print(" \", Date= \"");
Serial.print(__DATE__);
Serial.println(" \"");
}
}
#include <Wire.h>
#include <Time.h>
#include <DS1307RTC.h>
void setup() {
Serial.begin(9600);
while (!Serial) ; // wait for serial
delay(200);
Serial.println("DS1307RTC Read Test");
Serial.println(" ------------------- ");
}
void loop() {
tmElements_t tm;
if (RTC.read(tm)) {
Serial.print("Ok, Time = ");
print2digits(tm.Hour);
Serial.write(':');
print2digits(tm.Minute);
Serial.write(':');
print2digits(tm.Second);
Serial.print(", Date (D/M/Y) = ");
Serial.print(tm.Day);
Serial.write('/');
Serial.print(tm.Month);
Serial.write('/');
Serial.print(tmYearToCalendar(tm.Year));
Serial.println() ;
} else {
if (RTC.chipPresent()) {
Serial.println("The DS1307 is stopped. Please run the SetTime");
Serial.println("example to initialize the time and begin running.");
Serial.println();
} else {
Serial.println("DS1307 r ead error! Please check the circuitry.");
Serial.println(); }
delay(9000); }
delay(1000);
}
FIG.3.4 PWM
The green lines represent a regular time period. This duration or period is the inverse of the PWM
frequency. In other words, with Arduino PWM frequency at about 500Hz, the green lines would
measure 2 milliseconds each. A call to analog write () is on a scale of 0 - 255,
such that analogWrite (255) requests a 100% duty cycle (always on), and analogWrite (127) is a 50%
duty cycle (on half the time).
The system consists of two circuits – the Charge control circuit and the load intensity control circuit.
The charge control circuit consists of 4 parts - overcharge indication, over load detection with
protection and low battery voltage detection with indication. IC-LM317t adjustable threeterminal
positive-voltage regulator .And it is capable of supplying more than 1.5A over an output-voltage
range of 1.25 V to 37 V.
The load intensity control part consists of the controller-Arduino UNO which controls the power
supply to the load through the transistor and RTC (Real Time Clock). RTC can generate PWM waves
at particular time. So as to vary the intensity of the led’s. Here an array of led’s is connected as the
load.
Timings 6’o to 8’o clock 8’o to 12’o clock 12’o clock 1’o to 4’o clock 4’o to 6’o clock
1) Controller circuit I
Capacitor Box 1 70
LM317t Regulator 1 10
Potentiometer (10kohms) 1 20
Diode (1N4007) 2 5
Crystal 1 10
Resistor Box 1 50
Transistors 2 5
Heat sink 3 5
• Solar street lights are independent of the utility grid. Hence, the operation costs are
minimized.
• Solar street lights require much less maintenance compared to conventional street
lights.
• Separate parts of solar system can be easily carried to the remote areas.
5.2 Disadvantages:
• Snow or dust, combined with moisture can accumulate on horizontal pv-panels and
reduce or even stop energy production.
• Rechargeable batteries will need to be replaced several times over the lifetime of the
fixtures adding to the total lifetime cost of the light.
5.3 Applications:
This system is designed for outdoor application in un-electrified remote rural areas. This system is an
ideal application for campus and village street lighting.
Solar Street Lighting System is an ideal lighting system for Roads, Yards, Residential
Colonies, Townships, Corporate Offices, Hospitals, Educational Institutions and Rural Electrification.
• Street Lighting
• Pathway Lighting
• Private Road Lighting
5.4 Conclusion:
The solar energy is one of the important and major renewable sources of energy and has also proven it
useful in functioning of applications like street lights.
Solar powered automatic street light controller is one of the applications of electronics to increase the
facilities of life. The use of new electronic theories has been put down by expertise to increase the
facilities given by the existing appliance. Here the facility of ordinary street light is increased by the
making it controlled automatically
The charge control is necessary in order to achieve safety and increase the capacity of the battery. In
cities, currently thousands of street lights are operated and the yearly electricity maintenance cost is
very high.
The initial cost and maintenance can be the draw backs of this project. With the advances in
technology and good resource planning the cost of the project can be cut down and also with the use
of good equipment the maintenance can also be reduced in terms of periodic checks.
It saves around 40% of electricity from per street light. So throughout the world if we use this concept
then it will eliminate the energy crisis to a larger extent.
It is eco-friendly and utilizes the renewable source of energy very well.
The Solar Powered LED Streetlight with Auto Intensity Control can control the electric charge and
intensity of lights.
This project can be enhanced by using with timer based products and photo sensor based products.
We can use solar tracking system for fast charging.
In monsoon season solar light is more difficult so that we use extra batteries in series to save more
power.
To improve lighting we use LED Panel.
http://www.ijireeice.com/upload/2015/june-15/IJIREEICE%206.pdf
http://www.kslubiwmp.com/docs/Watershed%20works/SolarStreetLight.pdf
http://www.timeanddate.com/astronomy/india/ahmadabad
https://www.sparkfun.com/datasheets/Components/DS1307.pdf
http://www.ti.com/lit/ds/symlink/lm317.pdf
3.4 PWM 13