SC404 is an SC400 series digital I/O module for the I2C bus.
This module houses a MCP23008 and provides 8 quasi-bidirectional input/output lines. Each I/O line can be driven low by the MCP23008 or pulled low by an external signal. The state of the I/O lines can be written and read by an I2C bus master.
The I2C device address is selected with three jumpers.
The device slave address (7-bit) is: 0b0100AAA, where AAA = three address jumpers.
The recommended (default) slave address (7-bit) for SC404 is: 0b0100001, 0x21 (address jumpers: A2=0, A1=0, A0=1)
The address bytes are: 0x42 write, 0x43 read
- SC404 – Kit contents sheet (PDF)
- SC404 – Printed circuit board Gerber files
- SC404 – Schematic v1.0 (PDF)
- Example code: see SC400 series details
|PCB||1||SC404, v1.0, PCB|
Design at OSHWLab
|C1||1||Capacitor, ceramic, 100 nF|
|P1||1||Header, male, 2 row x 6 pin, angled|
The second row of pins needs to be removed.
|P2||1||Header, male, 1 row x 6 pin, straight|
|R1 and R2||2||Resistor, 10k, 0.25W|
|S1||1||Header, female, 1 row x 6 pin, angled|
|JP1 to JP3||3||Header, male , 1 row x 3 pin, straight|
|Jumper shunts||3||Jumper shunt|
|P3||1||Header, female, 1 row x 10 pin, straight|
|P4||1||Header, female, 1 row x 3 pin, straight|
|R3||1||Resistor, 10k, 0.25W|
|U1 socket||1||18-pin DIL socket|
This design is so simple it does not justify a detailed assembly guide. Just assemble according to the photo above.
In order for the daisy-chained PCBs to be a consistent level, header pins (P1) need to have a profile that matches the socket (S1). By far the most common angled header pins do not match. A suitable profile header can be created by removing the second row of pins from a double row header. The pins can easily be pulled out of the plastic guide with a small pair of pliers.
The two resistors, R1 and R2, are not normally required. These are pull up resistors for the I2C bus signals, serial clock and serial data. The pull up resistors typically found on I2C bus masters are usually all that is required. However, should you require additional resistors for any reason, they can be fitted here. The most likely reason to add resistors is to terminate a long bus with many devices connected.
- This product is designed for hobby use and is not suitable for industrial, commercial or safety-critical applications.
- The product contains small parts and is not suitable for young children.