Standalone Solar Street Lamp
This simple project explains how to build a Arduino based standalone street lamp system with automatic switch on/off.
12V-16V solar panel is used to charge the battery in daylight
High power SMD LEDs are used for street lamp due to its durability & high luminance.
A LDR sensor detects the light intensity.
When the level of light intensity reduce below a certain point(Night Time), the Arduino microcontroller is programmed to operate the relay module.
The LED lamp is connected in series with Relay module NO(Normally Open) & COM terminals.
When the relay module is operated,the the NO terminals become closed.
Then the power supply to the LED lamp continued.Hence the lamp will be ON.
When the level of light intensity increases upto a certain point(Day Time),The relay module will operate back to it's initial state.
Then the LED lamp will be turn off.
In this project, a LM7812 IC is used to regulate the voltage in to 12V to charge the battery.
Note : The battery will be continuously charged throughout the day and will be subjected to be overcharged.This will damage the battery or reduce battery performance.Hence it is highly recommended to use a solar battery charger control unit instead of the LM7812 IC configuration.
Using a single Arduino microcontroller,this method can be used in multiple standalone street light arrangements for automated light switching.
Tools & Components
1 X Arduino Nano
1 X Solar Panel (12V~16V)
1 X 5VDC Relay Module
1 X LDR
1 X SMD LED Lamp (12V)
1 X LM7812 VR IC
1 X 1N4007 Diode
1 X 2.2K Ohm Resistor
1 X Breadboard
1X Rechargeable Battery (12V)
Connecting Wires
Connecting Components
LDR Pin - Arduino Pin A02
Relay Sig. Pin - Arduino Pin D13
Note : The LM7812 IC tends to dissipate heat over the time(higher input voltage = higher heat dissipation).Hence install a suitable heatsink to the LM7812.
Arduino Code
//www.Craftybin.blogspot.com
//Author : Chathura H.
int relay =12;
void setup() {
pinMode(relay,OUTPUT);
Serial.begin(9600);
}
int LDR1;
void loop() {
LDR1 = analogRead(A0);
Serial.print(LDR1);
delay(100);
if (LDR1 <= 200){
digitalWrite(relay,HIGH);
}
else if (LDR1 > 200){
digitalWrite(relay,LOW);
}
}
//Author : Chathura H.
int relay =12;
void setup() {
pinMode(relay,OUTPUT);
Serial.begin(9600);
}
int LDR1;
void loop() {
LDR1 = analogRead(A0);
Serial.print(LDR1);
delay(100);
if (LDR1 <= 200){
digitalWrite(relay,HIGH);
}
else if (LDR1 > 200){
digitalWrite(relay,LOW);
}
}
Safety First !
Always Connect the power supply if you are absolutely sure that the components are connected correctly without changing polarity and short circuited the wiring.
Even if it seems nothing is wrong : DOUBLE CHECK EVERYTHING !!
Your Feedback is very important to us.
Please Leave a comment about how you feel about this project.
Great post and thanks for sharing about the latest development in solar panels.
ReplyDeleteEpever mppt solar charge controller I would like to say that this blog really convinced me to do it! Thanks, very good post.
ReplyDeleteLooking for high quality and best perfomence Street Light? Then we are the best for you, who suit your expectations. We have huge experience on this field. We are 100% dedicated to find you VEGASeries Cobra Head Street Light.
ReplyDeleteYou can buy VEGASeries Cobra Head Street Light here and here are numberius clients buy our products. We are provide only high quality VEGASeries Cobra Head Street Light for you with always customers support.
If you want to know more, Please check out here - https://kanglight.com/vega-series-led-street-lights/
solar system wholesale We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work.
ReplyDeleteIndeed, you totally can. You can lay insulation around the intersection boxes too. Ensuring that the insulation is of a fiberglass material won't just guarantee a flame resistant arrangement yet additionally lessen wind current from the home through the attic. If you want to know more, Please check out here - Attic Insulation
ReplyDeleteI will share it with my other friends as the information is really very useful. Solar Powered Carports. Keep sharing your excellent work.
ReplyDeletePost a Comment