RoRoRoomba - Ruby on Rails on Roomba
summary
Demonstrates a working Roomba control stack built with Ruby/Rails: a 7‑pin serial connection (115200 baud) to an Arduino or a WiFly serial-to‑WiFi adapter, sending Roomba Open Interface opcodes (128,130,135,137,149) via TCP sockets. Implements a Roomba Ruby class with drive and move(distance in mm) methods (e.g. 100mm, 500mm), deals with signed 16‑bit sensor bytes, and ships a Rails UI that polls sensors with ~1–1.5s latency. Documents three real pitfalls (forgetting stop, latency, WiFly debug flood) and a socket server queue workaround and a small simulator. Roomba Open Interface (OI)
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:57Roomba hacking journey
- 8:11Arduino to Roomba
- 15:12Ruby for Roomba control
- 20:09Live demo: Basic movement
- 22:46Real-time Roomba pitfalls
- 28:46Overcoming latency
- 31:12Wi-Fi control
- 36:06Rails and Wi-Fi hurdles
- 39:16Live demo: Rails control
- 44:58Testing devices
- 47:27Why hack Roomba matters
- 50:38Explore physical computing







