====== MXP Pmod Adapter for NI myRIO/roboRIO ====== {{ :ni:pmod_adapter-obl-600.png?500 |}} ====Overview==== With the Pmod Adapter for myRIO, you can now connect your myRIO to the expansive selection of peripheral modules offered by Digilent. Features include: * Uses the [[http://zone.ni.com/reference/en-XX/help/373925A-01/myriohelp/myrio_connector_pinouts/| myRIO Expansion Port (MXP) connector]] * Standard 34-pin female breakout * Two Pmod connectors designed for use with UART and SPI communication protocols * A standard 8-pin male I2C connector * Optional external power supply input (supports 4.5V-20V) **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 [[https://decibel.ni.com/content/community/academic/products_and_projects/myrio | myRIO Community Website]] for example code and project ideas.