![ThingMagic Sargas User Manual Download Page 33](http://html1.mh-extra.com/html/thingmagic/sargas/sargas_user-manual_1106995033.webp)
Using GPIO
Sargas User Guide
33
*User-supplied voltage
Inputs
The two opto-isolated inputs support the following input levels:
V-low (Logic 0) = 0-0.8V
V-high (Logic 1) = 3-30V
5mA max current with 24V input
It is recommended that external devices guarantee a minimum pulse width of at least
100ms.
Outputs
The two opto-isolated outputs support power sourcing, up to +30V with current sink up to
200mA, through an external power supply connected between V-GPO and ISO-GND
(pins 2 and 7).
Using the MercuryAPI the output signals (see note under
Connector Pinout
for
enumeration values) can be set as follows:
gpoSet(GPIO_#, 0) sets pin corresponding to GPIO enumeration to Vhigh through
10kohm pull up resistor to V-GPO.
gpoSet(GPIO_#, 1) sets pin corresponding to GPIO enumeration to Vlow through
effective short (through isolated FET switch) to ISO-GND.
Pin Parameter
Description
Min
Max
Unit
Conditions
+5V Supply
IO
Output current
200
mA
User IN 0-1
VIH
HIGH level input
voltage
3
30
V
User IN 0-1
VIL
LOW level input
voltage
0
0.8
V
User IN 0-1
ILI
Input current
5
mA
24V input
User IN 0-1
VI
Input voltage range
0
30
V
No damage
User OUT 0-1
VOH
Output high voltage
V+*
V
10k pullup
User OUT 0-1
VOL
Output low voltage
(V-)+0.5
V
100mA load
User OUT 0-1
VI
Supply voltage
range(V+ - V-)
30
V