Author Topic: Hacking a roomba  (Read 5854 times)

0 Members and 1 Guest are viewing this topic.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Hacking a roomba
« on: February 05, 2010, 11:26:32 PM »
Im working on hacking a roomba and have to questions first is the $50 robot controller able to be conected to the roomba. Second is the axom I or II able to be connected at all if any are can you show me how they would be connected. Thanks

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: Hacking a roomba
« Reply #1 on: February 06, 2010, 09:02:28 AM »
I wrote code to control Irobot Creates (Roomab without the Vac), And I'm 90% sure it's the sam command structure as a roomba.

http://www.billporter.info/?p=160

SO yes, any Microcontroller with a serial port can control a Roomba.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Hacking a roomba
« Reply #2 on: February 06, 2010, 09:27:01 AM »
It is because its designed the same way. Ill look at it. Thanks but now how would i wire it to the roomba?

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: Hacking a roomba
« Reply #3 on: February 06, 2010, 09:53:01 AM »
Well, there are some settle differences. So far the baud rate is different, but all the commands i have checked line up.

What Roomba do you have? 

To wire it, there is a serial port din hiding on your roomba somewhere. On my 530, it was under the top plate.



The pin out can be found in the irobot command interface document.

For the 500 series,  http://www.robotreviews.com/chat/download/file.php?id=1244

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Hacking a roomba
« Reply #4 on: February 06, 2010, 09:46:19 PM »
I have the roomba discovery model 4210. I found the port its that 7 pin circle connector that is used on macs. What ports dose it connect on when it interfaces with the axom. I can get the battery to run the axom but.  What ports would you  connect to to recive and send data and when i say ports i mean pins. on the axom II
« Last Edit: February 06, 2010, 09:49:23 PM by Kylepowers »

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: Hacking a roomba
« Reply #5 on: February 07, 2010, 12:01:55 AM »
The Pinout of the 7 pin circle will mention a TX and RX (pin 3 and 4). Pick a Uart on the Axon 2 to use.  You Would wire the TX of the Roomba to the RX of the Axon Uart, and RX of the Rommba to the TX of the Axon Uart.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Hacking a roomba
« Reply #6 on: February 07, 2010, 05:25:57 PM »
Ah yes i see but now i am seeming to have a problem locating these uart pins on the data sheets and stuff on the axom i find them but where are they on the layout of the axon 2 sorry if i seem to be relativly stupid.
« Last Edit: February 07, 2010, 05:28:12 PM by Kylepowers »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: Hacking a roomba
« Reply #7 on: February 08, 2010, 12:30:02 AM »
http://www.societyofrobots.com/axon2/axon2_datasheet.shtml

Look for U0 (uart0), U2, U3 . . . and you'll see T (Tx) R (Rx) G (ground)



http://www.societyofrobots.com/axon/axon_datasheet.shtml

And for the original Axon, UART0, UART2, etc . . .


 

SMF spam blocked by CleanTalk