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.
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
FCC User Information
“NOTE: 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 equipment to an outlet on a circuit different in which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.”
Warning: Changes or modifications to this device not expressly approved by RFM Inc.
could void the user’s authority to operate the equipment.
Industry Canada
This Class B digital apparatus meets all requirements of the Canadian Interference Causing Equipment
Regulations. 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.
Cet appareillage numérique de la classe B répond à toutes les exigences de l'interférence canadienne
causant des règlements d'équipement. L'opération est sujette aux deux conditions suivantes: (1) ce
dispositif peut ne pas causer l'interférence nocive, et (2) ce dispositif doit accepter n'importe quelle
interférence reçue, y compris l'interférence qui peut causer l'opération peu désirée.
“To reduce potential radio interference to other users, the antenna type and its gain should be
so chosen that the equivalent isotropically radiated power (e.i.r.p.) is not more than that
permitted for successful communication.”
The WSN802G module is approved for mobile operation provided the following conditions are
met.
The antenna(s) used for this transmitter must be installed to provide a separation distance of at
least 20 cm from all persons and must not be co-located or operating in conjunction with any
other antenna or transmitter.
This device has been designed to operate with the antennas listed below, and having a maximum
gain of 12 dBi. Antennas types not included in this list or having a gain greater than 12 dBi are
strictly prohibited for use with this device. The required antenna impedance is 50 ohms.
Mobile Mart OMNI249 9 dBi Omni Antenna
RFM 12 dBi Patch Antenna
Additional equivalent antennas may be substitute if they are the same type and have equal or less
gain without a new equipment authorization application. All antennas used with this device must
be approved by RFM/Cirronet and must employ a unique antenna coupler
OEM Installation and Compliance Labeling
The WSN802G module is labeled with its own FCC and IC ID number, and, if the ID numbers are
not visible when the module is installed inside another device, then the outside of the device into
which the module is installed must also display a label referring to the enclosed transmitter
module.
This exterior label can use wording such as the following:
“Contains Transmitter Module IC: 4492A-WSN802G” or
“Contains IC: 4492A-WSN802G”
Any similar wording that expresses the same meaning may be used. The Grantee may either
provide such a label, an example of which must be included in the application for equipment
authorization, or, must provide adequate instructions along with the module which explain this
requirement. In the latter case, a copy of these instructions must be included in the application for
equipment authorization.
See Section 3.10 of this manual for regulatory notices and labeling requirements. Changes or modifications to a WSN802G not expressly approved by RFM may void the user’s authority to operate the
module.
The WSN802G transceiver module is a low cost, robust solution for 802.11 b/g sensor networks. The
WSN802G is unique in that it is able to sleep while still remaining a member of an 802.11 b/g network.
The WSN802G's low active current and very low sleep current makes long life battery operation practical.
The W SN802G module includes analog, digital and serial I/O, providing the flexibility and versatility
needed to serve a wide range of sensor network applications. The WSN802G module is easy to integrate
and is compatible with standard 802.11 b/g routers.
802.11b/g Network with WSN802G Sensor Nodes
WSN802G
Se nso r
Node 1
Ap pli catio n
Serv er (PC)
802. 11b/g
Rou ter
802. 11b/g
Pri nter
Figure 1.0.1
An example 802.11 b/g network with WSN802G sensor nodes is shown in Figure 1.0.1. A sensor network
application running on a server or PC communicates with one or more WSN802G sensor nodes through
a commercial 802.11b/g router. WSN802G sensor nodes can be used with 802.11b/g routers that are
also serving other applications.
ADC0
ADC1
PWM1
DIN0
DIN1
DOUT0
WAKE _ IN
WSN802G
WSN802G
802. 11b/g
WSN802G
Se nso r
Node 2
WAKE_OUT
DIN0
DIN1
DOUT0
Lap top
Microcontroller
and
Sensor
Analog
and/ or
Digi tal
Analog
and/or
Digital
Outputs
A WSN802G module is integrated with other components to create a complete sensor node. These components include a host circuit board, a power supply (battery), sensor I/O electronics and/or a host microcontroller, an antenna and a housing. Two common configurations are show in Figure 1.0.2. Serial data
communication between a WSN802G and its host microcontroller requires no protocol formatting. The
WSN802G formats data received from its host into UDP packets for RF transmission, and delivers the
payload data from received UDP packets to its host. The sensor network application on the server or PC
uses a simple protocol to send and receive data from WSN802G sensor nodes, as detailed in Section 4.
WSN802G modules provide a unique set of features for wireless sensor network applications:
• Compatibility with commercial and industrial 802.1 1b/g routers
• Low power consumption for long life battery operation including sleep mode
• Full -40 to +85 ºC industrial temperature range operation
• Analog and digital I/O plus data and diagnostic UART ports
• Separate data and diagnostic ports
• System/application set up using just two Management Information Blocks (MIBs)
• Full 14 channel 802.11 b/g coverage for world wide operation
• FCC, Canadian IC and European ETSI certifications
• Choice of plug-in or solder reflow configurations
• Automatic or manual I/O data reporting
1.2 Applications
WSN802G sensor networks are well suited to applications where IEEE 802.1 1b/g router compatibility,
industrial temperature range operation and long battery life are important. Many applications match these
criteria, including:
WSN802G operation is designed to support long battery life by allowing the module to stay in sleep mode
to the maximum extent possible. Compared to 802.11 b/g cards used in notebook and handheld computers, the WSN802G’s active current is also very low.
2.1 Active and Sleep Modes
Once the SNMP Server IP address has been set, the default state of the WSN802G is sleep mode. The
WSN802G has a dedicated input to switch it from sleep to active mode, WAKE_IN (Pin 26). There are five
events that will wake the WSN802G from sleep mode:
•
Applying a logic high signal on the WAKE_IN pin
•
Expiration of the AutoReport timer
•
Expiration of Linkup trap timer
•
Expiration of the Config trap timer
•
Module’s SNMP Server IP address has not been set (this will not wake it, it prevents it from
sleeping)
The WAKE_IN and AutoReport can be enabled/disabled. The Linkup timer sends a keep alive packet to
the router every 60 seconds by default. The Config timer cannot be disabled and will generate a Config
trap every 10 seconds by default.
When the module wakes to an active state due to either the WAKE_IN pin or the AutoReport timer, it re-
mains awake for a time period controlled by the Wake Timeout timer. The module returns to sleep mode
when the Wake Timeout timer expires, subject to the conditions listed below. The Wake Timeout timer is
held in reset and the module remains in active mode when any of the following events occur:
•
A logic high signal is held on the WAKE_IN pin
•
A serial byte is received
•
An RF packet is sent or received
•
Module’s SNMP Server IP address has not been set
The Wake Timeout feature is used to support scenarios such as a server application parsing the I/O report
and sending back a serial string or I/O output change command, or a host processor sending a serial
string and waiting for a response.
As discussed in Section 5, the SNMP Server IP address can be set in a short period of time, allowing the
module to switch to sleep mode for battery conservation. The SNMP server IP address only needs to be
set one time.
A WSN802G module that has an SNMP Server IP Address but is not linked to an 802.11 b/g router will
cycle between sleep and active mode under the control of the scanning algorithm, even if none of the
wake events discussed above are present.
Whenever the module is in active mode, a logic high is asserted on WAKE_OUT (Pin 27). WAKE_OUT
can be used to signal an external processor. When the WSN802G is in sleep mode, WAKE_OUT is set
to logic low.
The WSN802G sends an I/O report when one of the following events occur:
•
A logic high signal is applied to the WAKE_IN pin
•
The AutoReport timer fires (module in either active or sleep mode)
2.3 Data Serial Port
The data serial port of the WSN802G supports baud rates from 1.2 to 921.6 kb/s. The following serial port
configurations are supported:
•
5, 6, 7 and 8-bit character lengths
•
1 o r 2 stop bits
•
Even, odd, mark, space or no parity
The default serial port configuration is 9.6 kb/s, 8, N,1. See Section 7.2 for serial port configuration details. Serial port operation is full-duplex. Data is sent and received on the serial port transparently. No protocol formatting is required. The WSN802G includes an acknowledgement and retry mechanism to minimize data loss on RF transmissions. However, the UDP/IP protocol being carried by the RF transmissions
does not provide guaranteed end-to-end delivery. The user must make provisions for detecting and resending data lost on an end-to-end transmission. The WSN802G is a three-wire interface; hardware flow
control will be provided in a future firmware release.
2.4 Analog I/O
The WSN802G includes two 10-bit ADC inputs. Input ADC0 is on Pin 18 and input ADC1 is on Pin 19. Pin
25 provides a full-scale reference voltage to support ratiometric ADC measurements. ADC measurements
are triggered and added to the automatic I/O report when a logic high signal is first applied to the WAKE_
IN pin or the AutoReport timer fires, as discussed in Section 2.2. An ADC reading is also made on the
internal buss voltage of the WSN802G and included in the automatic I/O report. These readings can also
be retrieved anytime the WSN802G is in active mode using the IO_REPORT application protocol command as discussed in Section 4.1.
The WSN802G also includes an active 16-bit pulse width modulated output, PWM0 (Pin 9). The PWM
output is low-pass filtered to provide an analog output voltage with ripple suppressed to 7 bits. External
low-pass filtering can be added to further suppress ripple. The full-scale PWM output is referenced to the
regulated supply voltage (Pin 24). The PWM output is set using the IO_ WRITE_PWM application protocol command, as discussed in Section 4.3.
2.5 Digital I/O
The WSN802G includes two digital inputs, DIN0 (Pin 4) and DIN1(Pin 11). The states of the DIN pins are
captured as part of the automatic I/O report when a logic high signal is applied to the WAKE_IN pin or the
AutoReport timer fires, as discussed in Section 2.2. These readings can also be retrieved anytime the
WSN802G is in active mode using the IO_REPORT application protocol command as discussed in Section 4.1. The WSN802G also includes two digital outputs, DOUT0 (Pin 10) and DOUT1 (Pin 12). The
states of the DOUT pins are set using the IO_WRITE_GPIO application protocol command as discussed
in Section 4.2.
The WSN802G operates in the international 2.4 GHz ISM band over the frequency range of 24012474 MHz, with a nominal RF output power of 10 mW. The WSN802G supports two standard 802.11g RF
data rates, 1 and 2 Mb/s. The WSN802G transceiver module provides a variety of hardware interfaces.
There are two serial interfaces, one for data and a second for diagnostics. The data port supports standard serial baud rates from 1.2 to 921.6 kb/s, and the diagnostic port operates at a fixed baud rate of
9.6 kb/s. Hardware flow control is not currently implemented on either serial port. The WSN802G includes
two 10-bit ADC inputs, a 16-bit PWM (DAC) output, two digital inputs and two digital outputs to support
sensor network applications.
The WSN802G is available in two mounting configurations. The WSN802GC is designed for solder reflow
mounting, and the WSN802GP is designed for plug-in connector mounting.
A U.FL miniature coaxial connector is provided on both WSN802G configurations for connection to the
RFIO port. A short U.FL coaxial cable can be used to connect the RFIO port directly to an antenna. In this
case the antenna should be mounted firmly to avoid stressing the U.FL coaxial cable due to antenna
mounting flexure. Alternately, a U.FL coaxial jumper cable can be used to connect the WSN802G module
to a U.FL connector on the host circuit board. The connection between the host circuit board U.FL connector and the antenna or antenna connector on the host circuit board should be implemented as a
50 ohm stripline. Referring to Figure 3.4.1, the width of this stripline depends on the thickness of the circuit board between the stripline and the groundplane. For FR-4 type circuit board materials (dielectric
constant of 4.7), the width of the stripline is equal to 1.75 times the thickness of the circuit board. Note
that other circuit board traces should be spaced away from the stripline to prevent signal coupling, as
shown in Table 3.4.1. The stripline trace should be kept short to minimize its insertion loss.
WSN802G radio modules can operated from an unregulated DC input (Pin 14) in the range of 3.0 V
(trough) to 3.63 V (peak) over the temperature range of -40 to 85° C.
Applying AC, reverse DC, or a DC
voltage outside the range given above can cause damage and/or create a fire and safety hazard. Further,
care must be taken so logic inputs applied to the radio stay within the voltage range of 0 to 3.3 V. Signals
applied to the analog inputs must be in the range of 0 to ADC_REF (Pin 25). Applying a voltage to a logic
or analog input outside of its operating range can damage the WSN802G module.
3.6 ESD and Transient Protection
WSN802G circuit boards are electrostatic discharge (ESD) sensitive. ESD precautions must be observed
when handling and installing these components. Installations must be protected from electrical transients
on the power supply and I/O lines. This is especially important in outdoor installations, and/or where connections are made to sensors with long leads.
and/or create a fire and safety hazard.
Inadequate transient protection can result in damage
3.7 Interfacing to 5 V Logic System
All logic signals including the serial ports on the WSN802G are 3.3 V signals. To interface to 5 V signals,
the resistor divider network shown in Figure 3.7.1 below must be placed between the 5 V signal outputs
and the WSN802G signal inputs. The output voltage swing of the WSN802G 3.3 V signals is sufficient to
drive 5 V logic inputs. Figure 3.7.1 refers to the DNT500
5V
Logic
2.2K
WSN802G
4.3K
Figure 3.7.1
3.8 Power-On Reset Requirements
When applying power to the WSN802G, the /RESET pin should be held low until the power supply voltage reaches 3.3 volts for 100 milliseconds.
3.9 Mounting and Enclosures
WSN802GC radio modules are mounted by reflow soldering them to a host circuit board. WSN802GP
modules are mounted by plugging their pins into a set of mating connectors on the host circuit board.
Refer to Section 10.3 and/or the WSN802G Data Sheet for mounting details.
WSN802G enclosures must be made of plastics or other materials with low RF attenuation to avoid compromising antenna performance where antennas are internal to the enclosure. Metal enclosures are not
suitable for use with internal antennas as they will block antenna radiation and reception. Outdoor enclosures must be water tight, such as a NEMA 4X enclosure.
WSN802G FCC Certification - The WSN802G hardware has been certified for operation under FCC Part
15 Rules, Section 15.247.
tion distance of at least 20 cm from all persons and must not be co-located or operating in conjunction
with any other antenna or transmitter.
The antenna(s) used for this transmitter must be installed to provide a separa-
WSN802G FCC Notices and Labels -
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.
A clearly visible label is required on the outside of the user’s (OEM) enclosure stating ”Contains FCC ID:
HSW-WSN802G.”
WARNING: This device operates under Part 15 of the FCC rules. Any modification to this device, not
expressly authorized by RFM, Inc., may void the user’s authority to operate this device. Canadian Department of Communications Industry Notice - IC: 4492A-WSN802G
This apparatus complies with Health Canada’s Safety Code 6 / IC RSS 210.
ICES-003
This digital apparatus does not exceed the Class B limits for radio noise emissions from digital apparatus
as set out in the radio interference regulations of Industry Canada.
Le present appareil numerique n’emet pas de bruits radioelectriques depassant les limites applicables
aux appareils numeriques de Classe B prescrites dans le reglement sur le brouillage radioelectrique
edicte par Industrie Canada.
ETSI EN 300 328
The WSN802G module has passed ETSI EN 300 328 testing conducted by an independent test
laboratory.
In most applications, the auto-reporting functions of the WSN802G will be used to send data from nodes
to the application removing the need for the application to poll nodes. However, applications can read and
write data to and from WSN802G nodes if desired. WSN802G modules only accept commands over the
air; commands cannot be entered through either the data or diagnostic serial ports. Obviously, WSN802G
modules must be in active mode (awake) to receive commands. The WSN802G supports this type of operation through use of the auto-reporting function and the AutoReport and Wake Timeout timers. For ex-
ample, a WSN802G module has been configured to wake up once every minute. When the module
wakes up, it will send its I/O report. While the data may not be of interest, it will serve as a notification to
the application that the module is awake. Setting the Wake Timeout timer to 2 seconds will keep the mod-
ule awake giving the application 2 seconds to send any application commands to the module. The module will remain awake past the 2 seconds if commands are being received or processed. Once the application commands are completed the module will return to sleep immediately if the Wake Timeout time has
elapsed. Typically, this mode will be used when the application needs to write data to the WSN802G
module.
All commands and responses between a server and its WSN802G clients are formatted as UDP/IP packets. The IPv4 UDP/IP packet format is shown in Figure 4.0.1 below. WSN802G commands and responses are carried in the UDP datagram payload area. In the text below, commands and responses will
be referred to as datagrams with the understanding they are the payload of a UDP datagram. Automatically generated I/O reports from the WSN802G module due to timeouts or event interrupts take the form
of the I/O_Report application command.
Byte 0 Byte 1 Byte 2 Byte 3
IP
Version
Time to Live Protocol
Header
Length
Source Port
UDP Length
Type of
Service
ID Flags Fragment Offset
Source IP Address
Destination IP Address
Payload (Application Command)
Header Checksum
Destination Port
Checksum
Total
Length
Figure 4.0.1
WSN802G modules only accept application commands from and send application command data/replies
to the IP address of the server running their sensor application. As shown in Figure 4.0.2 below,
WSN802G application protocol datagrams use a standard header beginning with a protocol identifier to
discriminate WSN802G protocol messages from other message types. Datagrams are in 32-bit, bigendian format. The standard header fields are:
Protocol Identifier:
Opcode:
Code indicating the type of command or response
Transaction ID:
Unique identifier for all WSN messages, 0x52464D49
This is an incrementing transaction reference counter. Each end of the
link must keep its own counter for transactions that it originates. The
most significant bit of the transaction ID will be set for all transactions
that the server originates.
The WSN802G application protocol commands are listed in Table 4.0.1 below. The port number that the
module sends and receives application messages on is defined by the SensorS erverPortNum parameter,
as discussed in Section 7.2. A WSN802G module will accept messages specifically addressed to it, or
that are broadcast (addressed to all modules). If a command is received through a broadcast, the WSN
will reply with a broadcast.
Opcode Direction Description
0x0000 Server-to-Module IO_REPORT_REQUEST
0x0001 Module-to-Server IO_REPORT
0x0002 Server-to-Module IO_WRITE_GPIO
0x0003 Server-to-Module IO_WRITE_PWM
0x0004 Module-to-Server IO_WRITE_REPLY
0x0005 Bidirectional SERIAL_DATA
Table 4.0.1
Transaction ID
4.1 I/O Report Request
The IO_REPORT_REQUEST datagram is used to request current I/O values, as shown in Figure 4.1.1.
Byte 0
Opcode = 0x0000
Byte 1
WSN802G Protocol Identifier = 0x52464D49
Byte 2
Transaction ID = varies
Byte 3
Figure 4.1.1
The module responds to an IO_REPORT_REQUEST with an IO_REPORT
4.2 I/O Report
The IO_REPORT datagram is used to report current I/O values, as shown in Figure 4.2.1.