Demand Peripherals     Robotics and Automation Made Easy

IRIO: Quad Input

The IRIO card and peripheral sends and receives consumer IR remote control packets. It uses the 'NEC Protocol' which has a 16 bit address, an 8 bit command, and command again but with the bits inverted.

You can find a list of NEC protocol devices, their addresses, and commands here: http://lirc.sourceforge.net/remotes/. The web site lists the address as the 'pre_data' value and the commands are listed by function and value. The second byte of most commands is, as expected, the inverse of the first byte.

 

Hardware:

Use the IORO card with the IRIO peripheral. The card has a 38 KHz IR receiver, a set of IR LEDs, and two visible LEDs. The visible LEDs flash when an IR packet is sent or received. More data about the IRIO card can be found here: cards/irio.html.

 

Resources:

Resources for the irio peripheral include a read-only data receive resource and a write-only transmit one.

recv : received IR packets given as a newline terminated 32 bit hexadecimal string. This resource works with dpcat but not with dpget or dpset.

xmit : 32 bit hex value to be transmitted. This resource works with dpset but not dpget or dpcat.

 

Examples:

Start a stream of received IR data.

    dpcat irio recv

 

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