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.

 

Hardware:

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

 

Resources:

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.

 

Examples:

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
Text LCD and Keypad
Quad WS2812 Interface
Quad Slide Pot
Tone Generator
IR Recv/Xmit
6 Digit LCD
RC Decoder
Keyfob RF Decoder
Rotary Encoder 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
Quad GPIO
Octal Input/Output
32 Channel Binary Output
32 Channel Binary Input
Sensors
Octal 12-bit ADC
Quad Ping))) Interface
Octal SRF04 Interface
Quad Event Counter
Instrumentation
Generic I2C
Generic SPI
Octal 8-Bit DAC
Quad Digital Potentiometer
Quad PWM Output
Quad PWM Input
4 Bit Pattern Generator
Real Time Clock
Dual Watchdog Timers
  

Interface Cards
User Interface
Audio Amplifier
IR Recv/xmit
Six Digit LCD Display
Keyfob RF Receiver
Rotary Encoder
Quad Switch Card
Text LCD / keypad
Quad Slide Pot
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
9DOF IMU
Octal SRF04
Quad GPIO
Generic I2C
Generic SPI
USB 2.0 Hub
Real Time Clock
Slot Expander
Octal Input/Output
32 Channel Input
32 Channel Output
Accessories
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
WW2 Prototyping Card
WW1 Small Prototyping Card