RN-21-U Roving Networks Inc, RN-21-U Datasheet - Page 24
![no-image](/images/no-image-200.jpg)
RN-21-U
Manufacturer Part Number
RN-21-U
Description
MODULE BLUETOOTH 2.0/EDR CLASS1
Manufacturer
Roving Networks Inc
Specifications of RN-21-U
Frequency
2.4GHz Center
Data Rate - Maximum
921kBaud
Modulation Or Protocol
FHSS
Applications
Bluetooth v2.0
Power - Output
16dBm
Sensitivity
-86dBm
Voltage - Supply
3 V ~ 3.6 V
Current - Receiving
60mA
Current - Transmitting
100mA
Data Interface
PCB, Surface Mount
Memory Size
8MByte Flash
Antenna Connector
PCB, Surface Mount
Operating Temperature
-40°C ~ 85°C
Package / Case
Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
9
Discovery and Connection
www.rovingnetworks.com
Example of a Master Discovery/Connection Sequence From power up and no connection:
809 University Avenue
1) Perform an Inquiry to obtain BT_Address (unless it is already known).
2) Store the remote address just found.
3) Connect.
4) Send /Receive data.
Using PIOs/ Switches for Auto-pairing and Auto-Connection
PIO3 PIO6
low
high low
low high
high high
connects to it.
To enable cable replacement, set PIO3 high on slave, PIO3 + PIO6 high on master.
Once paired, PIO3 = low on both devices (so re-pairing with another roving device does not
occur)
( PIO3 = DIP Switch 2, PIO6 = Dip Switch 3 on Firefly and Blueport )
Sent : $$$
Reply:AOK<cr>
Sent : C <cr>
Device will attempt connection to remote slave. “TRYING” will be displayed.
Reply:CMD<cr>
Sent : I,30<cr>
Reply:00A096112233,1F00<cr>Inquiry Done<cr
Sent : SR,00A096112233 <cr> (or just SR,I if this was the only device found ).
Reply:AOK<cr>
Reply:<text>CONNECT<cr>
string is defined in the stored parameters.
low
default slave, no special function.
slave, changes COD to 0x0055aa for auto pairing.
auto master, uses STORED address....... does not try auto pairing.
Function
auto master, auto pairing, looks for first device with 0x55aa stores it, and
•
Los Gatos, CA 95032
// Looks forBluetooth devices
// this will be displayed once connection is made, if <text>
~ 24 ~
// Places Radio in Command Mode
•
Tel (408) 395-6539
// Places Radio in Connect
rn-bluetooth-um Version 4.77 1/24/2011
Advanced User Manual
• info@RovingNetworks.com