Hi All,
I'm hoping to use solar for powering micro controller data logging/sensing projects.
Specifically, I have an ESP-8266 (like Adafruit's Huzzah) based project I'd like to run on solar. (the temperature logger I blogged about recently)
The ESP, being WiFi enabled, uses a fair bit of power to communicate, and I would like to avoid any issues with brownout or shutdown at bad times. And also perhaps issues with startup/shutdown flickering.
The challenges include:
1. charging a battery from the solar panel.
2. output of the battery has to provide 3.3v to power the board
3. battery should be sufficiently charged before it provides power to the board
4. battery should shut down the board (cut the power) when voltage goes too low
5. The micro controller should be super energy efficient - ie, sleep most of the time, wake up just long enough to do something, then sleep again.
I'm still having trouble wrapping my mind around points 3 and 4.
Mark mcb1 suggested:
>For the Forget me Not challenge, the EnOcean devices reduced their reporting rate to suit the charge they had.
Which is a great idea - dynamically adjusting sleep and wake times depending on battery voltage. But I think it only addresses part (most) of the concerns.
My more direct concern with 3 and 4 was more outside of the control of the microcontroller: can we keep the battery controller from providing any power at all until a minimum threshold is achieved? ie, if battery pack voltage drops to the minimum 3.2volts, shut off power to the microcontroller, and then don't provide power again until it's back up to, say, 3.4 volts. I suppose a very power-miser type controller could control that part (digispark maybe?). So the battery would need enough power to run the digispark, and the digispark would turn on a relay if it figures there's enough power to run the ESP8266. I'm pretty sure I've seen battery protection circuits out there that will avoid over-discharge that can shut off power to the digispark in those cases.
I guess there's also that detail about not cutting power to the ESP when it's in the middle of communications.
Thanks,
-Nico
ps, This discussion started in another thread, but I thought it could use its own spot, mostly for future reference for all of us
pps, The rough approach is to just set it up and hope it doesn't run out of power much, and else just let it deal with it, but I'm looking for a gentler more refined solution.