So, you have to match the baud rate of the NXT with the NXTbee, or the baud rate of the NXTbee with the NXT? Which one is the one that gets an adjustment? And what is the baud rate that it settles for uses?
You said:
mightor wrote:it's not 900Kbit/s like on a back-to-back connections with cables...
I thought the HS port was rated for something like 10M (10,000 Kbit/sec), not 900K.
As for the baud rate. If I tell it to configure the NXTBee for 115Kbaud, that's what it'll do. It doesn't "settle", it configures with a max speed of 115K, if you prefer to use it at 9600, you can as well.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Ok, so the max (defined by the NXT? or or NXTbee?) is not necessarily the speed it uses, you can choose the baud rate? I didn't know you could specify the RS485 speed.
BTW, sorry for going so OT, but thanks for the answers anyways.
The NXTBee serial interface has a max baud rate of 115Kbaud. This not the same as the max speed that is used between the NXTXBees, that's about 250Kbit/s. So the NXT can communicate with the NXTBee at 115Kbaud, but anything less than that is also fine. You just need to make sure the NXTBee has been configured for that speed, too. That's done with a special AT command, much like a normal modem. You have no control (as far as I know) over the transmission speed between the NXTBees themselves.
Regards,
Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)