Hi all, I’ve updated a Boron to 1.3.1-rc.1, then 1.4.0-rc.1 to try and fix the notorious reconnection memory leak issue, and it looks like my solar charging behavior has been seriously affected.
I noticed this entry in the 1.3.1-rc.1 release notes:
https://github.com/particle-iot/device-os/pull/1846
My setup is a Voltaic 2W panel wired directly to VUSB and GND pins. It is rated for 340mA at 6.5VDC
https://voltaicsystems.com/2-watt-panel/
My application firmware has these PMIC entries in it. These were left over from some testing I was doing early on to increase charge performance, but as you can see from the comments, I kind of abandoned that when it wasn’t needed. The unit normally recharges the 2500 mAh battery within 90 min of full sun, which is more than aggressive enough.
//Set up PMIC chip for optimal solar charging of InputVoltageLimit = 5080, ChargeVoltage = 4208
//If LiPo doesn't charge when connected to USB, especially with long cables dial InputVoltage back to 4840 - 4640
//If LiPo gets too hot (ambient > 113F) or explodes, dial Charge Voltage back to 4112
PMIC pmic;
pmic.setInputVoltageLimit(4640);
pmic.setChargeVoltage(4112);
The first unit that stopped charging was after the aforementioned firmware update, but it is a 3hr drive away so I’ve not been able to connect locally to downgrade it and confirm solar recovery.
So instead I took a precious virgin spare off the shelf, set it up as typical, downloaded the same program at firmware 1.2.1, which is what the 7 others in the field (and still working fine) are at. Connected the solar and got a nice steady, strong LED and a status of:
"device":{
"power":{
"battery":{
"charge":71.46
"state":"charging"}
"source":"USB host"}
Sent version 1.4.0-rc.1 down, and charging LED immediately changed to a very dim very rapid flicker, and status poll reports:
"device":{
"power":{
"battery":{
"charge":40.32
"state":"discharging"}
"source":"unknown"}
I also tried removing the PMIC references above, but no change in behavior.
Is it possible that the surgery in issue 1846 has made the PMIC pull too much current and is now collapsing the cell, since it can supply max 340mA and not the 500mA of typical USB (new max is now 800mA)?
I’m not very good on the electrical side, so I’m going to rely on someone like @Rftop or @RWB or @rickkas7 that helped me with the original bits to chime in on that one.
Any ideas guys?