# XRP in Arduino IDE?

**URL:** https://xrp.discourse.group/t/xrp-in-arduino-ide/890
**Category:** Coding
**Created:** [November 30, 2025, 1:21am UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890 "2025-11-30T01:21:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dburbank](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dburbank](https://xrp.discourse.group/u/dburbank)
#### Post date: [November 30, 2025, 1:21am UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890/1 "2025-11-30T01:21:16Z")

</div>

Has anyone developed a library or other code to use the XRP through Arduino IDE? My program is designed around C++/Arduino IDE and I don’t have the time to teach two programming languages so I am having my class program through Arduino IDE. I developed a library with a lot of AI help (using Claude) but still have issues with using the IMUs to code straight lines and set degree turns. Using Bluepad32 I am able to link the XRP controller to an ESP32 and control it without using a computer. Using a ESP32 CAM I have streaming video so we will be doing our second iteration of challenges through FPV.

Anyway, thought I would ask before I spend the time trying to figure out the nuisances of the XRP RP2350 through Arduino.

---

<div class="post-metadata">

### Author: ![Fgrossman](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@Fgrossman](https://xrp.discourse.group/u/Fgrossman)
#### Post date: [November 30, 2025, 11:57pm UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890/2 "2025-11-30T23:57:56Z")

</div>

@SparkFro did you do a version of the balance bot with C++?

---

<div class="post-metadata">

### Author: ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)
#### Post date: [December 1, 2025, 5:23pm UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890/3 "2025-12-01T17:23:59Z")

</div>

> [@dburbank](#):
>
> Has anyone developed a library or other code to use the XRP through Arduino IDE?

No official Arduino library currently exists for the XRP, unfortunately. The closest thing I’m aware of is [the XRP WPILib firmware](https://github.com/wpilibsuite/xrp-wpilib-firmware), which is a PlatformIO implementation (leverages the Arduino framework), but that’s really not a library that can be easily used for a classroom environment.

@Fgrossman @bamiller @ZeeQueue Do any of you have time, or know someone who does, to create an Arduino implementation of [XRPLib](https://github.com/Open-STEM/XRP_MicroPython/)? I could help get things set up, just need someone who has the time to convert things from Python to C++.

> [@Fgrossman](#):
>
> @SparkFro did you do a version of the balance bot with C++?

No, only MicroPython (documented [here](https://github.com/sfe-SparkFro/xrp_balance_bot/) with example code).

---

<div class="post-metadata">

### Author: ![Steve\_C](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Steve\_C](https://xrp.discourse.group/u/Steve_C)
#### Post date: [January 7, 2026, 12:00pm UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890/4 "2026-01-07T12:00:36Z")

</div>

DigiKey have a YouTube video “Introduction to ROS Part 12: Talking to Microcontrollers”

in which they use the [earlephilhower](https://github.com/earlephilhower)/**[arduino-pico](https://github.com/earlephilhower/arduino-pico)** library to program the XRP controller.

I have not tried this yet, as I have only just ordered my XRP kit, but it seems worth a try.

---

<div class="post-metadata">

### Author: ![dburbank](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dburbank](https://xrp.discourse.group/u/dburbank)
#### Post date: [January 7, 2026, 1:10pm UTC](https://xrp.discourse.group/t/xrp-in-arduino-ide/890/5 "2026-01-07T13:10:32Z")

</div>

Thanks. I managed to get a working Arduino IDE Library using the earlephilhower pico board manager. I added the ability to talk via I2C to a ESP32 using BluePad32 to use a PS4 controller without a computer involved. A few glitches and bugs to sort out, but it worked reliably enough for my students to complete the Mountain Mayhem challenge event. Claude AI was a lifesaver in the effort.
