RN-XV Roving Networks Inc, RN-XV Datasheet - Page 53

no-image

RN-XV

Manufacturer Part Number
RN-XV
Description
MODULE 802.11B/G 2.4GHZ
Manufacturer
Roving Networks Inc
Series
-r
Datasheets

Specifications of RN-XV

Frequency
2.4GHz
Data Rate - Maximum
54Mbps
Modulation Or Protocol
802.11b/g
Applications
General Purpose
Power - Output
12dBm
Sensitivity
-83dBm
Voltage - Supply
3 V ~ 3.7 V
Current - Receiving
40mA
Current - Transmitting
180mA
Data Interface
PCB, Through Hole
Memory Size
-
Antenna Connector
On-Board, Wire Antenna
Operating Temperature
-40°C ~ 85°C
Package / Case
Module
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
740-1044
RN-XV-W
RN-XVEE
XVEE
Often, it is desired on power up (or wakeup) to automatically connect out to a remote server, send data, and
then disconnect. This can be configured to happen automatically.
In the following example assume the network SSID and security have been set correctly and autojoin is set
to 1. This will also work in adhoc mode(autojoin 4), however there will be delay in connecting to the adhoc
network from the remote computer so set the sleep timer large enough to allow the network to get set up and
the autoconn establish a TCP connection.
When the module wakes up or is powered on the autoconn timer will cause the module to attempt a
connection to the stored remote IP address and port. While this connection is open the sleep timer will not
decrement. While data is flowing the idle timer will not decrement. Once data stops for 5 seconds the
connection will be closed. The sleep timer will the kick in and put the module in deep sleep. Finally the
wake timer will start the whole cycle again one minute later.
set ip host X.X.X.X ( set up the IP address of the remote machine )
set ip remote_port num
set sys autoconn 1
set com idle 5
set sys sleep 2
set sys wake 60
UART data TRIGGER mode. (version 2.19) This mode will automatically make a TCP/HTTP
connection upon incoming UART data.
set uart mode 2
PIO5 can be used to control the TCP connection. Once configured with the set system IO command the
module will attempt to make a connection to the stored IP and PORT address when set high and will
disconnect when set low.
set sys io 0x20
You can monitor the connection status by reading PIO6. High indicates an open connection, low indicates
no connection. Use the command set system IO to enable PIO6.
set sys io 0x40
12.3. Setting up Automatic Connections
12.4. Controlling Connections using PIO5 and PIO6
www.rovingnetworks.com
809 University Avenue
(sleep 2 seconds after connection is closed )
(wakeup after 1 minute of sleeping )
(disconnect after 5 seconds with no data activity )
(configures PIO5 to connect/disconnect )
(configures PIO6 to represent the connection status )
(set up the IP port of the remote machine )
(automatically connect out after READY )
Los Gatos, CA 95032
~ 53 ~
Tel (408) 395-6539
• info@RovingNetworks.com
WiFly-RN-UM
WiFly GSX/EZX
5/4/2011

Related parts for RN-XV