Asked — Edited

Roomba 655 Pointers?

Hey Community!

My parents just got a Roomba, which, being a robotics person, interested me. Since I know DJ and other members have hacked roombas, I was curious if there were any pointers people may have, such as the hack itself, or code, or other innovative ideas they've had with there Roomba. But firstly, does the 655 work with the hack?

Thanks, Tech


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

#33  

@Doc @Tech... If you're interested I have just uploaded a small ezb project file to control a Roomba 500 (600, 700 etc) series robot... It uses a custom Movement Panel and simple UART commands for forward, reverse, left and right...

Look for.... Roomba 500 custom Movement Panel under the category "sharing"... I think it's the last one in that category

Note it uses UART port 1 which is D5 on your ezb...

#34  

I have never used uart commands before. Could you coach me through where you got the codes?(I'm all about learning!)

Will test your code tomorrow. Thanks.

#36  

@Tech So yes, download the Doc that @Doc listed above... It will show you what data commands that you can send to your Roomba to do simple things like what I did. You will also have access to turning on and off the vacuum, side brush, main brushes etc. Seek docking station etc, etc.... And you can receive sensor data too... You'll need that 3rd wire on your Roomba plug connected to pin 4 on the Roomba (I think it's pin 4).... Pin 6 on the ezb is the receive data pin for UART 1......

So far I can only get my EZB to receive 1 byte data packets from the Roomba sensors (like reading the bumper and wheel drop sensors)... 2 packet data are things like battery voltage, wheel encoder data etc.... Not sure why I can't get 2 byte data to work but I know that it most likely is my coding LOL... probably. :P However, I know DJ is working on the serial commands as the dynamixel guys are have some data receive issues too... But I wouldn't worry about this just quite yet.... Project for another day...

#37  

Ok so for uart, what are the different numbers used in the init script? And what is the order?

uartinit(0, 1, 115200) sleep(20) uartWrite(0, 1,128,132) #Init iRobot create and place in full mode

Also, how do I return the Roomba to normal? I tried writing a command to set it to passive, and to off, but no luck and a red light on my ez-b.

#38  

I haven't got that far with the 500 series yet... To reboot the Roomba to normal operation... Press and hold down all 3 buttons (Dock, Clean, Spot) at the same time for about 15 seconds... The LED will go out then the Roomba will reboot back to normal operation... Or you can take the battery out and put it back in....

uartWrite(0, 1,128) #Puts iRobot in passive mode

#39  

If you send the clean command, it forces it into normal operation. Just got told I have to wait until the warranty is over until I can play with it. :(

Thanks for the help guys. When I do something Roomba wise I'll wake this thread up.

#40  

uartWrite(0, 1,7) #will reset the Roomba