Closed ISO-B closed 9 years ago
Ignore my previous comments about battery holders, this was a red herring. Not enough coffee :)
[I've deleted the comments to avoid the distraction]
On 26 February 2015 at 10:27, ISO-B notifications@github.com wrote:
I havent tested it with multimeter, but mopi tells voltage for that source. As you can see from my output mopi tells that there is voltage and verbose is wrong.
In my case Source 1 is for batteries and it has 13650 voltage. While batteries were detached mopi said voltage was something like 5XXX. After plugging batteries it jumped to 13650 before detaching batteries it was something like ~12500. So I dont think that springs are problem.
— Reply to this email directly or view it on GitHub https://github.com/hamishcunningham/pi-tronics/issues/38#issuecomment-76154981 .
Is the amber LED for the power source flashing? If when the batteries were detached and the voltage reading didn't drop to 0, it's likely the status of the input wasn't reset. In this case then, it will report low as you are seeing. Try disconnecting the batteries and waiting longer for the voltage level reported to drop to 0. If you've already waited a while (e.g. the time for them to charge up) then a power cycle (disconnecting the wall source) should definetely sort it out.
I will have to check that led when I can. Batteries where disconnected for 24h and it never dropped to 0.
What might prevent voltage reading going to 0 when source is detached?
Do you know does that have something else impact but that verbose is wrong? Example if I disconnect wall adabter will my pi shutdown or stay up until batteries run out.
With very high voltages (usually > 20V), there can be leakage across the schottky diode we use to combine the inputs. A quick fix might be to disconnect the batteries and connect the input to ground. I'm not at home and can't test this myself, so this comes with a heavy warning that it may potentially damage your MoPi and/or RaspberryPi!
It's almost certainly the voltage not going to 0 causing the problems. If you run on batteries until the Pi shuts down, the voltage level is still there, so the microcontroller won't reset the status of the input. A full disconnect of all power sources will reset everything, of course.
Do you know does that have something else impact but that verbose is wrong? Example if I disconnect wall adabter will my pi shutdown or stay up until batteries run out.
No, it won't create a problem with switching to another supply. There should be no break in power to the Pi.
I am running mopi with 12V DC adapter from wall and 10 x 1.2V 2200mAh rechargeable batteries. Sometimes I need to detach batteries and recharge them. After plugging them back verbose status for that source is: low/not present.