I see, in RH_ASK.cpp, the default speed is 2000 bps and the RFM85 is supported using the MCUs timers.
"Baud rate" really doesn't apply here; that applies to a UART based serial mechanism with start/stop bits, etc.
A common use of UARTs is 8N1 meaning there are a little more than 10 bit times per 8 bit byte sent.
In all these radios, FSK, ASK/OOK, the data has no start/stop bits.
ASK in RH does code data to control the number of successive 1's and 0's.
As to KHz v.s. Kbps... KHz in your context is either the receiver bandwidth configuration or the transmitter's deviation setting.
So if you use the constructor's defaults, you'll see something like 2000 bps minus overhead of preamble and coding. This is a burst rate, not a sustained rate of course. And if you use reliable datagrams, there's the overhead of ACK responses.
This message was edited 1 time. Last update was at 09/09/2014 23:49:53
|