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
BS Example 1
st
-
Simple Raspberry Pi® ON/OFF executed infinitive times for 1 minutes (ON/OFF
every minute) ............................................................................................................................... 101
BS Example 2
nd
-
Simple Raspberry Pi® ON/OFF executed 100 times for 1 minutes (ON/OFF every
minute)......................................................................................................................................... 102
E
VENTS
T
RIGGERED
RTC
B
ASED
S
YSTEM
A
CTIONS
S
CHEDULER
...................................................................... 103
ETR SAS Definitions ...................................................................................................................... 103
ETR SAS Definitions Dependencies ............................................................................................... 104
Raspberry Pi® ETR SAS Self Programming
.................................................................................... 104
Template for ETR SAS preparation ............................................................................................... 105
ETR SAS Involved PICo Registers/Sets .............................................................................................. 0
ETR SAS Working Examples.............................................................................................................. 1
Definition of the 1
st
Example -
Simple Raspberry Pi® ON/OFF Schedule executed 1 time for 1
minutes and repeated every day ..................................................................................................... 2
Definition of the 2
nd
Example - Simple Bi-Stable Relay ON/OFF Schedule executed 1 time for 3
minutes and repeated every day. .................................................................................................... 4
Definition of the 3
rd
Example -
Simple Raspberry Pi® ON/OFF Schedule executed 60 times for 1
minute every 2 minutes and repeated every day ............................................................................. 6
S
ETTING
-
UP THE
ETR
SAS .......................................................................................................................... 8
Setting Up of the 1
st
Example -
Simple Raspberry Pi® ON/OFF Schedule executed 1 time for 1
minute and repeated every day ..................................................................................................... 10
Setting Up of the 2
nd
Example - Simple Bi-Stable Relay ON/OFF Schedule executed 1 time for 15
minutes and repeated every day. .................................................................................................. 15
FACTORY DEFAULTS SETTING ........................................................................................................... 18
Command Line Factory (automatic) recall ..................................................................................... 18
Manually Factory Defaults recall ................................................................................................... 18
UPS PIco HV3.0 HAT settings on Factory Defaults recall ............................................................... 18
A COMPLETE DESCRIPTION OF THE UPS PICO HV3.0 HAT PROGRAMMERS REGISTERS .................... 20
T
HE
PIC
O
(I
2
C)
I
NTERFACE
-
P
ERIPHERALS
I2C
C
ONTROL
I
NTERFACE
................................................................ 20
0
X
69
->UPS
PI
CO
HV3.0
M
ODULE
S
TATUS
R
EGISTERS
S
PECIFICATION
............................................................ 21
0
X
6A
->
UPS
PI
CO
H
ARDWARE
RTC
R
EGISTERS
D
IRECT
A
CCESS
S
PECIFICATION
................................................. 23
0
X
6B
->
UPS
PI
CO
M
ODULE
C
OMMANDS
.................................................................................................. 24
EVENTS TRIGGERED RTC BASED SYSTEM ACTIONS SCHEDULER COMMANDS ................................... 30
0x6c -> Start Time Stamp ............................................................................................................... 30
0x6d -> Actions Running Time Stamp ............................................................................................ 30
0x6e -> Events Stamp ..................................................................................................................... 30
0x6f -> Actions Stamp .................................................................................................................... 30
UPS PICO TERMINAL BLOCK PCB ...................................................................................................... 32
I
NTRODUCTION
....................................................................................................................................... 32
W
HAT IS A
V
OLTAGE
F
OLLOWER
? .............................................................................................................. 35