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
“PI
CO IS
R
UNNING
”
F
EATURE
.................................................................................................................... 67
Example of use ............................................................................................................................... 68
U
SER
S
ELECTABLE
PI
CO
HV3.0
I2C
ADDRESSES
............................................................................................ 68
Example of use
–
System is in DEFAULT addresses ........................................................................ 69
Example of use
–
System is in ALTERNATE addresses .................................................................... 69
SUDO I
2
CSET
-
Y
1
0
X
5
B
0
X
00
0
X
A0
S
ET THE
S
YSTEM TO
DEFAULT
MODE
....................................................... 69
UPS
PI
CO
HV3.0
HAT
S
TILL
A
LIVE
(STA)
F
UNCTIONALITY
............................................................................ 69
Example of use ............................................................................................................................... 70
UPS PICO HV3.0 HAT USER APPLICATIONS HARDWARE INTERFACES ............................................... 70
UPS
PI
CO
HV3.0
HAT
LED
S
................................................................................................................... 72
Example of use ............................................................................................................................... 73
UPS
PI
CO
HV3.0
A
B
UTTONS
.................................................................................................................. 74
U
SER
B
UTTONS
(K
EYS
) ............................................................................................................................. 76
Example of use ............................................................................................................................... 77
UPS
PI
CO
HV3.0
HAT
S
OUND
G
ENERATION
S
YSTEM
................................................................................... 78
Example of use ............................................................................................................................... 78
UPS
PI
CO
HV3.0
B
I
S
TABLE
R
ELAY
............................................................................................................ 80
Bi Stable Relay Basic Technical Specifications ............................................................................... 80
Example of use ............................................................................................................................... 82
UPS
P
ICO
HV3.0
HAT
IR
R
ECEIVER
I
NTERFACE
........................................................................................... 83
UPS
P
ICO
HV3.0
HAT
P
ROGRAMMABLE
A
UXILIARY
5V@750
M
A
AND
3.3V@150
M
A
I
NTERFACE
.................... 83
Example of use ............................................................................................................................... 83
UPS
PI
CO
HV3.0
S
ERIAL
P
ORT
(
S
) ............................................................................................................. 85
Example of use ............................................................................................................................... 85
UPS
PI
CO
HV3.0
FAN
C
ONTROL
(A
CTIVE
C
OOLING
S
YSTEM
) ........................................................................ 86
Example of use
–
Manual FAN ON/OFF ......................................................................................... 87
Example of use
–
Automatic FAN ON/OFF ..................................................................................... 87
UPS
PI
CO
HV3.0
B
ATTERY
T
YPE
S
ELECTION
................................................................................................ 87
0x6B -> UPS PIco Module Commands ............................................................................................ 88
Example of use ............................................................................................................................... 89
UPS PICO HV3.0 HAT MEASURING AND MONITORING SYSTEM ....................................................... 89
P
OWERING
M
ODE
.................................................................................................................................. 90
B
ATTERY
L
EVEL
....................................................................................................................................... 91
R
ASPBERRY
P
I
®
GPIO
5V
L
EVEL
............................................................................................................... 92
E
XTERNAL
P
OWERING
L
EVEL
..................................................................................................................... 92
UPS
PI
CO
HV3.0
12-
BIT
A/D
CONVERTERS
................................................................................................ 92
Example of use ............................................................................................................................... 95
Registers Located at 0x69 I2C address related to A/D readings .................................................... 95
Registers Located at 0x6B I2C address related to A/D settings ..................................................... 95
E
MBEDDED
NTC
TEMPERATURE
................................................................................................................. 96
TO-92
S
ENSOR
T
EMPERATURE
.................................................................................................................. 96
I
NTEGRATED
C
HARGER
S
TATUS
.................................................................................................................. 96
UPS PICO HV3.0 SYSTEM TIME SCHEDULERS .................................................................................... 97
B
ASIC
S
CHEDULER
................................................................................................................................... 98
BS Definitions ................................................................................................................................. 98
Basic Scheduler Involved PICo Registers/Sets ................................................................................ 99