Opto-isolated Inputs

Top  Previous  Next

The IB1005 features 8 opto-isolated input channels. Channels 1-4 are combined into two pairs. Channels of each pair have separate negative inputs and common positive inputs. These channels can be activated with voltages as low as 2V and accept voltages of up to 15V. Each channel pair can work as two independent sensor inputs or accept the data from an external Wiegand or clock/data card reader.

Channels 4-8 are independent and have separate negative and positive lines. These channels can be activated with voltage levels as low as 5V and accept voltages as high as 50V.

Sensor Inputs

All inputs are on terminal blocks 1 and 2.

For terminal block 1:

Terminal #

Function

9

Sensors 3 and 4, positive line (+)

8

Sensor 4, negative line (-)

7

Sensor 3, negative line (-)

6

Sensors 1 and 2, positive line (+)

5

Sensor 2, negative line (-)

4

Sensor 1, negative line (-)

3

Serial port: RX (RS232); TX/RX- (RS485)

2

Serial port: TX (RS232); TX/RX+ (RS485)

1

SYSTEM (COMMON) GROUND

 

For terminal block 2:

Terminal #

Function

9

Sensor 8, positive line (+)

8

Sensor 8, negative line (-)

7

Sensor 7, positive line (+)

6

Sensor 7, negative line (-)

5

Sensor 6, positive line (+)

4

Sensor 6, negative line (-)

3

Sensor 5, positive line (+)

2

Sensor 5, negative line (-)

1

Vin (connected to the power input of the NB10x0)

Working with inputs

The state of inputs is available on 8 general-purpose I/O (GPIO) lines of the EM1000 module (located on the NB10x0 network board). The EM1000 can check GPIO line state through the I/O (io.) object -- see "TIDE and Tibbo BASIC Manual" for details.

 

Line

Function

Corresponding

EM1000 I/O

IC1000 cable line

I1 (input)

Data line for input 1

W0&1 input for Wiegand reader 1

Clock input for clock/data reader 1

GPIO17/

W0&1in1/

cin1

35

I2 (input)

Data line for input 2

W1 input for Wiegand reader 1

Data input for clock/data reader 1

GPIO10/

W1in1/

din1

21

I3 (input)

Data line for input 3

W0&1 input for Wiegand reader 2

Clock input for clock/data reader 2

GPIO18/

W0&1in2/

cin2

37

I4 (input)

Data line for input 4

W1 input for Wiegand reader 2

Data input for clock/data reader 2.

GPIO12/

W1in2/

din2

25

I5 (input)

Data line for input 5

GPIO40

6

I6 (input)

Data line for input 6

GPIO41

8

I7 (input)

Data line for input 7

GPIO42

10

I8 (input)

Data line for input 8

GPIO43

12

C1 (output)

Channels 1 and 2 mode:

LOW - separate use or clock/data i/f

HIGH - Wiegand i/f

GPIO1

3

C2 (output)

Channels 3 and 4 mode:

LOW - separate use or clock/data i/f

HIGH - Wiegand i/f

GPIO2

5

 

When sufficient voltage is applied to the sensor input, the corresponding GPIO line of the EM1000 is turned LOW, otherwise the line is HIGH.

As was explained above, channels 1, 2, 3, and 4 form two input pairs that can optionally accept data from Wiegand or clock/data readers. These channels are wired into the serial ports 1 and 2 of the EM1000. The serial ports of the module have a unique ability to decode the Wiegand and clock/data streams so processing the reader data is very simple. More info can be found in the documentation for the "serial" (ser.) object ("TIDE and Tibbo BASIC Manual").

As the serial object documentation explains, accepting Wiegand data requires additional logic circuit to be connected to the EM1000. This circuit is located on the IB1005 board. Two control lines -- C1 and C2 (one for each input pair) -- enable Wiegand-compatible operation of the channels. For Wiegand readers, set the control line HIGH. For clock/data readers or independent operation of channels of the signal pair, set the line to LOW.

Note that C1 and C2 lines have to be configured as outputs.