RN-24 / RN25 www.rovingnetworks.com rn-24-ds v2.3 8/23/2010 Class 1 Bluetooth® Super Module Features • • • • • • • • • • • • • • Bluetooth 2.1/2.0/1.2/1.1 and v2.0+EDR Embedded SPP/DUN stack support, no host or processor stacks required Small-form factor 24 Pin DIP package (0.1” pitch by 0.9” socket width) Accepts 4Vdc to 24Vdc power (RN-24) Hardware TTL, RS- 232 and RS-485 levels RS-485 signaling with auto-direction control (RN25 only) UART baud rate: 1200bps up to 921.6Kbps 9 General Purpose Input/Output Pins (4ma source/sink) controlled via remote commands 2 Channel 8 Bit AD converter (5Hz, 0-1.8VDC ) LEDs indicate connection and RX/TX status On board antenna or external SMA jack Low power consumption (30mA connected,, <10mA sniff mode) Programmable over local UART and Bluetooth Simple ACSII command interface • UART (SPP or HCI) and USB (HCI only) data connection interfaces • Sustained SPP data rates - 240Kbps (slave), 300Kbps (master) • Embedded Bluetooth stack profiles included (requires no host stack): GAP, SDP, RFCOMM and L2CAP protocols, with SPP and DUN profile support. Applications • Wireless RS232/RS485 cable replacement • Remote equipment monitoring • Scanners, GPS and measurement systems • Industrial sensors and controls • Medical devices Description The RN24 transforms your product’s serial interface into a wireless connection. The RN24 is a Class 1 Bluetooth radio with auto-connect and connect on RX data features, enabling your product to transfer data up to 100M. The RN24 accepts a wide range of unregulated DC power. The DIP packaging with GPIO, UART interfaces and AD converter makes it the perfect prototyping module and allows products to have optional Bluetooth capability when the module is plugged in. The RN-25 has the same powerful Bluetooth radio and simple ASCI command interface as the RN-24 but has a RS-485 hardware interface rather than RS-232. 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 • [email protected] ~ page 1 ~ DS-RN24_V3 8/23/2010 Overview UART 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 Power supply voltage RN24 WARNING – Only one source of power must be supplied. Parameter Min Supply Voltage (DC) using pin 3 3.0 Supply Voltage (DC) using pin 12 5 RX Supply Current TX Supply Current Typ. 3.3 35 65 3.3VDC nominal or 5-24VDC unregulated Max. Unit 3.6 V 24 V 60 mA 100 mA NOTE: do not exceed 5 VDC on the RN-25 or permanent damage to the module will occur! Power supply voltage RN25 Parameter Min Supply Voltage (DC) using pin 3 Supply Voltage (DC) using pin 12 5 RX Supply Current TX Supply Current Average power consumption Standby/Idle (default settings) Connected (normal mode) Connected (low power Sniff) Standby/Idle (lowest power) Min 250uA 5 VDC unregulated on pin12 Typ. Max. Unit 5 V 35 60 mA 65 100 mA Typ. 25 30 8 2.5 Max. 50 Unit mA mA mA mA 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] DS-RN24_V3 8/23/2010 Digital I/O Characteristics WARNING: Take care not to exceed the voltage limits to the VCC, TTL SERIAL, and GPIO pins. 0 negative voltage or voltage exceeding 3.30 VDC can permanently damage the device! • Use a 10KΩ series resistor on inputs • GPIO sink current is 4mA max. • Unused pins should float 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 (except reset) 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 The RN24 can drive either UART signals on the TTL pins 8-11 or RS232 pins 13-16. WARNING: Driving the TTL signals at RS232 levels can permanently damage the module. By default the module is configured to drive only the RS232 pins. To drive the TTL signals you must remove the resistor R7. R7 can be found on the bottom of the board, near the center. Remove R7 to enable the UART TTL signaling on pins 8-11. This disconnects pins 13-16 from the UART interface. 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] DS-RN24_V3 8/23/2010 Pin Description NOTE: The Power can be applied to either pin 12, or pin 3, but NOT both. If pin 12 is powered then Pin 3 can be used as a 3.3V regulated supply output up to 200mA. 1 24 2 23 3 22 4 21 5 20 RN24/RN25 6 19 7 18 8 17 9 16 10 15 11 14 12 13 32 31 30 29 28 27 26 25 Top view Pin 1 2 3 4 5 6 7 8 9 10 11 12 Name RESET GND VCC SPI_CS SPI_CK SPI_MO SPI_MI CTS TX RTS RX VDD 13 14 15 16 17 18 19 UART_TX UART_RX UART_RTS UART_CTS GPIO-7 GPIO-6 GPIO-4 20 21 22 23 24 25 26 27 28 29 30 31 32 GPIO-3 GPIO-2 RS-485 D+ RS-485 DGND GPIO-11 GPIO-8 GPIO-9 GPIO-10 AD1 AD2 NC GND Description Active HIGH 3.3VDC power Programming Only Programming Only Programming Only Programming Only Input, if set HIGH disables transmitter Transmit, output from the module Output, goes HIGH to disable host transmitter Receive, input to the module RN-24 : 5-24V unregulated DC power RN-25 : 5 V unregulated DC power UART Transmit, output from the module UART Receive, input to the module Output, goes HIGH to disable host transmitter Input, if set HIGH disables module transmitter Default baud rate, HIGH = 9600, LOW = 115K Enable auto master mode = HIGH Restore factory defaults Enable instant cable mode = HIGH Connection status, connected=HIGH RS485 signaling (Only on RN25) RS485 signaling (Only on RN25) Ground Default Has 1K pulldown Mutually exclusive with Pin 12 No Connect No Connect No Connect No Connect TTL input TTL output TTL output TTL input Mutually exclusive with Pin 3 RS-232 level signaling RS-232 level signaling RS-232 level signaling RS-232 level signaling Input to RN24, default = LOW Input to RN24, default = LOW Set HIGH then toggle for 5 msec. 3 times Input to module, default = LOW Output from module (Auto direction detect) (Auto direction detect) Controls red LED Controls yellow LED Optional analog input 0-1.8V Optional analog input 0-1.8V Requires special firmware Requires special firmware Ground 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] DS-RN24_V3 8/23/2010 Module Dimensions 230 mil 1600 mil 320 mil 245 mil LED LED LED LED 24 1 24 2 23 2 23 3 22 3 22 4 21 4 21 5 20 5 20 6 80 mil diameter Mounting hole LED LED Keep metallic components, connectors, copper traces, and ground planes away from antenna area 1 RN24/RN25 19 6 1500 mil RN24/RN25 19 7 18 7 18 8 17 8 17 9 16 9 16 10 15 10 15 11 14 11 14 12 13 12 13 1400 mil 32 31 30 29 28 27 26 25 32 31 30 29 28 27 26 25 100 mi 110 mil 1000 mil 900 mil RN24-S/RN25-S Top view RN24-E/RN25-E Top view Antenna 65 mil 200 mil 1500 mil Connect with 24 pin DIP (through-hole) 0.1” pitch and 0.9” wide socket Single row mating sockets use: Digikey P/N: ED7012-ND (female) ED7512-ND (male) 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] DS-RN24_V3 8/23/2010 Design Concerns 1. Reset circuit. RN-24 contains a 1k pulldown, 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 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 mis-configured. 3. Connection status. PIO2 is an output which directly reflects the connection state, it goes HIGH when connected, and LOW otherwise. 4. RS485 support. Must supply 5V on pin 12 if using the RS485 interface. Do not exceed 5VDC or permanent damage to the module will occur! RS-485 signaling with auto-direction control is ONLY supported on PCB rev 4 and later. Treat pins 22 and 23 as no connect on previous PCB boards. 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 refdesign 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. Minimizing Radio interference. When integrating the RN24 DIP module with on board chip antenna besure the area around the chip antenna end of RN24-S module protrudes at least 5mm from the PCB and any metal enclosure. If this is not possible use the RN24-E. 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 8. Connecting to the GPIO. Placing 3.3Vdc into the PIO’s while they are set as outputs will permanently damage the radio. The failure mode is short across GND and VCC. Use a 10KO resistor is series or a 10KO pull up resistor for input and output PIO’s respectively. • Make sure to connect a common ground when using the external TX, RX inputs on the 0 – 3.3Vdc • For a 3 wire DB-9 interface (tx, rx, gnd only) connect/short CTS to RTS, Factory default is hardware flow control enabled CTS and RTS connected. • When using a 5.0Vdc Input, PIO’s require a 10K ohm series resistor. PIO’s are 0-3.3Vdc not 5 volt tolerant. Compliance Information • • FCC Certified, FCC ID T9J-RN24, IC number6514A-RN24 Environmentally friendly RoHS compliant 809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected] DS-RN24_V3 8/23/2010 Ordering Information Part Number RN-24-S RN-24-E RN-25-S RN-25-E RN-SMA-S RN-SMA-4 Description With chip antenna With SMA jack RS485 signaling with chip antenna RS485 signaling with SMA jack 1” external antenna “Stuby” 4” high performance antenna For other configurations, contact Roving Networks directly. Visit http://www.rovingnetworks.com for current pricing and a list of distributors carrying our products. Copyright © 2009 Roving Networks. All rights reserved. The Bluetooth trademark and logo are registered trademarks and are owned by the 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 product design. Customers are responsible for their products and applications using Roving Networks components. To minimize the risks associated with customer products and applications, 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 • [email protected]