DIO

From BitWizard Wiki
Revision as of 16:12, 11 May 2012 by Rew (talk | contribs)
Jump to navigation Jump to search
The DIO board
The DIO board (depicted: the SPI version)

This is the documentation page for the SPI_DIO and I2C_DIO boards.

Overview

This board enables you to read and write upto 7 digital IO lines.

Assembly instructions

None: the board comes fully assembled.

External resources

Datasheets

Additional software

Related projects

Pinout

pin function
1 GND
2 VCC
3 IO0
4 IO1
5 IO2
6 IO3
7 d.n.c.
8 IO4
9 IO5
10 IO6

LEDs

The only LED is a power indicator.

jumper settings

See solder jumpers on how to change the solder jumper.

By changing the solder jumper SJ1, you can make the connector SPI1 (nearest the board edge) into an ICSP programming connector for the attiny44 on the board.

Protocol

For the intro to the SPI and I2C protocosl read: SPI versus I2C protocols

The board specific protocol can be found here: DIO_protocol

You should also read the General_SPI_protocol notes.
For arduino, a sample PDE is available, called ardemo_lcd.pde, also at BitWizard software download directory .

This is a demo to send things using SPI to the lcd board. The SPI routines there are applicable for the DIO, 3FETS and 7FETS boards as well.

The software

Default operation

Future hardware enhancements

Future software enhancements

Changelog

1.0

  • Initial public release