Centipede Shield V2
We've updated the Centipede Shield! It's now much easier to use "standalone" not stacked on top of an Arduino. New mounting holes and an I2C header make it easy to use with any I2C-capable microcontroller.
The Centipede Shield V2 is an add-on PCB for standard layout (Duemilanova, Diecimila, Uno) Arduino microcontroller boards. It uses the Wire I2C interface on analog pins 4 and 5 to provide 64 general purpose I/O pins.
In version 2, the Centipede Shield board shape was adjusted slightly. It's now a little longer in order to offer four mounting holes as well as a convenient I2C header. This make it far easier to use the Centipede Shield V2 when not mounted to an Arduino; simply use the I2C header and wire to your controller rather than installing the pass-through headers.
Click here for documentation!
Each pin can be assigned as an input or output, just like the standard digital pins on the Arduino. A library is provided (right-click and "save as") that makes it easy to access the pins from Arduino code. The library commands are extremely similar to the existing pinMode, digitalWrite and digitalRead commands.
Each group of 16 pins is controlled by a separate chip on the I2C bus. The pins are wired to 2x10 headers, intended for use with IDC ribbon cable connectors. Two of the extra wires are used for ground, and two more are used for a "common" connection that can be wired to some other signal or voltage by the user if desired.
The Centipede Shield can connect to other circuits using 20-conductor ribbon cable and 2x10 connectors.
The IDC connectors will be tall enough to prevent stacking in most cases, so the Centipede shield should be the top device on an Arduino stack. For maximum flexibility, the shield is shipped without the Arduino headers soldered. Female passthrough headers are included with purchase, to be soldered by the user if desired. If very long headers are used to allow two Centipede Shields to be stacked, then setting the ADDRESS jumper to "0" on one board and "1" on the other makes it possible to address 128 I/O pins.
A solder area is provided for a 78Mxx SOT-223 voltage regulator. This may be useful if large amounts of current are controlled with the Centipede Shield; for example, 64 20mA LEDs would draw over one amp and would be too much for the Arduino voltage regulator to supply. The I/O expander chips can be optionally powered by the auxiliary regulator. This can also allow the extra I/O to run at a voltage other than the Arduino 5V levels.