Giter Site home page Giter Site logo

roombaphoton's Introduction

Roomba 650 Wifi Upgrade


I've had a Roomba 600 series (~2013 model) for a few years and decided to check out what they have available now (in late 2017). To my surprise they now have a number of robots avaiable and most of them are Wifi enabled. There was no way I was going to fish out $400 for a new one when all I needed was the extra Wifi functioinality so I decided to do the upgrade myself. After setting it up with IFTTT I have all the functionality of the newer models, remote start/stop cleaning, set schedules online, etc.

image1


iRobot's Open Interface

Luckily, iRobot specifies their communication protocols and hardware configuration on a document. It's worthwile doing a quick read through this document if you're doing any development on a Roomba. Here is my summary:

  • 7 Pin Mini-DIN connector for serial communication at TTL (0-5V)
    • Pins give us Vpwr, Gnd, Rx, Tx, and one pin to change the baud rate.
    • Vpwr is connected to the Roomba's battery and can only drive 200mA
  • Roomba's default is 115200 baud. To change to 19200 baud, (while on) press and hold the Clean/Power button for 10 seconds until tune is played.
  • There are four main operating moding to Roomba:
    • Full: Complete control over Roomba and it's actuators. No safety features like cliff sensing or wheel-drop.
    • Safe Mode: Full control of Roomba but keeps the safety features.
    • Passive Mode: Can request and receive sensor data but no control over actuators. Basically good for Spot, Clean, and Seek Dock commands. -Off: Self explanatory.
  • The Roomba can be controlled by issuing Opcodes listed in the reference manual. Some issue a command only, others issue a command followed by some data. For example, 'See Dock' is Opcode 143 with 0 data bytes. Driving the wheels takes Opcode 146 with 4 bytes of data to specify the directory and speed of the wheel rotation.

Hardware

We have to be careful about powering the MCU directly from the Roomba since the voltages are not compatible. I used a Boost/Buck converter to step down the voltage coming out of the Roomba into the Particle Photon.

schem


Video

roombaPhoton


Software/References

roombaphoton's People

Contributors

arturju avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.