Demand Peripherals     Robotics and Automation Made Easy

OUT4: Quad General Purpose Output

The OUT4 peripheral gives you direct control of four FPGA output pins.

 

Hardware:

The OUT4 peripheral gives you direct access to each of the four pins in a Baseboard slot. The lowest numbered pin on the connector is controlled by the LSB in the outval resource. OUT4 works with any of the following cards:
     GPIO with pin headers
     GPIO with screw terminals
     Open-Drain Driver Card
     Quad 10-Amp Relay Card
     USB 2.0 Hub Card

 

Resources:

outval : the value on the output pins. A write to this resource sets the FPGA pins on the slot to the value specified. This resource works with both dpget and dpset.

 

Examples:

Set pins 3 and 4 high and pins 1 and 2 low.

    dpset out4 outval c
You may want more than one OUT4 peripheral in your system. Recall that you must access peripherals by slot number when there your system has multiples of the same peripheral. For example, the following set the outputs for OUT4 peripherals in slots 2, 3, and 4.
    dpset 2 outval c
    dpset 3 outval 0
    dpset 4 outval f

 

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
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
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
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
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