RAE Systems RMWIFI RAE WIFI Module User Manual Rev 1

RAE Systems, Inc RAE WIFI Module Rev 1

User Manual_Rev 1

Download: RAE Systems RMWIFI RAE WIFI Module User Manual  Rev 1
Mirror Download [FCC.gov]RAE Systems RMWIFI RAE WIFI Module User Manual  Rev 1
Document ID2572396
Application IDOehXaOA2B5uLner4qHoW8w==
Document DescriptionUser Manual_Rev 1
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize98.97kB (1237066 bits)
Date Submitted2015-04-01 00:00:00
Date Available2015-04-03 00:00:00
Creation Date2015-03-24 11:21:09
Producing SoftwareMicrosoft® Office Word 2007
Document Lastmod2015-03-24 11:21:09
Document TitleUser Manual_Rev 1
Document CreatorMicrosoft® Office Word 2007
Document Author: yuanli

RAE Systems by Honeywell
User Guide for RMWIFI
Document Information
Info
Content
Author(s)
Wu Wei
Revision
1.0
Document Status
Draft
Date
Oct. 20 2014
Distribution
Internal Use Only
Approvals
Name
Date
Signature
James Liu
Zhao Pengjun
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 1 of 29
RAE Systems by Honeywell
Release Histroy
Rev.
Date
Author
Descripition
1.0
Oct. 20 2014
Wu Wei
Original
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 2 of 29
RAE Systems by Honeywell
Contents
1.
2.
3.
4.
5.
6.
7.
8.
Section1: ............................................................................................................................................... 4
1.1
Summary: ................................................................................................................................ 4
1.2
Key Features:.......................................................................................................................... 4
Section2: ............................................................................................................................................... 4
2.1
Overview: ................................................................................................................................ 4
2.2
Pin Definition: ........................................................................................................................ 5
Section3: ............................................................................................................................................... 6
3.1
Voltage:.................................................................................................................................... 6
3.2
Current Consumption: .......................................................................................................... 6
3.3
I/O DC Specification: ............................................................................................................. 7
3.4
Mechanical Drawing: ............................................................................................................ 7
How to program RMWIFI: ..................................................................................................................... 8
4.1
Hardware interface setup:................................................................................................... 8
4.2
Program software interface introduction: ....................................................................... 9
4.3
Running application firmware ........................................................................................... 9
Initialization: ....................................................................................................................................... 10
5.1
Get module type:.................................................................................................................. 10
5.2
Get MAC address: ................................................................................................................. 11
Scan and associate with AP: ............................................................................................................... 12
6.1
Scan network: ...................................................................................................................... 12
6.2
Set password: ....................................................................................................................... 15
6.3
Associate with AP: ............................................................................................................... 16
How to communicate using TCP: ........................................................................................................ 17
7.1
Connect to TCP server: ....................................................................................................... 17
7.2
Receive data packet from server: .................................................................................... 20
7.3
Send data packet to server: ............................................................................................... 21
How to communication using UDP: .................................................................................................... 23
8.1
Receive data packet from UDP server:............................................................................ 23
8.2
Send data packet to remote using UDP: .......................................................................... 25
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 3 of 29
RAE Systems by Honeywell
1. Section1:
1.1
Summary:
RMWIFI-M3 based on RMWIFI-M5 module provides a quick, easy and cost
effective way to add Wi-Fi capabilities for RAE Systems products, such as
AreaRAE2, MutlRAE2, and RAE-Hub etc.
The module combined 802.11 MAC, security, PHY functions, FLASH SRAM, and
external antenna connectors, provides a Wi-Fi radio for end customers. It also
integrates TCP/IP stack and other related network stacks such as DHCP client,
DHCP server and web server etc. It can be used to connect to Ethernet
conveniently and transfer data to network server like ProRAE Guardian directly.
1.2
Key Features:
• 46 * 26 mm (Length * Width) with M3 40-PINs interface
• RCS protocol API for application interface
• DSSS modulation for 1and 2Mbps, CCK modulation for 5.5 and 11Mbps
• Compatible with IEEE 802.11 b
• UART interface, SPI interface, I2C interface, one ADC channel, several GPIOs
• Low power consumption
• RoHS compliant, certified lead- and halogen-free
2. Section2:
2.1
Overview:
RMWIFI-M3 operates in the unlicensed 2.4 radio bands IEEE 802.11b, which
supports Direct Sequence Spread Spectrum (DSSS) 1 Mb/s and 2 Mb/s data
rates, and Complementary Code Keyed (CCK) 5.5 Mb/s and 11 Mb/s data rates.
RMWIFI-M3 is based on RMWIFI-M5 module, which contains GS1011 WIFI
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 4 of 29
RAE Systems by Honeywell
system-on-chip. The GS1011 have fully integrated RF Transceiver, low power
PA and application processor. Both TX and RX chain in the module incorporate
internal power control loops.
RMWIFI-M3 carries onboard single supply monitor for 1.8V voltage supply with
optional module controlled external regulator enable control pin (DC_DC_CNTL).
2.2
Pin Definition:
Connector
Pin
Pin Name
Description
I/O
GND
RESET
UART_TX
UART_RX
I2C_DATA
11
I2C_CLK
Ground
Active-low system reset
UART transmit output
UART transmit input
PU data signal for an external
I2C device
PU clk signal for an external
I2C device
13, 15, 17
19
21, 23, 25, 27, 29
31
NA
WakeUp
NA
SPI_MISO
I/O
I/O
I/O
WakeUp the Module
Slave SPI master in slave out
I/O
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 5 of 29
RAE Systems by Honeywell
33
SPI_MOSI
35
37
39
2, 4
6, 8
10
SPI_CLK
SPI_CS
VCC
GND
NA
UART_RTS
12
UART_CTS
14
16
18
20, 22, 24
26
28
30, 32, 34, 36, 38
40
LED1
LED2
WIFIPRO(1)
NA
VCC
ADC
NA
VCC
line
Slave SPI master out slave in
line
Slave SPI clock line
Slave SPI chip select line
Digital voltage supply
Ground
I/O
RTS input (Request To Send)
for UART hardware flow
control
CTS output (Clear To Send)
for UART hardware flow
control
LED indicate control PIN
LED indicate control PIN
Enable/Disable into boot load
Digital voltage supply
ADC input
Digital voltage supply
Note (1): If WIFIPRO is high during boot, the WLAN will wait for Flash download via SPI or UART.
3. Section3:
3.1
Voltage:
Power supply for the RMWIFI-M3 module will be provided by the host power pins.
Symbol
Min
Typ
Max
Unit
VCC
3.0
3.3
3.6
3.2
Current Consumption:
Condition: 25deg.C. The default voltage is 3.3V.
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 6 of 29
RAE Systems by Honeywell
Item
Condition
Min
Nom
Receive
RX
108
mA
Transmit
Tx power setting: P=0
Single carrier
145
mA
200
uA
Sleep
3.3
Unit
I/O DC Specification:
Parameter
Symbol
Input Low Voltage
VIL
Input High Voltage
VIH
Output Low Voltage
VOL
Output High Voltage
VOH
3.4
Max
Min
Max
0.25*VCC
0.8*VCC
0.4
0.8*VCC
Unit
Mechanical Drawing:
Unit: mm
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 7 of 29
RAE Systems by Honeywell
4. How to program RMWIFI:
4.1
Hardware interface setup:
Configure the back side of the EVB as following picture:
Configure the front side of EVB as following picture:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 8 of 29
RAE Systems by Honeywell
4.2
Program software interface introduction:
Programming RMWIFI modem needs three *.bin files which
including WLAN bin, APP bin1 and APP bin2, please see
following picture for detail:
4.3
Running application firmware
After upgrading RMWIFI modem firmware successfully,
configure the back side of the EVB as following picture:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 9 of 29
RAE Systems by Honeywell
Then power-off and power on the EVB, RMWIFI modem application
firmware will run and output information as following picture via
EVB’s RS232 interface:
5. Initialization:
5.1
Get module type:
Host command:
7B 41 00 06 74 2E 00 FF FF 7D
RMWIFI response:
7B 41 00 07 75 2E 00 00 3F F3 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 10 of 29
RAE Systems by Honeywell
Note:
In order to make it easy when using COMM tools to communicate
with RMWIFI, the CRC field of host command is replaced by FF FF.
5.2
Get MAC address:
Host command:
7B 41 00 06 74 08 00 FF FF 7D
RMWIFI response:
7B 41 00 0C 75 08 00 00 12 9F 00 07 11 60 7F 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 11 of 29
RAE Systems by Honeywell
6. Scan and associate with AP:
6.1
Scan network:
1. Send scan command
Host command:
7B 41 00 0A 74 0F 00 FF FF 00 00 FF FF 7D
RMWIFI response:
7B 41 00 0A 75 0F 00 00 00 04 4C 58 3F 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 12 of 29
RAE Systems by Honeywell
2. Get scan status and AP number found:
Host command:
7B 41 00 06 74 10 00 FF FF 7D
RMWIFI response:
7B 41 00 08 75 10 00 00 01 29 0D 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 13 of 29
RAE Systems by Honeywell
3. Get scanned AP information according to AP index:
Host command:
7B 41 00 07 74 11 00 00 FF FF 7D
RMWIFI response:
7B 41 00 44 75 11 00 E0 06 E6 4A CF 11 A6 0B 07 68 61 70 70 79 6C
61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 57 50 41 32 2D 50 45 52 53 4F 4E 41 4C 00 00 00 00
00 00 00 00 B8 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 14 of 29
RAE Systems by Honeywell
6.2
Set password:
Example:
If one AP uses WPA/WPA2, and the password is rec-wireless1
Host command:
7B 41 00 15 74 12 00 03 00 72 65 63 2D 77 69 72 65 6C 65 73 73 31
FF FF 7D
RMWIFI response:
7B 41 00 06 75 12 00 73 96 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 15 of 29
RAE Systems by Honeywell
6.3
Associate with AP:
Example:
The AP SSID that the module wants to associate with is
gainspandemo.
Host command:
7B 41 00 12 74 13 00 67 61 69 6E 73 70 61 6E 64 65 6D 6F FF FF
7D
RMWIFI response:
7B 41 00 07 75 13 00 02 17 F0 7D
7B 41 00 07 75 13 00 00 18 70 7D
The Wi-Fi module will response two commands, first command
responses immediately after it receives the associate command
and indicates it’s doing. The second response command will delay
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 16 of 29
RAE Systems by Honeywell
for seconds and indicates whether it associates with AP
successfully. Check the red byte of the response command, 0x00
indicates that it has associated with AP successfully.
Example communication sequence:
7. How to communicate using TCP:
7.1
Connect to TCP server:
1. Use the socket test tool, create a TCP server as following picture,
the TCP listen port is 9723:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 17 of 29
RAE Systems by Honeywell
2. Connect to the TCP server:
Host command:
7B 41 00 0c 74 1A 00 c0 a8 01 86 25 fb ff ff 7d
RMWIFI response:
7B 41 00 07 75 1A 00 00 AC 70 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 18 of 29
RAE Systems by Honeywell
The socket test tools will inform that one client has connected to it:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 19 of 29
RAE Systems by Honeywell
7.2
Receive data packet from server:
From the socket test tools side, send data packet to RMWIFI as
following picture:
The RMWIFI will receive the data packet from TCP server:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 20 of 29
RAE Systems by Honeywell
7.3
Send data packet to server:
Send the same data packet back to TCP server:
Host command:
7B 41 00 26 74 20 00 00 00 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21
21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 FF FF 7D
RMWIFI response:
7B 41 00 07 75 20 00 00 E4 73 7D
Example communication sequence:
The socket test tool side will receive the data packet as following
picture which is the same data packet as it sends out:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 21 of 29
RAE Systems by Honeywell
Note:
During doing the test, please make sure the host PC running the
socket test tools connects to the same AP as Wi-Fi module associate
with.
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 22 of 29
RAE Systems by Honeywell
8. How to communication using UDP:
Firstly, use socket tool to create UDP socket which listen on local
port 4023, remote communication node IP: 192.168.1.99, port:
6000, see following picture for detail:
8.1
Receive data packet from UDP server:
1. In order to receive data packet from remote using UDP protocol,
communication via UDP, RMWIFI will need to listen on local port:
6000.
Host command:
7B 41 00 08 74 1D 00 17 70 FF FF 7D
RMWIFI_M3 response:
7B 41 00 07 75 1D 00 00 C3 F0 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 23 of 29
RAE Systems by Honeywell
2. Send data packet to RMWIFI as following:
RMWIFI will receive data packet:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 24 of 29
RAE Systems by Honeywell
7B 41 00 2B 75 21 00 00 C0 A8 01 86 0F B7 48 65 6C 6C 6F 2C 20 57
6F 72 6C 64 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21
A1 37 7D
8.2
Send data packet to remote using UDP:
1. RMWIFI will need to create virtual connection to get a
connection ID.
Host command:
7B 41 00 0C 74 1C 00 C0 A8 01 86 0F B7 FF FF 7D
RMWIFI response:
7B 41 00 07 75 1C 00 00 D4 70 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 25 of 29
RAE Systems by Honeywell
2. Send data packet” Hello, World!!!!!!!!!!!!!!!!!!” to remote:
Host command:
7B 41 00 2C 74 20 00 00 01 C0 A8 01 86 0F B7 48 65 6C 6C 6F 2C 20
57 6F 72 6C 64 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21
21 ff ff 7D
RMWIFI response:
7B 41 00 07 75 20 00 00 E4 73 7D
Example communication sequence:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 26 of 29
RAE Systems by Honeywell
Socket test tool will receive the data packet:
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 27 of 29
RAE Systems by Honeywell
9. Reference:
1. 904-E800-xxx RAE Wi-Fi communication Protocol.doc
2. Rev2 EVB board -Datasheet.docx
10. Caution:
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two
conditions: (1) this device may not cause harmful interference, and (2) this device must accept
any interference received, including interference that may cause undesired operation.
Changes or modifications not expressly approved by the party responsible for compliance could
void the user's authority to operate the equipment.
This equipment has been tested and found to comply with the limits for a Class B digital device,
pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference in a residential installation. This equipment generates uses and can
radiate radio frequency energy and, if not installed and used in accordance with the instructions,
may cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment does cause harmful
interference to radio or television reception, which can be determined by turning the equipment
off and on, the user is encouraged to try to correct the interference by one or more of the
following measures:
-Reorient or relocate the receiving antenna.
-Increase the separation between the equipment and receiver.
-Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
-Consult the dealer or an experienced radio/TV technician for help.
MPE Reminding
To satisfy FCC RF exposure requirements, a separation distance of 20 cm or more should be
maintained between the antenna of this device and persons during device operation. To ensure
compliance, operations at closer than this distance is not recommended.
Region Selection
Limited by local law regulations, version for North America does not have region selection option.
Information for the OEM Integrators
This device is intended for OEM integrators only. Please see the full grant of equipment
document for restrictions.
Label Information to the End User by the OEM or Integrators
If the FCC ID of this module is not visible when it is installed inside another device, then the
outside of the device into which the module is into which the module is installed must be label
with "Contains FCC ID: SU3RMWIFI".
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 28 of 29
RAE Systems by Honeywell
For detachable antennas:
This device is tested together with a PCB and a Pole antenna. The client can use an antenna with
the same type of the two antennas, but must make sure that the maximum gain of PCB antenna
is 0dBi and the maximum gain of Pole antenna is 1.5dBi.
Copyright © 2015 Honeywell Analytics, All rights reserved.
Honeywell Confidential and Proprietary
Revision –1.0
Page 29 of 29

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 29
Language                        : en-US
Tagged PDF                      : Yes
Author                          : yuanli
Creator                         : Microsoft® Office Word 2007
Create Date                     : 2015:03:24 11:21:09+08:00
Modify Date                     : 2015:03:24 11:21:09+08:00
Producer                        : Microsoft® Office Word 2007
EXIF Metadata provided by EXIF.tools
FCC ID Filing: SU3RMWIFI

Navigation menu