How to Wire BlueSMiRF v2 to XRP Beta (Pico W) Board for Wireless REPL?

Hi there! Sorry for not responding sooner, I’ve been out for a bit!

The radio on the XRP supports both WiFi and Bluetooth. If you were to only use the radio for its Bluetooth functionality without WiFi, would that be permitted by the competition rules? If so, that would simplify the hardware (though possibly complicate the software side compared to a BlueSMiRF).

To my knowledge, no one has done this before. However, I think it should be fairly straight forward. Instead of cutting jumpers, I’d suggest using the GPIO pins available from the Motor 3/4 connectors. Each one of these cables gives you access to 2 GPIO pins, GND, and 3.3V (can just cut the motor +/- wires).

In MicroPython, you’d need to set up a dupterm to duplicate the USB terminal over UART for the BlueSMiRF. Can do with the following:

from machine import UART
import os
uart = UART(id=0, tx=0, rx=1) # For Motor 3 connector
#uart = UART(id=1, tx=8, rx=9) # For Motor 4 connector
os.dupterm(uart, 0)

Note that the CTS and RTS pins are typically not needed, so you should only need 2 GPIO pins for TX and RX. Also make sure to connect the TX of the BlueSMiRF to the RX pin of the XRP (GPIO 1) and vice versa.

You should add this code to your main.py to ensure it is always set up whenever the board is rebooted.

Hope this helps!