Example: I/O Expander PCF8574AP
Settings
:
1 = Slave Addr
= 0
2 = Baudrate
= 100000
3 = Data Control
=
P
4 = Data Poll*10ms
= 10
5 = Flow Control
= N
Set P0 = 0 (Low )
WRITE:
0x02,0x00,0x08,0x03,0x38,0x00,0x57,0x00,0x01,0xF7,0x03
ANSWER:
0x06,0x57
Read P0-P7
WRITE:
0x02,0x00,0x07,0x03,0x38,0x00,0x52,0x00,0x01,0x03
ANSWER:
0x06,0x52,0xFF
Note
:
The characters displayed in hexadecimal notation, such as
0xnn
, have to be transmitted in
binary format to the interface via the network.
I
I
I
I
+3.3V
SDA
SCL
O
GND
GND
O
O
O
GND
GND
Summary of Contents for XT-PICO-XXL
Page 1: ...XT PICO XXL DesignGuide V1 1...
Page 6: ...5 Dimensions 22 mm 2mm 2mm 32 mm 24 mm Bottom View...
Page 9: ...Connecting plan...
Page 10: ...7 Schematics RS232...
Page 11: ...RS485...
Page 12: ...SPI...
Page 13: ...I2C...
Page 14: ...SD CARD...
Page 15: ...LCD DISPLAY SPI...
Page 16: ...LCD DISPLAY 4BIT...
Page 17: ...Dataflash SPI...
Page 18: ...POE PowerOverEthernet Note The POE module is available at AK NORD Order number AK9050...