I live in a townhouse community that has an entry sign into the community. There is no electrical service where the sign is located. So there is no cost effective way to light the sign except perhaps through a light powered by a battery charged by a solar panel.
Years ago we decided to buy a solar garden light to light the sign. The light went through batteries like crazy. This was due to the fact that the controller would turn the light on when it became dark and turn it off when it became light outside or if the battery was so drained it would turn off the light.
Repeated discharge of the battery was the cause of the short battery life. In addition, the controller was extremely fragile and prone to damage during battery replacement. It was not long till the whole lighting system was shelved.
A year or so back I renewed my interest in electronics. The world of mcus made this hobby much more interesting. I was able to combine my interest in programming with my interest in electronics.
I decided that a good first project was to try and redesign our solar lighting system using a mcu. I chose the Pic18F14K22.
The controller monitors the solar panel. When the voltage from the panel drops to zero, a user configurable timer starts, when the timer expires the light is turned on. The reason for the timer is that the panel is not sensitive enough in dim light. Without the timer the light would come on immediately “after dark”, even though there is plenty of light to see the sign.
The battery voltage is monitored while the light is on. When the voltage of the battery drops below a user settable voltage the light is turned off.
The system has a new 40W solar panel charging a 22AH SLA. Both upgrades from the original system. The old panel barely put out a charge and the battery was a wimpy 6AH SLA. The old panel was used for one year as proof of concept.
The battery is charged through an off the shelf battery charger. The Sunguard from Morningstar. The LED lamp is driven by a Buck Puck Plus from Luxdrive.
I plan to add PWM dimming to the light to conserve battery power when the battery voltage starts to drop. I also plan to rewrite the code, pretty much from the ground up.
The innards
The controller
The Light
The panel
The light in action
Years ago we decided to buy a solar garden light to light the sign. The light went through batteries like crazy. This was due to the fact that the controller would turn the light on when it became dark and turn it off when it became light outside or if the battery was so drained it would turn off the light.
Repeated discharge of the battery was the cause of the short battery life. In addition, the controller was extremely fragile and prone to damage during battery replacement. It was not long till the whole lighting system was shelved.
A year or so back I renewed my interest in electronics. The world of mcus made this hobby much more interesting. I was able to combine my interest in programming with my interest in electronics.
I decided that a good first project was to try and redesign our solar lighting system using a mcu. I chose the Pic18F14K22.
The controller monitors the solar panel. When the voltage from the panel drops to zero, a user configurable timer starts, when the timer expires the light is turned on. The reason for the timer is that the panel is not sensitive enough in dim light. Without the timer the light would come on immediately “after dark”, even though there is plenty of light to see the sign.
The battery voltage is monitored while the light is on. When the voltage of the battery drops below a user settable voltage the light is turned off.
The system has a new 40W solar panel charging a 22AH SLA. Both upgrades from the original system. The old panel barely put out a charge and the battery was a wimpy 6AH SLA. The old panel was used for one year as proof of concept.
The battery is charged through an off the shelf battery charger. The Sunguard from Morningstar. The LED lamp is driven by a Buck Puck Plus from Luxdrive.
I plan to add PWM dimming to the light to conserve battery power when the battery voltage starts to drop. I also plan to rewrite the code, pretty much from the ground up.
The innards
The controller
The Light
The panel
The light in action
Attachments
-
40.8 KB Views: 126
-
43.2 KB Views: 73
Last edited: