RN121

RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
rn-121-ds 1/20/2012
“WiFly GX” 802.11G Super Module
Features

802.11 b/g embedded module with data rates
up to 54Mbps

Wi-Fi Alliance certified for WPA2-PSK

Ultra-low power - 4uA sleep, 40mA Rx,
210mA Tx (max)

Multiple sleep modes, wake up timer or signal

Small form factor 28mm x 40.8mm

UART, RS-232 or RS-485 hardware interface

On board ceramic chip antenna and U.FL
connector for external antenna

10 General Purpose Digital IOs

8 analog sensor inputs

Onboard ECOS-OS, TCP/IP stack

Real-time clock for wakeup and time stamps

Accepts wide voltage range input 3.3V –
12VDC (RN-121 and RN-123)

Industrial voltage range input 6V – 48VDC
(RN-125)

Switched power supply for external sensors

Supports Adhoc and infrastructure networking

FCC / CE / ICS certified and RoHS compliant.
Description
The WiFly GX module is a stand alone, embedded
wireless LAN/WAN access device. Because of its
small form factor and extremely low power
consumption, the RN-121G is perfect for mobile
wireless applications such as asset monitoring, GPS
tracking and portable devices. The WiFly GX
simplifies the integration and development of your
application by including an on board TCP/IP stack and
networking application programs such as telnet and
ftp. The hardware requires only four connections
(PWR, TX, RX, GND) to create a simple wireless data
connection. Additionally, continuously sampled analog
inputs transmit audio, temperature, motion, or
acceleration data without requiring additional hardware
in your end application. The WiFly GX module uses a
straight forward ASCII command set for configuration
and programming. Once the WiFly GX is set up it can
automatically associated and authenticate with a
network, making your device accessible worldwide.
The WiFly GX includes a high-speed UART and SPI
interfaces that allow high-speed data transfer. The
WiFly GX module is a complete wireless solution
Applications

Wireless thermostats

RS232/RS485 cable replacement

Remote equipment monitoring

Scanners, GPS and measurement systems

Industrial sensor and control

Security

Home Automation

Medical devices
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~1~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Block Diagram
Overview

Host Data Rate of up to 1Mbps for UART

Low power - 110mA TX, 35mA idle, 4uA deep sleep

Real time clock for time stamping, auto-sleep and auto-wakeup modes

UART and wireless configuration using simple ASCII commands.

Over the air firmware upgrade (FTP)

Three on board LEDs for status.

32 pin Standard 2mm DIP socket pin spacing

802.11i: Open, WEP-64, WEP-128, WPA, WPA2

Built in networking applications DHCP, UDP, DNS, ARP, ICMP, TCP, HTTP Client, FTP

Supports 802.11 power save modes

Commands for scanning networks roaming modes
High-speed UART features

64 bytes FIFO (transmitter and receiver)

Fully compatible with industrial standard 16C450 and equivalent

Auto hardware flow control using RTS/CTS

Auto software flow control with programmable Xon/Xoff characters
RS-485 features (RN-125 only)

Accepts 6Vdc to 48Vdc power

RS-485 signaling with auto-direction control

Onboard line termination resistors

Hot-Swappable for Telecom Applications

