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
setA_D
Values
AEXT0level
Scale
AEXT1level
Scale
AEXT2level
Scale
AEXT1
Resistor
AEXT2
Resistor
0x00
5.2V
5.2V
5.2V
0K
0K
0x01
5.2V
5.2V
10V
0K
3K3
0x02
5.2V
5.2V
20V
0K
12K0
0x03
5.2V
5.2V
30V
0K
24K0
setA_D
Values
AEXT0level
Scale
AEXT1level
Scale
AEXT2level
Scale
AEXT1
Resistor
AEXT2
Resistor
0x00
5.2V
5.2V
5.2V
0K
0K
0x10
5.2V
10V
5.2V
3K3
0K
0x20
5.2V
20V
5.2V
12K0
0K
0x30
5.2V
30V
5.2V
24K0
0K
* Red marked table settings are not unlocked yet in current firmware version
Any combination of data provided on above table is allowed. The register
setA_D
is 8
bit. The 4
th
MSB bits are responsible for the
AEXT1level
pre-scale, and the 4
th
LSB bits
are responsible for the
AEXT2level
pre-scale.
On the
UPS PIco HV3.0
PCB the AEXT
0level
is marked as
A50,
the
AEXT1level
is
marked as
A15
and the
AEXT2level
is marked as
A30.
If user need read raw data, then there is a need to write
0xFF
to the
setA_D
register.
With raw data option the basic standard resistor divider is used, and the input voltage
can not exceed the 5.2V. The maximum reading is 4095 (12 bit A/D). All A/D readings
have internal reference of 2.048V and are filtered by the firmware with “Olympic
Score” and “Low Pass” Filtering.