RN-21
www.rovingnetworks.com
DS-RN21-V2 3/25/2010
Class 1 Bluetooth® Module
Features
Applications
•
•
Supports Bluetooth 2.1/2.0/1.2/1.1 standards
•
•
Bluetooth v2.0+EDR support
Class1, up to 15dBm(RN21) (100meters)
Postage stamp sized module, 15.4mm x
22mm x 1.85mm
•
UART (SPP or HCI) and USB (HCI only) data
connection interfaces
•
Sustained SPP data rates - 240Kbps (slave),
300Kbps (master)
•
HCI data rates - 1.5Mbps sustained, 3.0Mbps
burst in HCI mode
•
•
8MB on board flash
•
Embedded Bluetooth stack profiles (requires
no host stack): include GAP, SDP, RFCOMM
and L2CAP protocols, with SPP and DUN
profile support.
•
Secure and robust link, FHSS, 128 bit
encryption, error correction and guaranteed
packet delivery.
•
Built in software stack for auto-discovery,
auto-connect, and instant cable modes.
HCI mode, or SPP/DUN software stacks
•
•
Cable replacement
•
•
Measurement and monitoring systems
•
•
Medical devices
Barcode scanners
Industrial sensors and controls
Asset tacking
Description
The RN21 Bluetooth module is perfect for embedded
applications where the Bluetooth radio must be
located within a chassis. The small form factor and
external antenna allow the RN21 to fit into many
diverse applications. The straightforward hardware
interface, castellated pads and complete software
stack provides makes it easy and reliable to design
into your end product. The RN21 provides a low
power, high performance Bluetooth module that
supports multiple protocols, including Enhanced Data
Rate (EDR). The RN21 is the solution for developers
needing to add wireless capability to their product but
can not afford to spend significant time and money
developing Bluetooth specific hardware and software.
Block Diagram
Crystal
VCC
GND
RF
Switch
CSR BlueCore-04
External
PA
BALUN
PIO4
PIO5
PIO6
USB
UART
PCM
Flash
Memory
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
DS-RN21-V2 3/25/2010
Overview
•
•
•
•
•
•
•
•
•
Baud rate speeds: 1200bps up to 921Kbps, non-standard baud rates can be programmed.
Class 1 radio, 330’ (100m) distance, 12dBm output transmitter, -80dBm typical receive sensitivity
Frequency 2402 ~ 2480MHz,
FHSS/GFSK modulation, 79 channels at 1MHz intervals
Secure communications, 128 bit encryption
Error correction for guaranteed packet delivery
UART local and over-the-air RF configuration
Auto-discovery/pairing requires no software configuration (instant cable replacement).
Auto-connect master, IO pin (DTR) and character based trigger modes
Environmental Conditions
Parameter
Temperature Range (Operating)
Temperature Range (Storage)
Relative Humidity (Operating)
Relative Humidity (Storage)
Value
o
o
-40 C ~ 85 C
o
o
-40 C ~ 85 C
≤90%
≤90%
Electrical Characteristics
Parameter
Supply Voltage (DC)
RX Supply Current
TX Supply Current
Average power consumption
Standby/Idle (default settings)
Connected (normal mode)
Connected (low power Sniff)
Standby/Idle (deep sleep enabled)
Min
3.0
Typ.
3.3
35
65
Max.
3.6
60
100
Unit
V
mA
mA
25
30
8
2.5
250uA
mA
mA
mA
mA
Radio Characteristics
Parameter
Sensitivity @ 0.1%BER
RF Transmit Power
Initial Carrier Frequency
Tolerance
Freq.
(GHz)
2.402
2.441
2.480
2.402
2.441
2.480
2.402
2.441
2.480
20dB bandwidth for modulated
carrier
Drift (Five slots packet)
Drift Rate
∆f1avg Max Modulation
∆f2avg Min Modulation
2.402
2.441
2.480
2.402
2.441
2.480
Min
Typ
Max
Bluetooth
Specification
15.0
15.0
15.0
-
-80
-80
-80
16.0
16.0
16.0
5
5
5
-86
-86
-86
≤ -70
75
75
75
75
-
900
1000
≤ 1000
kHz
140
140
140
140
140
140
15
13
165
165
165
190
190
190
175
175
175
-
40
20
kHz
kHz
kHz
kHz
kHz
kHz
kHz
kHz
≤ 15
>140
115
Units
dBm
dBm
dBm
dBm
dBm
dBm
kHz
kHz
kHz
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
DS-RN21-V2 3/25/2010
Pin Description
Antenna
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
RN21
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
38 3 7 3 6 35
Pin
Name
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
GND
NC
GND
AD0
AD1
Reset
SPI_MISO
SPI_CSB
SPI_CLK
SPI_MOSI
UART_CTS
UART_TX
UART_RTS
UART_RX
NC
VCC_3.3V
GND
PCM_OUT
PCM_SYNC
PCM_IN
PCM_CLK
USB+
USBPIO7
PIO6
PIO5
PIO4
PIO3
29
30
31
32
33
34
35
36
37
38
PIO2
NC
NC
GND
RF_OUT
GND
PIO8
PIO9
PIO10
PIO11
Description
Default
RF pad keep all traces and planes clear.
Optional Analog input channel
Optional Analog input channel
Input to RN21
Programming only
Programming only
Programming only
Programming only
UART input, if set HIGH, disables transmitter
UART Transmit output
UART output, goes HIGH to disable host transmitter
UART Receive Input
Not used
Not used
Active HIGH
No Connect
No Connect
No Connect
No Connect
Low level input to RN21
High level output from RN21
Low level output from RN21
Input to RN21 with pullup
Input
PCM interface
PCM interface
PCM interface
PCM interface
USB port
USB port
IO (HIGH= force 9600 baud), low = 115K baud
IO (HIGH=AUTO MASTER)
Status: toggles based on state, LOW on connect
To set Factory defaults start HIGH, then toggle 3x
Auto discovery = HIGH
IO (remote DTR signal) NOTE on 4.24 firmware
PIO2 and PIO10 are switched
Antenna ground
To external antenna
Antenna ground
IO (RF data/config LED option)
IO
High when connected, Low otherwise
IO ( remote RTS signal )
No Connect
No Connect
No Connect
No Connect
Pull up 1.5K when active
Input to RN21 with weak pulldown
Input to RN21with weak pulldown
Output from RN21
Input to RN21 with weak pulldown
Input to RN21 with weak pulldown
Output from RN21
Output from RN21
Output from RN21
Input to RN21 with weak pulldown
Input to RN21 with weak pulldown
Input to RN21 with weak pulldown
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
DS-RN21-V2 3/25/2010
Digital I/O Characteristics
2.7V ≤ VDD ≤ 3.0V
Input logic level LOW
Input logic level HIGH
Output logc level LOW
Output logic level HIGH
All I/O’s default to weakpull down
Min
-0.4
0.7VDD
VDD-0.2
+0.2
Typ.
+1.0
Max.
+0.8
VDD+0.4
0.2
+5.0
Unit
V
V
V
V
uA
Typical Application Circuit
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
DS-RN21-V2 3/25/2010
Module Dimensions
PCB LAYOUT
MODULE DIMENSIONS
15.4 mm
15.0 mm
0.94 mm (pad)
0.75 mm
1.27 mm
RN21
22.0 mm
RN21
0.8 mm (pad)
21.82 mm
0.75 mm
1.85 mm
9.87 mm
1.32 mm
0.68 mm (pad)
1.27 mm
22.0 mm
Design Concerns
1. Reset circuit. RN-21 contains a 1k pull-down to GND, the polarity of reset is active HIGH.
A power on reset circuit with delay is OPTIONAL on the reset pin of the module. It should only be required
if the input power supply has a very slow ramp, or tends to bounce or have instability on power up. Often
a microcontroller or embedded CPU IO is available to generate reset once power is stable. If not, there
are many low cost power supervisor chips available, such as MCP8010.
2. Factory reset PIO4. It is a good idea to connect this pin to a switch, or jumper, or resistor, so it can be
accessed. This pin can be used to reset the module to FACTORY DEFAULTS and is often critical in
situations where the module has been misconfigured.
3. Connection status. PIO5 is available to drive an LED, and blinks at various speeds to indicate status.
PIO2 is an output which directly reflects the connection state, it goes HIGH when connected, and LOW
otherwise.
4. HCI mode. The RN21 module must be loaded with special firmware to run in HCI mode. When in HCI
mode the standard SPP/DUN profiles are disabled.
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
DS-RN21-V2 3/25/2010
5. Using SPI bus for flash upgrade. While not required, this bus is very useful for configuring advanced
parameters of the Bluetooth modules, and is required for upgrading the firmware on modules. The
suggested ref-design shows a 6pin header which can be implemented to gain access to this bus. A
minimum-mode version could just use the SPI signals (4pins) and pickup ground and VCC from elsewhere
on the design.
6. Antenna Design. The pattern from the rf_out terminal pad should be
designed with 50ohms impedance and traced with straight lines. (see
diagram to the right) The rf_out signal line should not run under of near the
RN21 module. The GND plane should be on the side of the PCB which the
module is mounted. The GND should be reinforced with through-hole
connections and other means to stabilize the electric potential.
Recommended on-chip antenna is Yageo SMT high performance chip for
Bluetooth/802.11b/g 2.45GHz (3.6mm x 7.2mm)
GND
RF_OUT
GND
RN21 Module
7. Soldering Reflow Profile.
• Lead-Free Solder Reflow
• Temp: 230 degree C, 30-40 seconds, Peak 250 degree C maximum.
• Preheat temp: 165 +- 15 degree C, 90 to 120 seconds.
• Time: Single Pass, One Time
Ordering Information
Part Number
RN-21
RN-21-H
RN-21-U
Description
Standard firmware (SPP/DUN Master and Slave)
HCI firmware (HCI over H4 UART)
USB firmware (HCI over USB port, slave device at 12Mbps rate)
For other configurations, contact Roving Networks directly.
Visit http://www.rovingnetworks.com for current pricing and a list of locations selling Roving
Networks Products.
Copyright © 2009 Roving Networks. All rights reserved.
The Bluetooth trademark and logo are registered trademarks of Bluetooth SIG, Inc. All other trademarks are
property of their respective owners.
Roving Networks reserves the right to make corrections, modifications, and other changes to its products,
documentation and services at any time. Customers should obtain the latest relevant information before
placing orders and should verify that such information is current and complete.
Roving Networks assumes no liability for applications assistance or customer’s product design. Customers are
responsible for their products and applications which use Roving Networks components. To minimize
customer product risks, customers should provide adequate design and operating safeguards.
Roving Networks products are not authorized for use in safety-critical applications (such as life support) where
a failure of the Roving Networks product would reasonably be expected to cause severe personal injury or
death, unless officers of the parties have executed an agreement specifically governing such use.
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com