If I add (charged) batteries between the solar panel and the Espruino I believe I will obtain the same result as with capacitor in that the initial draw is taken from batteries. I plan to use the pins as written in #9 (the voltage will be below 3.6 for sure).
But for an actual battery health check - to see if batteries are ok - how to achieve that? As I understand the NiMH batteries keeps voltage around 1.2 during lifetime and when discharged nothing - kind of on/off. So how to measure expected lifetime of batteries.
I do not see it is possible to read analog from pin 'Bat' as this pin is not shown when examining the possibilities by just writing analogRead() - then how to?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sorry Gordon, so many questions...
If I add (charged) batteries between the solar panel and the Espruino I believe I will obtain the same result as with capacitor in that the initial draw is taken from batteries. I plan to use the pins as written in #9 (the voltage will be below 3.6 for sure).
But for an actual battery health check - to see if batteries are ok - how to achieve that? As I understand the NiMH batteries keeps voltage around 1.2 during lifetime and when discharged nothing - kind of on/off. So how to measure expected lifetime of batteries.
I do not see it is possible to read analog from pin 'Bat' as this pin is not shown when examining the possibilities by just writing analogRead() - then how to?
Thanks..