Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpIOPower Status shows 'WEAK' after 1.6 Firmware upgrade #1090

Open
r-clips opened this issue Aug 1, 2024 · 0 comments
Open

gpIOPower Status shows 'WEAK' after 1.6 Firmware upgrade #1090

r-clips opened this issue Aug 1, 2024 · 0 comments

Comments

@r-clips
Copy link

r-clips commented Aug 1, 2024

I have run a Pijuice HAT with a Pi 2B for a couple of years using the standard BP7X battery, which has now begun to show signs of swelling.
I am now using a pair of parallel 18650 LIFEPO4 cells together with a NTC thermistor for which I have developed a custom profile.

All has been working pretty much as expected under Software/Firmware 1.6/1.4 and 1.8/1.4
I today tried upgrading the firmware to 1.6 but had to revert to 1.4 due to the following two issues that arose under 1.6 :

a) gpioPowerStatus showed 'WEAK' while ioVoltage showed 5058mV ( refer below ... )
I have never seen a 'WEAK' indication before. I am using a standard 5v 2.5A Pi plugpack connected to the Pi USB
What are the implications of this ?
I note that in the software README the following note appears :
WEAK - GPIO power is weak i.e. power supply cannot charge the PiJuice and provide power to the Raspberry Pi. DPM is active,
Has anything changed with this in FW 1.6 ? - I couldn't see anything in the Changelog

b) The battery temp appeared to be reflecting the board temp rather than the NTC measured battery temp
Under FW 1.4 the NTC temp was always ~ 20 degC and the board temp ~ 30 degC
Under FW 1.6 the NTC temp showed ~ 33 degC

This sounds like the issue previously reported in Issue #546
Has anything changed with this in FW 1.6 ? - I couldn't see anything in the Changelog

Everything went back to normal after reverting to FW 1.4

Firmware 1.4 :-

[pijuice]$ ./pijuice_util.py --get-status
{'data': {'isFault': False, 'isButton': False, 'battery': 'NORMAL', 'powerInput': 'NOT_PRESENT', 'powerInput5vIo': 'PRESENT'}, 'error': 'NO_ERROR'}

[pijuice]$ ./pijuice_util.py --get-input
{'ioVoltage': 5064, 'ioCurrent': 84, 'gpioPowerStatus': 'PRESENT', 'usbPowerInput': 'NOT_PRESENT'}

[pijuice]$ ./pijuice_util.py --get-battery
{'batteryTemp': 20, 'batteryCurrent': -2004, 'batteryVoltage': 3489, 'chargeLevel': 99, 'batteryStatus': 'NORMAL'}

[pijuice]$ ./pijuice_util.py --get-config
ChargingConfig: {'charging_enabled': True}
Battery Profile: {'capacity': 3500, 'chargeCurrent': 850, 'terminationCurrent': 100, 'regulationVoltage': 3500, 'cutoffVoltage': 2500, 'tempCold': 1, 'tempCool': 10, 'tempWarm': 45, 'tempHot': 60, 'ntcB': 3950, 'ntcResistance': 10000}
Firmware Veriosn: {'version': '1.4', 'variant': '0'}

Firmware 1.6 :-

[pijuice]$ ./pijuice_util.py --get-status
{'data': {'isFault': False, 'isButton': False, 'battery': 'NORMAL', 'powerInput': 'NOT_PRESENT', 'powerInput5vIo': 'WEAK'}, 'error': 'NO_ERROR'}
batteryTemp': 33
[pijuice]$ ./pijuice_util.py --get-input
{'ioVoltage': 5058, 'ioCurrent': -26, 'gpioPowerStatus': 'WEAK', 'usbPowerInput': 'NOT_PRESENT'}

[pijuice]$ ./pijuice_util.py --get-battery
{'batteryTemp': 33, 'batteryCurrent': -1227, 'batteryVoltage': 3437, 'chargeLevel': 99, 'batteryStatus': 'NORMAL'}

[pijuice]$ ./pijuice_util.py --get-config
ChargingConfig: {'charging_enabled': False}
Battery Profile: {'capacity': 3500, 'chargeCurrent': 850, 'terminationCurrent': 100, 'regulationVoltage': 3500, 'cutoffVoltage': 2500, 'tempCold': 1, 'tempCool': 10, 'tempWarm': 45, 'tempHot': 60, 'ntcB': 3950, 'ntcResistance': 10000}
Firmware Veriosn: {'version': '1.6', 'variant': '0'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant