A robot vacuum already has wheels, sensors and a reason to move around the house. Josh Gadeken’s Roomba RPi project on Hackaday.io adds a Raspberry Pi and an inertial measurement unit to a Roomba 690, with one firm design constraint: the extra hardware should stay inside and not get in the way of vacuuming. The result is a platform for Bluetooth remote control and ROS 2 experiments, though the ambition to improve its cleaning route ran into interference from the vacuum’s own brush motor.
Making the electronics fit inside
The April 8, 2021 build recap starts with a teardown and a thorough cleaning, followed by the essential packaging question: was there enough unused space? Gadeken found room for the original Pi Zero W on the right, the BNO055 IMU in the center behind the button board, and supporting electronics on the left.
Keeping everything internal made connectors part of the engineering work. Wires from the Roomba’s Open Interface ran beneath its motherboard. Right-angle headers kept the USB serial connection compact, while a custom micro-USB OTG cable connected an Adafruit CP2104 serial board to the Pi without the bulk of a conventional cable assembly. The IMU and a DS3231 real-time clock used small four-pin connections.
The tightest fit called for a homemade low-profile seven-pin mini-DIN plug. Gadeken fashioned it from a small plastic disk and bent component leads after failing to find a suitable ready-made option. Because that connector wouldn’t pass through the opening in the top cover, an inline JST connector provided a separable connection that would. It’s a useful packaging lesson: fitting the boards is only part of the job; the wiring also has to accommodate assembly and disassembly.
Bluetooth control came before the ROS 2 upgrade
In a separate April 8 remote-control log, Gadeken reported writing a Python program that reads a Bluetooth-connected DualShock 4 controller and commands the Roomba. That was a concrete step toward making the vacuum a programmable mobile platform, independent of the more ambitious navigation work. The project’s hardware and software repository is the linked home for the build materials.
ROS 2 initially demanded considerably more setup. The July 26, 2021 log describes building a cross-compilation toolchain for the original Zero W’s ARMv6 processor, rather than simply installing an available ROS package. By March 7, 2022, Gadeken had also written a basic ROS 2 node for the BNO055 using Adafruit’s CircuitPython driver.
The June 4, 2022 upgrade to a Pi Zero 2 W changed that workflow. Gadeken reported that moving to an ARM64 processor and operating system removed the need for the cumbersome cross-compilation environment and opened up prebuilt ROS 2 package options. Memory still imposed a limit: some packages needed more RAM to build than the Zero 2 W offered. His workaround was to build them on a Raspberry Pi 4 and copy the results across.
That distinction matters for compact robots: the computer that runs the software needn’t be the computer that builds it.
The brush motor left navigation unfinished
Better navigation was a goal, not a demonstrated outcome. Gadeken wanted to combine the added IMU with the Roomba’s existing sensors, and also connect the ROS setup to Home Assistant after an earlier integration had stopped working for him.
In an October 1, 2022 discussion reply, he identified a physical obstacle: running the main brush motor severely disrupted the IMU’s magnetometer. He planned to experiment with shielding and continue writing a URDF robot description for use with robot_localization, with the aim of fusing wheel odometry and IMU data.
The project is tagged as shelved. The supplied build logs end in June 2022, and that October reply is the latest substantive progress statement shown from Gadeken; later visitor comments don’t establish renewed development.
The useful next test is therefore specific: can the sensor provide usable data while the brush is actually running? An IMU that fits neatly inside a chassis still has to work alongside its motors. For a vacuum-based robot, navigation has to survive the very machinery it is meant to guide.
Source: Roomba RPi