With the Pmod Adapter for myRIO, you can now connect your myRIO to the expansive selection of peripheral modules offered by Digilent.
Features include:
Powering the Adapter
The Pmod connectors on the Pmod Adapter for NI myRIO can be powered by either the myRIO or by an external power source installed in J3. You can choose which power source to use with the jumper JP1. Selecting +3V3 will power the Pmod connectors with the 3.3V source supplied by the myRIO. Selecting REG will power the connectors using the external power source regulated to 3.3V.
Pin Connections
Pmod A (JA) : Pmod Connector A (SPI)
| Pin# | myRIO Pin Name | Function |
|---|---|---|
| 1 | DIO13 | IO |
| 2 | DIO7 | IO/SPI-MOSI |
| 3 | DIO6 | IO/SPI-MISO |
| 4 | DIO5 | IO/SPI-CLK |
| 5/11 | GND | GND |
| 6/12 | 3V3 | 3V3 |
| 7 | DIO0 | IO |
| 8 | DIO1 | IO |
| 9 | DIO2 | IO |
| 10 | DIO3 | IO |
Pmod B (JB) : Pmod Connector B (UART)
| Pin# | myRIO Pin Name | Function |
|---|---|---|
| 1 | DIO8 | IO/PWM0 |
| 2 | UART-TX | UART-TX |
| 3 | UART-RX | UART-RX |
| 4 | DIO9 | IO/PWM1 |
| 5/11 | GND | GND |
| 6/12 | 3V3 | 3V3 |
| 7 | DIO10 | IO/PWM2 |
| 8 | DIO4 | IO |
| 9 | DIO11 | IO/ENC-A |
| 10 | DIO12 | IO/ENC-B |
I2C (J4) : I2C Connector (I2C)
| Pin# | myRIO Pin Name | Function |
|---|---|---|
| 1 | DIO14/SCL | IO/I2C-SCL |
| 2 | DIO15/SDA | IO/I2C-SDA |
| 3/7 | GND | GND |
| 4/8 | 3V3 | 3V3 |
| 5 | DIO14/SCL | IO/I2C-SCL |
| 6 | DIO15/SDA | IO/I2C-SDA |
AO0 (J5) : AO0 Connector
| Pin# | myRIO Pin Name | Function |
|---|---|---|
| 1 | AO0 | Analog Output 0 |
| 2 | GND | GND |
AO1 (J6) : AO1 Connector
| Pin# | myRIO Pin Name | Function |
|---|---|---|
| 1 | AO1 | Analog Output 1 |
| 2 | GND | GND |
Using the Adapter with myRIO
Please visit the myRIO Community Website for example code and project ideas.