XRP Hardware, Assembly and Imaging

To get started with the XRP, you will need to have the necessary hardware.

  1. XRP Kit from SparkFun or from DigiKey - Available at a discount for educational institutions or FIRST teams. See individual vendors for details.

  2. Micro-USB cable - Ensure that this is a data cable

  3. 4 AA batteries - Rechargeable (example) is best (don’t forget the charger)

Assembly

Note

See the assembly instructions on the XRP User Guide.

You should follow the instructions up to and including the point where the XRP arm is mounted to the servo.

Imaging your XRP

The XRP uses a Raspberry Pi Pico W as its main processor. A special firmware will need to be installed so that the robot operates properly.

Download

The XRP firmware must be downloaded and written to the Pico W. Click on Assets at the bottom of the description to see the available image files:

XRP-WPILib Firmware

Imaging

To image the XRP, perform the following steps:

  1. Extract the contents of the firmware ZIP file. You should end up with a .uf2 file.

  2. Plug the XRP into your computer with a Micro-USB cable. You should see a red power LED that lights up.

  3. While holding the BOOTSEL button (the white button on the green Pico W, near the USB connector), quickly press the reset button (circled below), and then release the BOOTSEL button.

XRP Reset button
  1. The board will temporarily disconnect from your computer, and then reconnect as a USB storage device named RPI-RP2.

  2. Drag the .uf2 firmware file into the RPI-RP2 drive, and it will automatically update the firmware.

  3. Once complete, the RPI-RP2 USB storage device will disconnect. At this point, you can disconnect the XRP board from your computer and run it off battery power.

First Boot

Perform the following steps to get your XRP ready for use:

  1. Ensure that you have 4 AA batteries installed

  2. Turn the XRP on by sliding the power switch (circled below) on the XRP board to the on position. A red power LED will turn on.

XRP Power switch
  1. Using your computer, connect to the XRP WiFi network using the SSID XRP-<IDENT> (where <IDENT> is based on the unique ID of the Pico W) with the WPA2 passphrase xrp-wpilib.

Note

If powering on the XRP in an environment with multiple other XRPs, the SSID can also be found by connecting the XRP to a computer, navigating to the USB storage device (PICODISK) that appears and opening the xrp-status.txt file.

  1. Open a web browser and connect to the web UI at http://192.168.42.1:5000. If the page loads, you have established connectivity with the XRP.

Note

More information about the Web UI and configuration can be found in the Web UI section.