User`s manual

138 www.rabbit.com
C.1.2 Digital Input Connections
To run the digital input sample programs, you must connect at least one demo board switch to a digital
input on the RabbitFLEX board. There are four demo board switches, so you may connect up to four digi-
tal inputs.
The 4.4 V threshold digital inputs may or may not work reliably since the switching threshold it so close to
5 V. The bidirectional logic must be in an input state, which is one of the things that is done during the
board initialization function (brdInit()).
Connect the green wire of the cable assembly that corresponds to the selected digital input to SW1, SW2,
SW3 or SW4 on screw terminal header J1 on the demo board. Connect the polarized connector of the
cable assembly to the connector that has the digital input(s) you selected on the RabbitFLEX board.
Figure C.2 shows the demo board pushbutton switches connected to pins 2, 4, 6 and 8 of the cable assem-
bly. In this case, the polarized connector of the cable assembly should be connected to one of the connec-
tors on the RabbitFLEX SBC40 that has digital inputs on pins 2, 4, 6 and 8.
Figure C.2 Demo Board Connected to Pins 2, 4, 6, 8 on Cable Assembly
Jumpers:
H1: None
H2: As shown for
button unpressed
logic state = 1
·
BUZZER
·
LED4
·
LED3
·
LED2
·
LED1
·
K
·
+5V
·
SW4
·
SW3
·
SW2
·
SW1
·
GND
BUZZER
H1
J1
H2
·
·
1-2
·
·
3-4
·
·
5-6
LED1 LED2 LED3 LED4
SW1 SW2 SW3 SW4
·
·
8-7
·
·
6-5
·
·
4-3
·
·
2-1
DEMO BOARD
Cable Assembly
connects to
RabbitFLEX Board
J1 - J5
135
7
9
+5 V DC