Baudmode for connecting to a Romba's SCI
Frohman
Posts: 10
HELP I can't figure our how to calculate the proper baudmode...
The device is an IROBOT Roomba, and I am trying to connect to it through it's SCI (Serial Command Interface).
the documentation for connecting is here: www.irobot.com/images/consumer/hacker/Roomba_SCI_Spec_Manual.pdf
The roomba I am connecting to is 57600 baud, 8-bit with no parity and I dont know if it is inverted or not... they don't say... so I am guessing it is not inverted... (because you need to make a special cable with a protoboard to control the roomba from a pc)
need some help here.
P.S. I am using a BS2
The device is an IROBOT Roomba, and I am trying to connect to it through it's SCI (Serial Command Interface).
the documentation for connecting is here: www.irobot.com/images/consumer/hacker/Roomba_SCI_Spec_Manual.pdf
The roomba I am connecting to is 57600 baud, 8-bit with no parity and I dont know if it is inverted or not... they don't say... so I am guessing it is not inverted... (because you need to make a special cable with a protoboard to control the roomba from a pc)
need some help here.
P.S. I am using a BS2
Comments
Edit: The baud mode for 57600 on the BS2sx or BS2p is 23. That's int(2500000 / 57600) - 20.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our first album on the iTunes Store
Our second album...
edit: darnit i Forgot how to set pins to low and high cause I need to do that to turn it to 19200 baudrate
Post Edited (Frohman) : 7/12/2010 9:13:29 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our first album on the iTunes Store
Our second album...
On the DIN plug If you pull PIN 5 DD/wake low 3 times it will also do a Baud change .. Its on page 2 of the PDF .
Peter KG6LSE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Carpe Ducktum" "seize the tape!!"
peterthethinker.com/tesla/Venom/Venom.html
Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. —Tanenbaum, Andrew S.
LOL
what the heck is the proper baudmode...
INT(1,000,000/19200)-20 = 32?
so it's this?
and later on...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
MAGGOTS!
Post Edited (Frohman) : 7/13/2010 2:16:25 AM GMT
Rough code ..mod to your Pin liking i nomaly make 1 IN and 0 Out and 2 DD
Peter KG6LSE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Carpe Ducktum" "seize the tape!!"
peterthethinker.com/tesla/Venom/Venom.html
Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. —Tanenbaum, Andrew S.
LOL
MAGGOTS!
Post Edited (Frohman) : 7/31/2010 3:53:07 AM GMT