I'm trying to research something I thought would be simple - find or create a solar power system for a weather station. I want it up and running as mu ch as possible, so there's a lead-acid battery involved.
The processor I'm using (raspberry pi zero W- it's 10$ and has wifi, I can' t resist that) needs to be properly shut down when the power fails, or the disk is corrupted. It runs on 5v, down to maybe 4.75v, and I want it to det ect when the available voltage is below 4.8v - I think. It can need up to a minute to shut down. I also need the power removed and then reapplied when the battery is good again, so there's an arduino involved to handle power management. (Arduino with wifi is expensive, which is why I'm clinging to t he fussier but more capable pi).
I plan to use a deep cycle 12v lead acid battery and enough solar cell to k eep it up overnight and for a couple of cloudy days. The solar charger will sometimes dump 16v or maybe even 20v into it. So everything hooked up need s to tolerate at least 20v.
Ok, so DC-DC converters are cheap, easy, and reasonably efficient. But how do I know when the power level is sagging?
My concerns are:
- If I measure the output of the converter, it might fight to keep providi ng 5v no matter what, until the voltage suddenly falls off a cliff and ther e's no time to complete shutdown. Low battery and a cloud, bam.
2.If I measure the output of the 12v battery... it appears they don't decli ne nicely from 12.5v to 0v. I don't know when to consider it time to shut d own the processor. Lead acid batteries are apparently damaged if you drain them too low, but apparently the voltage isn't a good indicator of that poi nt?
- I'm trying to go solar because my last weather station was powered by AC . A lightning strike nearby fried it, presumably because enough current got induced and found a path to ground via the power line. My thinking is if t he weather station is 1) battery powered, 2) uses wifi to communicate and 3 ) has most of the electronics indoors and somewhat shielded with foil, I ca n mitigate that problem. But I don't know if that's true. Is the solar part a fool's errand?
Comments welcome. I have a bumbling knowledge of electronics and a solderin g iron and may need it explained with part numbers and small words. TIA...