r/arduino • u/BencyLiu • 29d ago
Look what I found! Why Arduino UNO Q’s dual-brain architecture makes sense for an RL-powered robot duck
I’m working on XGO-Duck, a little robot duck, and wanted to share why I find the Arduino UNO Q’s dual-brain architecture interesting for reinforcement learning–based robotics.
The duck kicking a small ball is the fun part. The engineering question behind it is how to run a learned policy while keeping the hardware control predictable.
UNO Q puts two different processors on one board:
- Qualcomm Dragonwing QRB2210 running Debian Linux: a place for policy inference, perception, logging, and higher-level behavior.
- STM32U585 running Arduino sketches on Zephyr: a place for time-sensitive sensor and actuator interfaces, command validation, and watchdog logic.
Those hardware details are from the official Arduino documentation. The task split above is how I’d approach using them for XGO-Duck.
For an RL-controlled duck, the architecture I have in mind is:
Robot observations → policy inference on Linux → action targets → MCU → actuators
The Linux side would run the trained policy and produce action targets. The MCU side would handle the hardware-facing timing, enforce configured limits, and respond if fresh commands stop arriving. Depending on the actuators, their internal controllers could still handle the innermost motor loops.
What appeals to me is being able to experiment with policies, camera processing, and logging without putting all the timing-sensitive work into the same Linux process. Having both processors on one board also makes this an interesting option for a small robot.
I’m talking primarily about deploying a trained policy, with training done off-board in simulation. Whether a particular policy runs fast enough on UNO Q still needs benchmarking.
The dual-brain design doesn’t automatically solve sim-to-real transfer or guarantee stable walking. Communication latency, observation timestamps, control rates, and missed-command behavior still matter. But the separation feels like a useful starting point.
For anyone working on small legged robots: where would you draw the boundary between the Linux policy runner and the MCU controller? Would you send joint targets directly, or put more control logic on the MCU?





