This is an old revision of the document!
Motor Adapter for myRIO
Overview
The Motor Adapter for NI myRIO allows you to easily connect and control either one stepper motor, two DC motors or two servos independently through the MXP connector on your myRIO. It has been designed so that no additional circuitry is required to drive motors. The board uses the Allegro A4973, a powerful full-bridge, bidirectional PWM motor controller - just supply power and you're on your way!
Servo motors are connected via standard 3-pin headers while DC motors are connected via 6-pin or screw terminal connectors and stepper motors are connected using screw terminals. PWM signals from the standard myRIO FPGA personality are routed to the DC and servo motor inputs. Motor 0 Quadrature encoder inputs are routed to the myRIO encoder inputs and Motor 1 are routed to general purpose digital I/O. Filtered motor voltage and current are routed back to the myRIO analog inputs to enable real-time monitoring.
Key Features:
- Uses the myRIO Expansion Port (MXP) connector
- Can be use to control 2 DC motors, 1 stepper motor, or 2 RC servos
- Current/voltage sensing and control with high/low gain control and over-current protection
- 6V-16V input voltage using screw-terminal supply connections
- 34-pin female breakout allowing direct user access to signal pins
- Onboard quadature encoder interface to myRIO encoder inputs
- Power LED indicator
Connector Pin-outs
Motor PWR : DC Motor Power Screw-terminal Block
| Pin Name | Notes |
|---|---|
| 6…16VDC | Positive motor voltage, 6-16VDC |
| GND | Negative motor voltage |
Servos PWR : Servo Motor Power Screw-terminal Block
| Pin Name | Description |
|---|---|
| SVDC | Positive Servo Motor voltage, 4.8-6VDC nominal - check servo mfr spec |
| GND | Negative motor voltage |
Motor 1 and Motor 2 : Digilent standard 6-pin motor/encoder connector (see Digilent Gearmotor)
| Pin# | Signal | Description |
|---|---|---|
| 1 | EncB | Encoder phase B |
| 2 | EncA | Encoder phase A |
| 3 | GND | Ground |
| 4 | +5V | Encoder Power |
| 5 | M+ | Motor Positive Voltage |
| 6 | M- | Motor Negative Voltage |
Using the Adapter with myRIO
Compatibility Notes