1/4-Unit Load, Allowing Up to 128 Transceivers on the Bus
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~2~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Environmental Conditions
Parameter
Temperature Range (Operating)
Temperature Range (Storage)
Relative Humidity (Operating)
Relative Humidity (Storage)
Value
o
o
-30 C ~ +85 C
o
o
-40 C ~ +85 C
90%
90%
Radio Characteristics
Parameter
Frequency
Modulation
Channel intervals
Channels
Transmission rate (over the air)
Receive sensitivity
Specifications
2402 ~ 2480MHz
802.11b compatibility : DSSS(CCK-11, CCK-5.5,
DQPSK-2, DBPSK-1)
802.11g : OFDM (default)
5MHz
1 - 14
1 – 11Mbps for 802.11b / 6 – 54Mbps for 802.11g
-85dBm typ.
Output level (Class1)
+18dBm
Maximum RF input to U.FL connector
10 dBm
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~3~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Pin Description: RN-121
(TTL Uart interface)
Note: Any unused pins should be left floating (No Connect)
Pin
1
2
3
4
5
6
7
8
9
10
11
12
Name
PIO7
SPOWER
SENSE-4
SENSE-5
SENSE-6
SENSE-7
PIO6
PIO9
DEBUG_RX
DEBUG_TX
RESET
WAKE
13
14
15
16
17
18
19
20
21
22
23
24
VIN
VREG
VBATT
GND
VDD
SPI_MOSI
SPI_CK
SPI_CS
SPI_MISO
PIO5
PIO4
25
26
27
28
29
30
31
32
RTSB/PIO13
CTSB/PIO12/
SENSE-1
RXB /
SENSE-0
TXB
NC
SENSE-3
SENSE-2
NC
GND
Description
General Purpose IO
Switched sensor output power
Analog sensor input (1.2V)
Analog sensor input (1.2V)
Analog Sensor Input (1.2V)
Analog Sensor Input (1.2V)
Controls red LED
General purpose IO
nd
2 serial port
nd
2 serial port
Active low with 10k built in pullup
Force the module to wake up, input to module,
31us min. pulse
3.6-16VDC
3.3V LDO output
Tie to VREG if USING VIN
Ground
3.3V out-in
Spi port MOSI line (WiFly GX is the master)
Spi port clock line (WiFly GX is the master)
Spi port chip-select line (WiFly GX is the master)
Spi port MISO line (WiFly GX is the master)
Controls yellow LED
Controls green LED
HW flow control output (Onboard UART) /
General purpose IO
HW flow control input (Onboard UART) / General
purpose IO / Analog sensor input (3.3V)
TTL Data IN (Onboard UART) / Analog sensor
input (3.3V)
TTL Data Out (Onboard UART)
Analog sensor input (3.3V)
Analog sensor input (3.3V)
Default
No Connect
No Connect
Input
Sets factory defaults
No Connect
No Connect
No Connect
Battery option
Power input
Output
Output
Output
Input
Connect/disconnect input
Connection status output
TTL output
TTL input
Input
Output
No Connect
No Connect
No Connect
No Connect
Ground
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~4~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Pin Description: RN-123
(RS-232 interface)
Note: Any unused pins should be left floating (No Connect)
Pin
1
2
3
4
5
6
7
8
9
10
11
12
Name
PIO7
SPOWER
SENSE-4
SENSE-5
SENSE-6
SENSE-7
PIO6
PIO9
DEBUG_RX
DEBUG_TX
RESET
WAKE
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
NC
VIN
NC
GND
P3.3V
ENA_3.3V
TXBTXA+
PIO8
PIO5
PIO4
RTSB
CTSB
RXDB
TXDB
RXDA
TXDA
RTSA
CTSA
GND
Description
General Purpose IO
Switched sensor output power
Analog sensor input (1.2V)
Analog sensor input (1.2V)
Analog Sensor Input (1.2V)
Analog Sensor Input (1.2V)
Controls red LED
General purpose IO
nd
2 serial port
nd
2 serial port
Active low with 10k built in pullup
Force the module to wake up, input to module,
31us min. pulse
6V to 9V DC
Ground
3.3V out-in
Enable 3.3V regulator (pull low to disable)
RS485 line
RS485 line
General purpose IO
Controls yellow LED
Controls green LED
TTL HW flow control output
TTL HW flow control input
TTL Data IN
TTL Data Out
RS232 Data IN
RS232 Data Out
RS232 HW flow control output
RS232 HW flow control input
Ground
Default
No Connect
No Connect
Input
Sets factory defaults
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
Connect/disconnect input
Connection status output
No Connect
No Connect
No Connect
No Connect
RS232 input
RS232 output
RS232 output
RS232 input
NOTE: Vin on RN-123 is on Pin 14 (6V to 9V DC)
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~5~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Electrical Characteristics: RN-123 (RS-232 interface)
Parameter
Supply Voltage VIN
Supply Voltage P3.3V
Average power consumption
Standby/Idle (default settings)
Sleep
Connected(idle, RX)
Connected(TX)
Min
6.0
3.0
Typ.
6V-9V
3.3
Max.
9
3.6
Unit
VDC
VDC
10
35
12
40
110
15
mA
uA (micro)
mA
mA
180
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~6~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Pin Description: RN-125
(RS-485 interface)
Note: Any unused pins should be left floating (No Connect)
Pin
1
2
3
4
5
6
7
8
9
10
11
12
Name
PIO7
SPOWER
SENSE-4
SENSE-5
SENSE-6
SENSE-7
PIO6
PIO9
DEBUG_RX
DEBUG_TX
RESET
WAKE
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VIN
P5V
T2
GND
P3.3V
ENA_3.3V
TXBTXA+
PIO8
PIO5
PIO4
NC
NC
NC
NC
NC
NC
NC
T1
GND
Description
General Purpose IO
Switched sensor output power
Analog sensor input (1.2V)
Analog sensor input (1.2V)
Analog Sensor Input (1.2V)
Analog Sensor Input (1.2V)
Controls red LED
General purpose IO
nd
2 serial port
nd
2 serial port
Active low with 10k built in pullup
Force the module to wake up, input to module,
31us min. pulse
6-48VDC
5VDC input option
RS485 Terminator – Tie to P5V to terminate
Ground
3.3V out-in
Enable 3.3V regulator (pull low to disable)
RS485 line
RS485 line
General purpose IO
Controls yellow LED
Controls green LED
RS485 Terminator – Tie to GND to terminate
Ground
Default
No Connect
No Connect
Sets factory defaults
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
RS485
RS485
No Connect
Connect/disconnect input
Connection status output
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
No Connect
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~7~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Electrical Characteristics: RN-125 (RS485 interface)
Parameter
Supply Voltage VIN
Supply Voltage P5V
Average power consumption
Standby/Idle (default settings)
Sleep
Connected(idle, RX)
Connected(TX)
Min
6.0
4.0
Typ.
24
5.0
Max.
48
6.0
Unit
VDC
VDC
10
35
12
40
110
15
mA
uA (micro)
mA
mA
180
**Note: The 3.3V Power input should not be used to power the RN-125 since the RS-485 driver requires a
higher input voltage.
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~8~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Design Concerns
1. Reset circuit. Reset is active LOW, is optional and does not need to be connected. There is a built in voltage
monitor that will pull Reset LOW (open drain FET) if the input voltage drops below 2.7VDC. If external reset is
desired, use an OPEN DRAIN driver and do not drive the Reset pin to any voltage > 1.0 Vdc.
2. Powering the WiFly Module. There are 3 options to power the RN-121.
 Supply 3.6 to 16VDC power to VIN (pin 13). Tie VREG (pin 14) to VBATT (pin 15).
 Apply 3.3VDC regulated power to VDD (pin 17).
 Apply battery = 2.0 to 3.0VDC to VBATT (pin 15).
