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?
Upgrade to ARC Pro
Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro
The Roomba doesn't have the same connector as a keyboard I have, yet the keyboard is a ps2 connector keyboard? Does the ps2 connector still work in it?
Yes I'm aware the middle rectangle must be broken off.
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...
Will test your code tomorrow. Thanks.
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. 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...
uartinit(0, 1, 115200)
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.
uartWrite(0, 1,128) #Puts iRobot in passive mode
Thanks for the help guys. When I do something Roomba wise I'll wake this thread up.
In one of the past posts @Richard_R said that you would connect a wire to pin 4 on the roomba and another UART port on the ez-b, but which ports on the ez-b V4 are uart?
UART serial expansion port it port UART0.
D5 (TX) and D6 (RX) can be used as UART1.
D18 (TX) and D19 (RX) can be used as UART2.