iRobot Corporation

RoombaOI Hacker
Register  ·  Sign In  ·  Help
Jump to Page:   1
  Reply   Reply  

problem connecting to roomba via BT
Options    Options  
m_ahlenius
Contributor
Posts: 17
Registered: 07-30-2007


m_ahlenius

Message 1 of 6

Viewed 5,906 times


Hi, I built up the BlueSmirf interface for my Roomba. I am using a Mac to connect to the BlueSmirf, and can send AT style commands, and check the status of the BlueSmirf device. But I cannot seem to send and successful commands using Zterm to Roomba. I might not be using the right cmds, assuming you can just put the BlueSmirf in data mode. ATSW20,236,0,0,1 - set up the BlueSmirf data rate speed to 57.6K ATMD - put it in data mode 128 130 132 136 - op codes to start, control, use full mode and start cleaning This doesn't work. Anyone see what I might be doing wrong? thanks
08-14-2007 08:06 PM
  Reply   Reply  

Re: problem connecting to roomba via BT
Options    Options  
vic7767
Regular Contributor
Posts: 116
Registered: 01-08-2007


vic7767

Message 2 of 6

Viewed 5,904 times


You could try a loop around arrangement strapping Rx and Tx at the far end.  Send some characters and see if you receive them on your terminal.
 
Or, plug your Roomba charger into the charging jack and monitor the charging report that is output once per second in ASCII over the ROI.
08-14-2007 08:27 PM
  Reply   Reply  

Re: problem connecting to roomba via BT
Options    Options  
m_ahlenius
Contributor
Posts: 17
Registered: 07-30-2007


m_ahlenius

Message 3 of 6

Viewed 5,895 times


OK, I will try that. But when sending just the data opcodes via a terminal emulator over BT to the BlueSmirf, is there anything you need to do to send the opcodes? Do you just type in the numeric codes without any quotes, or prefix commands? Do you need to be in the ATMD - data mode, the fast data mode, etc? thank you, 'mark
08-15-2007 03:58 AM
  Reply   Reply  

Re: problem connecting to roomba via BT
Options    Options  
JohnQ
Super Contributor
Posts: 556
Registered: 01-24-2007


JohnQ

Message 4 of 6

Viewed 5,891 times


If you're just typing the opcodes, your sending the ASCII characters, and NOT the opcodes.  If you type 128, your sending the ASCII code for '1', for '2', and for '8'.  You need to send a single char 128.  I don't use a terminal program, so I can't tell you how to do it with your program.

 

John Q. - Sunny Tucson Arizona USA
08-15-2007 05:33 AM
  Reply   Reply  

Re: problem connecting to roomba via BT
Options    Options  
m_ahlenius
Contributor
Posts: 17
Registered: 07-30-2007


m_ahlenius

Message 5 of 6

Viewed 5,886 times


Hi, yes I was just figuring that out. turns out the program I used on my PC with the serial cable called RealTerm, allows you to send numbers, but it must first encode them to binnary vs. the ascii equivalents. I'll see if there's a way with my serial terminal on the mac (ZTerm) for using BT. thanks 'mark
08-15-2007 09:40 AM
  Reply   Reply  

Re: problem connecting to roomba via BT
Options    Options  
BenWirz
Regular Contributor
Posts: 55
Registered: 01-08-2007


BenWirz

Message 6 of 6

Viewed 2,274 times


We have a small tutorial on our website about using RealTerm with the Create that you might find useful.

 

http://www.elementdirect.com/wiki/tiki-index.php?page=Windows+Terminal+Test

 

-Ben

 


 

For accessories and add-on's for your iRobot Create
please visit Element Direct at: www.elementdirect.com
06-02-2009 04:33 PM
Jump to Page:   1