Hey dear pimodule Team,
I set up UPS PIco HV4.0B/C like described in the manual. I had some trouble getting the current firmware on the UPS,
the serial communication could not be established, I managed then to upload the current firmware 179 with invoking
the manual bootloader mode at the point in the firmware uploader skript, where the loop around trying to communicate
over serial with the ups happens.
I would like to use the UPS now with only a supercap and no secondary battery. I do not have the pogo pins installed
and would like to not use them if possible.
I set per i2c
sudo i2cset -y 1 0x6b 0x07 0x43
like it says in the manual (Selects power source the 100F Supercapacitor as the ONLY Power Backup source - (Single Mode)).
However, when I run the pico_status skript I get:
**********************************************
UPS PIco HV4.0 Status
Version 1.4 Relase Date 13.03.2024
Compatible with Firmware 0x0168 and up
*******************************************
System Clock read from Date................: 2024-11-26 15:42:10
System Clock read from HWCLOCK.............: 2024-11-26 15:42:09.971614+01:00
UPS PIco RTC Registers direct read.........: 2024-11-26 14:42:11
UPS PIco Firmware..........................: 0179
UPS PIco Bootloader........................: 41
UPS PIco PCB Version.......................: 42
UPS PIco PCB Default Battery...............: Battery LiPO 'L' 0x4C
UPS PIco Set Battery.......................: On Board Super Cap (100F) 'C' 0x43
Raspberry Pi Core Temprature...............: 43 C
Raspberry Pi Core Temprature read by PICo..: 44 C
Embedded Fan Temp. Threshold...............: 45 C
Embedded Fan Speed.........................: OFF % of Total RPM
Powering Mode..............................: Cable POWERED
Power Backup Set Mode......................: Mixed Bat/SCap Backup
Battery Level..............................: 0.0 V
Super Capacitor Level......................: 2.7 V
EPR/PPoE Powering Level....................: 0.0 V
RPi(USB) Powering Level....................: 5.1 V
Running Time on Battery....................: 1 min
Battery Charger Status.....................: ON
Max Allowed Battery charging curent........: 0.11 A
Max Allowed On Board SCAP charging curent..: 1.27 A
Power Source(s) Cable checking timeout.....: 0.3 Seconds
Restart on Hold time.......................: 00 Seconds
FSSD Durtion...............................: 10 Seconds
Firmware loop..............................: Healthy - Running Properly
Still Alive Timer..(against.freezing)......: Timer Disabled
Raspberry Pi OFF waiting time..............: 5 Minutes
Magic Switch Funtionality..................: de-Activated
UPS PIco HV4.0 RS232(s) Setup..............: RPI_RS232_OFF PICO_RS232_OFF
-12/+12 V RS232 Driver Connection..........: none
RS232 PIco routing.........................: not implemented yet
RS232(s) PIco sleep/wakeup data setup......: not implemented yet
RS232(s) PIco sleep/wakeup data received...: not implemented yet
Internal Relay State.......................: OFF
User LED Green Activity....................: OFF
User LED Blue Activity.....................: OFF
Green LED mapping setup....................: none
Blue LED mapping setup.....................: none
A/D Converters Correction Factor...........: 00
A/D Converter 0 ...........................: 0.0
A/D Converter 1 ...........................: 0.0
Opto Coupler/Digital Input Level...........: 0.0
*******************************************
Powered by PiModules with help from ChatGPT 4.0
**********************************************
So, the UPS is now set with Supercap, but it says it is still running on "mixed mode".
The running time on battery is set to the default value of 1 min.
The raspberry is powered with USB (official power device 5V@5A), fan is working,
rtc is working.The Daemon is running and the light SYS is blinking at around 700ms and
the SCA led is on permanently.
So the supercap is fully loaded now and I unplug the USB power, what happens than is
that the raspberry dies off quite quickly and I think it does not regulary shutdown.
I commented out the "sudo shutdown now -h" commands in the daemon and the
raspberry stops nevertheless. However, the green activity led keeps on blinking
and the supercap seem to be discharging as the correspondin led turns off.
The green led of the raspberry blinks and the sys led from the UPS stays on until the
the supercap is discharged (which takes longer than 1 min like I would think the battery
timer should shutwdon the UPS?).
Could you maybe give me a hint, if there is any other setting I can make or I
misunderstood something?
Hi,
Step by Step
I set up UPS PIco HV4.0B/C like described in the manual. I had some trouble getting the current firmware on the UPS,
OK.
the serial communication could not be established, I managed then to upload the current firmware 179 with invoking
Do you have any additional HAT connected on TOP (if so please remove it or disable on it the serial port)?
the manual bootloader mode at the point in the firmware uploader skript, where the loop around trying to communicate over serial with the ups happens.
Please check also if you have activated serial port
I would like to use the UPS now with only a supercap and no secondary battery. I do not have the pogo pins installed
POGO PIN is Mandatory (both) otherwise it is possible you will have some reboots until SC discharge
and would like to not use them if possible.
Try it, as I said, possible you will have some reboots, until SC discharge completely
like it says in the manual (Selects power source the 100F Supercapacitor as the ONLY Power Backup source - (Single Mode)).
OK
Powering Mode..............................: Cable POWERED
Power Backup Set Mode......................: Mixed Bat/SCap Backup
I check it, next days, as will be completing new firmware for it
However please note that 100F is only for max 15 second run
The raspberry is powered with USB (official power device 5V@5A), fan is working,
rtc is working.The Daemon is running and the light SYS is blinking at around 700ms and
the SCA led is on permanently.
OK. The SCA LED Light mean that it is charged. But you must have not mixed mode
So the supercap is fully loaded now and I unplug the USB power, what happens than is
that the raspberry dies off quite quickly and I think it does not regulary shutdown.
Please describe it in more details
I commented out the "sudo shutdown now -h" commands in the daemon and the
raspberry stops nevertheless.
However, the green activity led keeps on blinking
and the supercap seem to be discharging as the correspondin led turns off.
The green led of the raspberry blinks and the sys led from the UPS stays on until the
the supercap is discharged (which takes longer than 1 min like I would think the battery
timer should shutwdon the UPS?).
POGO PIN BOTH ARE NEEDED 🙁
Could you maybe give me a hint, if there is any other setting I can make or I
misunderstood something?
for 99% POGO PINS are needed, I'm so sorry.
In any case we have mostly ready the new firmware, and release it in next days, so I will check your points until next Monday on the workbench. Currently I'm writing new firmware for the M.2 - UPS (same micro controller). If you not have any additional hardware the 100 F is fine, if have any extra HAT please be sure if 15 s for shutdown is fine, if not use bigger SC or combination of them (parallel connection)
Best regards
Pi Master
PS. Due to silicon bug, reported by Microchip, we ware to obligated re-write the I2C handler, taking into account all required changes by Microchip
Thanks for your quick reply!
Ok, I will try this evening to install the pogo pins and see how it goes.
Concerning the serial interface: I went through the steps in the manual and activated it, however there seemed to be no acknowledge from UPS side until I manually brought it into bootloader mode. There was no other hardware connected apart from the UPS.
I have a video showing what happens when I unplug USB from the raspberry. Shall I maybe send it to you somehow? Maybe in a few more words:
When I remove the USB plug the raspberry instantly dies (both red and green light from raspberry turn off). After about 2 seconds red and green led relight and after a while green seems to change into a regular blink rythm. This rythm continues until the capacitor is discharged (order of magnitude of some minutes).
Just for my understanding:
- Is it correct that without pogo pins the power is instantly gone and the raspberry simply is off?
- Should the battery timer turn off the ups also independent of the pogo pins after one minute (because this does not happen)?
Thanks for now and best regards