User manual

Code Mercenaries
1
II
II
OO
OO
--
--
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
1.0 Features
USB interface
USB V1.1/2.0 compliant low speed device
USB HID 1.1 compliant
32 general purpose I/O pins on IOW40
16 general purpose I/O pins on IOW24
Supports IIC compatible devices
Supports HD44780 compatible display modules
and several graphic display modules
Supports SPI slave devices up to 2MBit/sec
(IOW24)
Supports receiving RC5 IR remote control data
(IOW24)
Drives LED matrix up to 8x32 with few
external shift registers
Supports 8x8 or 16x8 switch or key matrix
(IOW40)
Two 24 bit capture timers with 4sec resolution
(IOW24)
Easy to use starter kit
Software support for Mac, Linux, and Windows
No USB knowledge necessary to use
Single +5V power supply
Available SSOP48 package and DIL40 module
(replacing PDIP40 package), or DIL24 and
SOIC24.
1.1 Variants
IO-Warrior is available in several variants. The
IOW24PowerVampire and the IO-Warrior56 are
covered by separate data sheets.
Custom modifications are possible.
IO-Warrior24
16 general purpose I/O pins, typ. 125Hz read
IIC master, typ. 750 bytes/sec throughput
Alphanumeric and graphic display support
RC5 IR remote control receiver
Hardware SPI master interface up to 2Mbit/sec
bitrate, typ. 750 bytes/sec throughput
LED matrix with up to 8x32 LEDs with the
support of external register/drivers
Two 24 bit capture timers with 4sec resolution
Minimal external component count
Identifies as either low power (100mA) or high
power (500mA) bus powered device. Pin
selectable
Easy to use starter kit for immediate access
DIL24 or SOIC24 package
IO-Warrior40
32 general purpose I/O pins, typ. 125Hz read
IIC master, typ. 750 bytes/sec throughput
Alphanumeric and graphic display support
LED matrix with up to 8x32 LEDs with the
support of external register/drivers
8x8 or 16x8 switch or key matrix
Minimal external component count
Identifies as either low power (100mA) or high
power (500mA) bus powered device. Pin
selectable
Easy to use starter kit for immediate access.
SSOP48 package or DIL40 module (replacing
PDIP40 package)
1.2 Custom variants
Custom adaptions are available on request. If
necessary complex functions can be added to the
standard chips to directly control specific circuits.
2.0 Functional overview
IO-Warrior offers a simple access to the USB.
Many projects that formerly used the parallel port
or some other kind of direct I/O interface today
face the problem that getting simple things to work
on the USB is quite complex.
With a serial or parallel port you needed only a
simple circuit to control an external relay or read a
single switch. With USB you need a
microcontroller that handles all the protocol work
to do the same thing. Several standard commands
need to be supported to get a device accepted as a
USB device, let alone implementing any real
function.
IO-Warrior brings simplicity to the USB. The
protocol is encapsulated in the IO-Warrior Chip.
You only have to care about the 16 or 32 I/O pins
and have to write only a few simple lines of code
to access them.
IO-Warrior also supports a range of industrial
standard interfaces to simplify interfacing to
certain chips or modules. These interfaces are
handled internally in IO-Warrior removing the
bandwith wasting controlling of individual pins.
V 1.1.0, December 2nd 2013, for chip revision V1.0.3.0 and up
Generic universal I/O Controller
for USB