Page 2 of 2

Re: GetHSInputBuffer question

Posted: 24 Feb 2011, 08:21
by mattallen37
I see, thanks for the great explanation.

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.

Re: GetHSInputBuffer question

Posted: 24 Feb 2011, 09:53
by mightor
The max speed is 921600 baud :)

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

Re: GetHSInputBuffer question

Posted: 24 Feb 2011, 23:17
by mattallen37
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.

Re: GetHSInputBuffer question

Posted: 25 Feb 2011, 11:32
by mightor
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

Re: GetHSInputBuffer question

Posted: 25 Feb 2011, 11:47
by mattallen37
Ok, thanks a lot. Now I think I finally understand. :)

Re: GetHSInputBuffer question

Posted: 25 Feb 2011, 12:17
by mightor
Now I think I finally understand.
For a serious overload of great information, I refer you to the attached PDF. I am sure you can handle it.

Regards,
Xander

Re: GetHSInputBuffer question

Posted: 26 Feb 2011, 04:29
by mattallen37
Thank you. I have learned a lot from what little I have read so far.