UPS PIco HV3.0A Firmware Code 040 Print Date 18.08.2017
Designed and Manufactured by PiModules and ModMyPi
www.pimodules.com www.modmypi.com
0x69 ->UPS PIco HV3.0 Module Status Registers Specification
Address
Name
Size
Type
R/W Explanation
0x00
mode
Byte
Mirror
Read
Powering Mode
–
Read ONLY, Writing has no effect on
the system and will be overwritten by UPS PIco HV3.0
with the new value
Read:
0x01
- RPI_MODE (means cable powering mode USB or
EPR)
0x02
- BAT_MODE
0x08
batlevel
Word
Mirror
Read
Means value of Battery Voltage in 10
th
of mV in BCD
format
0x0a
rpilevel
Word
Mirror
Read
Means value of Voltage supplying RPi on J8 5V Pin in 10
th
of mV in BCD format
0x0c
eprlevel
Word
Mirror
Read
Means value of Extended Voltage supplying RPi on
Extended Voltage input (7-28VDC) in 10
th
of mV in BCD
format
0x14
aEXT0level
Word
Mirror
Read
Means value of the first A/D converter pre-scaled to
5.2V. Higher voltage could not be supplied. Readings
are in 10
th
of mV in BCD format
0x16
aEXT1level
Word
Mirror
Read
Means value of the second A/D converter pre-scaled to
5.2V. Higher voltage could be supplied with an external
resistor divider. Readings are in 10
th
of mV in BCD
format.
If added an extra resistor can be used as pre-
scaled to 10, 20 or 30V.
0x18
aEXT2level
Word
Mirror
Read
Means value of the second A/D converter pre scaled to
5.2V. Higher voltage could be supplied with an external
resistor divider. Readings are in 10
th
of mV in BCD
format.
If added an extra resistor can be used as pre
scaled to 10, 20 or 30V.
0x1a
key
Byte
Common
R/W
User Kay Pressed information
Read:
0x01
–
Pressed key
A
Read:
0x02
–
Pressed key
B
Read:
0x03
–
Pressed key
C
Write:
0x00
–
Reset (clear) after the current reading and
prepare for the next one.
0x1b
ntc
Byte
Mirror
Read
Temperature in Celsius degree of the embedded NTC1
sensor placed on the top of PCB. Values in BCD format.
0x1c
TO92
Byte
Mirror
Read
Temperature in Celsius degree of the TO-92 sensor
placed on the bottom of PCB. It is valid only if this sensor
is soldered. It is available in the PIco Fan Kit. Values in
BCD format.
0x20
charger
Byte
Mirror
Read
Information about charger IC status.
Read:
0x00
–
Charger IC is OFF and battery is not
charged
Write:
0x01
–
Charger IC is ON and battery is charged
For Version UPS PIco HV3.0 Stack/TopEnd the charging
current is fixed to 300 mA.
For Version UPS PIco HV3.0 Plus the charging current is
dynamically changed based on powering conditions on
micro USB powering input or External Powering Input.
The charging current on that version is from 100 mA
–
800 mA. With maximum of the system to be 1200 mA
(will be activated in the future).