Beruflich Dokumente
Kultur Dokumente
Diagrams
Inverse
VCC IN1
Polarity
GND IN2
Protection
SCL IN3
I2C
SDA
Inverse IN4
Controller 8 8 channels 8
Polarity
INT PCF8574 Opto-Isolator IN5
Protection
PCF8574A IN6
IN7
IN8
A0 A1 A2
Figure 1: Block Diagram
GND
SDA
VCC
SCL
INT
ADDRESSES R-PULL UP
+ IN1 - IN8
- IN1 + IN8
+ IN2 - IN7
- IN2 + IN7
+ IN3 - IN6
- IN3 + IN6
+ IN4 - IN5
- IN4 + IN5
Symbol Descriptions
VCC Power supply input voltage 3.3-5.5VDC
GND Ground
SCL I2C bus serial clock signal
SDA I2C bus serial data signal
INT Interrupt output signal
R-PULL SDA A jumper for selecting 10K pull-up resistor of SDA signal
R-PULL SCL A jumper for selecting 10K pull-up resistor of SCL signal
R-PULL INT A jumper for selecting 10K pull-up resistor of INT signal
A0 A jumper for selecting address A0
A1 A jumper for selecting address A1
A2 A jumper for selecting address A2
+IN1 … +IN8 Positive voltage for input1 to input8
-IN1 … -IN8 Negative voltage for input1 to input8
SCL
SCL
SDA
SDA
Interrupt Signal
Interrupt output signal (INT) on board can be connected to the interrupt input pin of microcontroller. The board sends an
interrupt signal on this line. So the board can inform the microcontroller if there is incoming voltage on its inputs without having to poll
over the I2C bus. The interrupt output pin is an open-drain and it is connected to 10K pull-up resistor via a jumper.
When boards are connected together on an interrupt line. Usually the only one pull-up resister has to be enabled. Each board
takes logical OR to another boards, many interrupt signals can occur at the same time.
VCC
GND
Microcontroller
GND
SDA
VCC
SCL
INT
GND
SDA
VCC
SCL
INT
to another board
Figure 5: Interfacing
The boards can be connected all together up to 16 boards on a bus by connecting 8 boards of I2C-IN830M and 8 boards of
I2C-IN830MA. Because each board has own address which is difference to address of another boards.
I2C-IN830MA (No. 16) I2C-IN830MA (No. 15) I2C-IN830MA (No. 14) I2C-IN830MA (No. 9)
Address 7F Address 7D Address 7B Address 71
I2C bus
Microcontroller
Figure 6: Boards on a bus
A2 A2
A1 A1
A0 A0
S 0 1 0 0 1 1 1 1 A S 0 1 1 1 1 1 1 1 A
R/W R/W
0x4F 0x7F
A2 A2
A1 A1
A0 A0
S 0 1 0 0 1 1 0 1 A S 0 1 1 1 1 1 0 1 A
R/W R/W
0x4D 0x7D
A2 A2
A1 A1
A0 A0
S 0 1 0 0 1 0 1 1 A S 0 1 1 1 1 0 1 1 A
R/W R/W
0x4B 0x7B
A2 A2
A1 A1
A0 A0
S 0 1 0 0 1 0 0 1 A S 0 1 1 1 1 0 0 1 A
R/W R/W
0x49 0x79
A2 A2
A1 A1
A0 A0
S 0 1 0 0 0 1 1 1 A S 0 1 1 1 0 1 1 1 A
R/W R/W
0x47 0x77
A2 A2
A1 A1
A0 A0
S 0 1 0 0 0 1 0 1 A S 0 1 1 1 0 1 0 1 A
R/W R/W
0x45 0x75
A2 A2
A1 A1
A0 A0
S 0 1 0 0 0 0 1 1 A S 0 1 1 1 0 0 1 1 A
R/W R/W
0x43 0x73
A2 A2
A1 A1
A0 A0
S 0 1 0 0 0 0 0 1 A S 0 1 1 1 0 0 0 1 A
R/W R/W
0x41 0x71
Figure 7: Addressing
Each board can be defined own address by setting jumper A0, A1 and A2 as above figure.
Input Diagram
-
+
IN 4
IN 5
+
-
-
+
IN 3
IN 6
+
-
-
+
IN 2
IN 7
+
-
-
+
IN 1
IN 8
+
-
I2C-IN830M
PFC8574
I2C-IN830MA
PFC8574A
When inputs are read through I2C protocol. The first byte is address and the second byte is data of inputs. IN1 will pass to P0 and IN2
will pass to P1 respectively, until IN8 will pass to P7.
Table 2: Absolute maximum ratings at VCC = 5VDC
Dimensions
2.00mm
a
A I2C Bus Connector
unit inch mm
L 2.834 72.00
W 1.673 42.50
B W
C 1.102 28.00
D 0.629 16.00
E 0.157 4.00
B 0.358 34.50
L A 0.279 7.10
E C D C a 0.141 3.60
Figure 9: Dimensions