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

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
Web servers expect ASCII data, so if the User data is binary, WiFly can convert binary data to ASCII
format before sending it to the web server.
Example: using the same settings as above but this time use the
set ip proto 18
set dns name www.webserver.com
set ip host 0
set ip remote 80
set com remote GET$/userprog.php?DATA=
set option format 1
If incoming UART data = 6 bytes of binary data with hex values 0x01 0xAB 0x03 0xFF 0x05 0x06
WiFly will send this string to the webserver:
GET /userprog.php?DATA=01AB03FF0506 \n\n
WiFly module can send the value of the GPIO and sensor pins:
The data will come as 18 bytes of ASCII HEX: <2 bytes GPIO><channel 0 thru 7 sensor data>
set ip proto 18
set dns name www.webserver.com
set ip host 0
set ip remote 80
set com remote GET$/userprog.php?DATA=
set q sensor 0xff
set sys auto 30
set option format 7
The Resulting string sent to the server will be
GET /userprog.php?DATA=0F3000001111222233334444555566667777\n\n
13.4.
13.5.
www.rovingnetworks.com
809 University Avenue
Posting binary data:
Auto posting sensor data:
// send the header plus the sampled binary data converted to ASCII format
// sets WiFly to sample all 8 sensor channels
// automatically make the connection every 30 seconds
Los Gatos, CA 95032
// standard webserver port
// standard webserver port
// so WiFly will use DNS
// so WiFly will use DNS
// turn on HTTP mode=0x10 + TCP mode = 0x2
//name of your webserver
//Converts user binafy data in ASCII hex format
// turn on HTTP mode=0x10 + TCP mode = 0x2
//name of your webserver
~ 58 ~
// sample server application
// sample server application
Tel (408) 395-6539
• info@RovingNetworks.com
WiFly-RN-UM
WiFly GSX/EZX
5/4/2011

Related parts for RN-XV