I2CIO-8

From blwiki
Jump to: navigation, search

Tindie-larges-v2.png

I2C Digital I/O Card

I2CIO-8 X2-6000-640px.jpg

Features

  • 8 bits of Digital I/O MCP23008P
    • 4 LEDs - outputs
    • 4 Jumpers - inputs
  • I2C interface
    • Base address = 0x20
    • Address offset jumpers (0-7)
  • Interrupt LED
  • Interrupt pin on I2C connectors
  • 2.7V to 5.5V
  • Daisy-chain connector
  • 49x49mm form factor
  • (4) #4-40 mounting holes

Connectors

I2CIO-8-Osh-X2.png

P1/P2 = I2C

Connectors are both wired the same which allows for daisy-chaining I2C devices

  1. GND
  2. +V
  3. SDA
  4. SCK
  5. INT

Headers

H1-H3 - I2C offset address

  • In = 0
  • Out = 1
  • H1 = A0
  • H2 = A1
  • H3 = A2

H5-8 Digital inputs

  • In = 0
  • Out = 1

H8-H9 = I2C Terminators

  • Install jumpers for termination

Indicators

D0-D3

  • LEDs that can be turned off/on

Programming

  • GP0 - LED D0
  • GP1 - LED D1
  • GP2 - LED D2
  • GP3 - LED D3
  • GP4 - H5
  • GP5 - H6
  • GP6 - H7
  • GP7 - H8

Drivers/Libraries

Arduino Library

Raspberry Pi Library

Cypress PSOC Example

ESP32 MicroPython Library and Example Code

PyBoard MicroPython Library and Example Code

Testing

First Article Testing

Rev X1 vs Rev X2 Card Identification

Go here for the I2CIO-8 Rev X1 card

I2CIO-8-X1vsX2-500px.jpg

Improvements

  • Added INT line to J1/J2 (X1 did not have INT on conns)
  • Fix H5-8, should be H4-H7

Production Tests

Assembly Sheet