If VIN is powered, VREG will supply 3.3VDC output and can be used for other circuits, with a current limitation of
50 ma.
Warning: Placing 5VDC or any voltage above 3.3Vdc into the VDD pins of the module will permanently damage
the radio module. Be sure to use the VIN = pin 13 power pin for any power supplied that is > 3.3VDC.
3. Factory reset PIO9 (pin 8). 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.
4. GPIO connections: Placing 3.3Vdc into the PIO’s while they are set as outputs will permanently damage the
radio modules. The failure mode is a short across GND and VCC. Use a 10KΩ resistor in series or a 10KΩ pull
up resistor for input and output PIO’s respectively.
5. Sensor connections. The Sensor inputs SENS1-8 are extremely sensitive to over voltage. Under no conditions
should these pins be pulled high above 1.2VDC. Placing any voltage above this will permanently damage the
radio module.
6. 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.
7. Minimizing Radio interference. When integrating the WiFly module with on board chip antenna be sure the
area around the chip antenna end the module protrudes at least 5mm from the PCB and any metal enclosure. If
this is not possible use the external antenna option with the U.FL to reverse polarity SMA connector.
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.
9.
Headers. The P/N for 8-pin header 2mm Male and female headers from Digikey:
Male header:
P/N: 3M9327-ND
Female header: P/N: 3M9403-ND
Two of each are required to make a 16 pin header.
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~9~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~ 10 ~
RN-121,RN-123 & RN-125 Data Sheet
www.rovingnetworks.com
1/20/2012
Compliance Information


FCC Certified
Environmentally friendly RoHS compliant
Ordering Information
Part Number
RN-121
RN-121-TEMP
RN-122
RN-123
RN-125
Description
UART and SPI interfaces, pin compatible with RN-111B
With onboard temperature and humidity sensors
With two UARTS, one high-speed, pin compatible with RN-111B
With RS-232 interface
With RS-485 interface
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.
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.
All other trademarks are property of their respective owners.
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • [email protected]
~ 11 ~