Demand Peripherals     Robotics and Automation Made Easy

IO8: Octal Input/Output

The IO8 peripheral controls IO8 card which gives you eight binary outputs and eight binary inputs.



The io8 card has eight 5 Volt tolerant inputs and eight 3.3 Volt outputs. The IO8 peripheral can be configured so that a change on an input line automatically sends the input status up to the host. More information about the IO8 card is available here: /cards/io8.html



output : the value on the output pins as a 2 digit hex value. You can read and write this resource using dpget and dpset.

input : the value on the input pins. This resource works with dpget and dpcat. A read (dpget) requires a round trip to the FPGA and may take a few milliseconds. You can monitor the input pins using a dpcat command. Using dpcat makes sense only if one or more of the pins are configured as an interrupt-on-change pin.

interrupt : an 'interrupt-on-change' enable mask as a 2 digit hex value. When an input pin has its corresponding interrupt bit set any change in value on that pin causes an update to be sent to the host. This feature makes reading the input pins something that can be done using select(). This resource works with dpget and dpset.



Set the IO8 outputs to 0x66.

    dpset io8 output 66

Set the first four inputs to interrupt-on-change and then start a stream of IO8 input values.

    dpset io8 interrupt f
    dpcat io8 input


FPGA Defined Peripherals
User Interface
FPGA Configuration
FPGA Buttons & LEDs
Host Tx/Rx Interface
AVR Interface
Stereo Audio Amplifier
Text LCD and Keypad
Quad WS2812 Interface
Quad Slide Pot
IR Recv/Xmit
6 Digit LCD
RC Decoder
Keyfob RF Decoder
Rotary Encoder Interface
Quad Touch Interface
Motion Control
Dual DC Motor Controller
Dual Quadrature Decoder
Quad 13 Bit Servo
Bipolar Stepper Controller
Unipolar Stepper Controller
Simple Input / Output
Quad Binary Output
Quad Binary Input
Octal Input/Output
32 Channel Binary Output
32 Channel Binary Input
Quad Serial Output
Octal Serial Output
Octal 12-bit ADC
Quad Ping))) Interface
Pololu QTR Interface
Octal SRF04 Interface
Generic I2C
Generic SPI
Octal 8-Bit DAC
Quad Digital Potentiometer
Quad PWM Output
Quad PWM Input
Quad Event Counter
Real Time Clock
Dual Pulse Generator

Interface Cards
Control Cards
User Interface
Stereo Audio Amplifier
IR Recv/xmit
Six Digit LCD Display
Keyfob RF Receiver
Rotary Encoder
Quad Switch Card
Text LCD / keypad
Quad Slide Pot
Quad Touch Interface
Motion Control
Dual 7-amp H-bridge
Quad Open Drain Driver
Quad 10 Amp Relay Card
Input / Output
Octal 8-Bit DAC
Quad Digital Potentiometer
Octal 12-bit ADC
Octal SRF04
I2C Prototyping
SPI Prototyping
USB 2.0 Hub
Real Time Clock
Octal Input/Output
32 Channel Input
32 Channel Output
Power Distribution Card
15 Amp Power Distribution
5 Volt Switching Regulator
ATX Power Break-Out Card
Disk Drive Power Break-Out
MP43 Aluminum Mounting Plate
WW4 Large Prototyping Card
WW2 Prototyping Card
WW1 Small Prototyping Card
SMP SMD Prototyping Card