Configure Gpio - Christie Mirage WQ-L User Manual

Data projector
Table of Contents

Advertisement

Configure GPIO

The GPIO connector can be configured to automate any number of events using the serial command
code GIO. See
General Purpose Input/Output (GIO)
input or output depending on the desired outcome. Configure the pin as an input if you want the
projector to respond to something the device does and as an output if you want the external device
to respond to an action taken by the projector. For example, configure the pin as an output if you
want the lighting in a room to automatically dim when the projector is powered On. By using the
GIO command, you can also set the state of each output pin as high or low. By default, the state of
each pin is high. The voltage applied to pins in the high state is +3.3 V. A low state (or value of 0)
will be read on an input pin if the circuit attached to the pin is open. A high state (or value of 1) will
be read on an input pin if the circuit attached to the pin is shorted to ground. This corresponds to a
switch closing event.
Pin
Open (0 or L)
Pin
Closed (1 or H)
Example
Turn room lighting on when the projector is powered Off (assumes a control/automation unit is
configured to power the lights On when pin 2 of its input goes high).
The strings in the commands refer to pins 2, 3, 4, 6, 7, 8, 9 in order from left to right.
(GIO+CNFG "OOOIIII")
(GIO+STAT "HLXXXXX")
Query Command
(GIO+STAT)
(GIO+STAT "HLLHLLH")
(GIO+CNFG)
(GIO+CNFG "IIIOOOO")
Mirage WQ-L User Manual
020-101372-01 Rev. 1 (04-2014)
on page 84. Each pin is defined as either an
Set pin #2, 3 and 4 configuration to output and pin 6, 7, 8 and 9 to input.
Set pin #2 to high, pin 3 to low and the state of all other pins unchanged.
Request the state of all pins.
Reply of pin states - H means pin is high, L means pin is low.
Request the configuration of all pins.
Reply of pin configurations - pins #2, 3 and 4 are inputs, pins 6, 7, 8 and 9
are outputs.
GPIO Port
109

Advertisement

Table of Contents
loading

Table of Contents