|
|
Line 1: |
Line 1: |
− | [[File:tindie-mediums.png|link=https://www.tindie.com/products/land_boards/i2c-8-bit-io-mcp23008-i2cio-8x/]]
| |
| | | |
− | [[File:I2CIO-8_X2-6000-720px.jpg]]
| |
− |
| |
− | <video type="youtube">omUSJpGLv4A</video>
| |
− |
| |
− | == Features ==
| |
− |
| |
− | * 8 bits of Digital I/O
| |
− | * I2C interface
| |
− | * MCP23008P
| |
− | * Base address = 0x20
| |
− | * Address offset jumpers (0-7)
| |
− | * Interrupt pin on I2C connectors
| |
− | * I2C Daisy-chain connectors
| |
− | * GVS (Ground/Voltage/Signal) pins for all 8-bits
| |
− | * 2.7V to 5.5V
| |
− | * 49x49mm form factor
| |
− | * (4) #4-40 mounting holes
| |
− |
| |
− | == Drivers/Example Code ==
| |
− |
| |
− | * [https://github.com/land-boards/lb-Arduino-Code/tree/master/libraries/LandBoards_I2CIO8X Github repo] - Driver code
| |
− | * [https://github.com/land-boards/lb-Arduino-Code/tree/master/LBCards/I2CIO8X Github repo] - Example code
| |
− |
| |
− | == Factory Acceptance Test ==
| |
− |
| |
− | === Test Station Theory of Operations ===
| |
− |
| |
− | * Test Station controls the I2C interface on the UUT
| |
− | * Three tests
| |
− | ** Internal Test
| |
− | ** External Loopback Test
| |
− | ** Bounce an LED Test
| |
− |
| |
− | === Test Station Set-up ===
| |
− |
| |
− | * Uses [[Arduino_Based_Test_Station|ODAS Test Station V2]]
| |
− | * Ribbon cable sets
| |
− | ** Loopback cable Connector
| |
− | ** [[LED-32]] cable
| |
− | * Unit Under Test (UUT)
| |
− | * Attach Host Computer USB to the Arduino NANO on the Test Station
| |
− | * Run puTTY on the Host Computer
| |
− | ** 9600 baud
| |
− |
| |
− | === Card Selection ===
| |
− | * puTTY will display the menu
| |
− | <pre>
| |
− | Checking if EEPROM is present on UUT...EEPROM is not present on UUT
| |
− | Count of I2C devices in range 0x20-0x27 on UUT = 1
| |
− | Detected MCP23008
| |
− | Select the board type (Other)
| |
− | 1 - I2CIO8 board
| |
− | 2 - I2CIO8X board
| |
− | Select board >
| |
− | </pre>
| |
− |
| |
− | * Select 2
| |
− |
| |
− | <pre>
| |
− | Init I2CIO-8X card
| |
− | C=Card Tests, D=Direct, E=EEPROM, I=access Internal DIGIO32
| |
− | </pre>
| |
− |
| |
− | === Running Loopback Card Test ===
| |
− |
| |
− | * Use loopback cable
| |
− | * Select Card Tests = "C"
| |
− | * Select Run Tests = "T"
| |
− | * Observe test results
| |
− | <pre>
| |
− | L=Loop/S=Single, T=Test, B=Bounce LEDs, I=UUT Int'l Test, X=eXit sub-menu
| |
− | Testing UUT = I2CIO-8X
| |
− | Test PASS = 1, FAIL = 0
| |
− | </pre>
| |
− | * Hit ENTER to display menu
| |
− | <pre>
| |
− | L=Loop/S=Single, T=Test, B=Bounce LEDs, I=UUT Int'l Test, X=eXit sub-menu
| |
− | </pre>
| |
− |
| |
− | === Running Internal Tests ===
| |
− |
| |
− | * Remove loopback cable
| |
− | * Select Card Tests = "C"
| |
− | * Select Run Tests = "I"
| |
− | * Observe test results
| |
− | <pre>
| |
− | L=Loop/S=Single, T=Test, B=Bounce LEDs, I=UUT Int'l Tests, X=eXit sub-menu
| |
− | UUT Internal card tests
| |
− | Test PASS = 2, FAIL = 0
| |
− | </pre>
| |
− | * Hit ENTER to display menu
| |
− | <pre>
| |
− | L=Loop/S=Single, T=Test, B=Bounce LEDs, I=UUT Int'l Test, X=eXit sub-menu
| |
− | </pre>
| |
− |
| |
− | === Running Blink LED Test ===
| |
− |
| |
− | * Attach [[LED-32]] cable
| |
− | * Select Card Tests = "C"
| |
− | * Select Run Tests = "B"
| |
− | * Observe LEDs scanning on [[LED-32]]
| |
− | <pre>
| |
− | L=Loop/S=Single, T=Test, B=Bounce LEDs, I=UUT Int'l Test, X=eXit sub-menu
| |
− | Bounce a bit across outputs
| |
− | Bouncing LEDs I2CIO8X - any key to stop
| |
− | </pre>
| |
− | * Hit ENTER to display the menu
| |
− | <pre>
| |
− | Finished bouncing LEDs
| |
− | </pre>
| |
− |
| |
− | === Reference ===
| |
− |
| |
− | * [[Arduino Based Test Station]]
| |
− | * [https://github.com/land-boards/lb-Arduino-Code/tree/master/LBCards/ODAS/ODASTESTER ODAS Tester Github Repo]
| |
− |
| |
− | == Assembly Sheet ==
| |
− |
| |
− | * [[I2CIO8-X Assembly Sheet]]
| |