Murata WSN802G Скачать руководство пользователя страница 1

 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Revision History 

Revision 

Date 

Author 

Change Description 

06/18/2012 

F. Perkins 

Initial issue 

01/27/2015 

R. Willett 

Reformatted to comply with new Murata V.I. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
 
 
 
 
 
 

RFM products are now 

Murata products. 

WSN802G 

802.11g 

Wireless Sensor 

Network Module 

Integration Guide 

 

©2009-2015 by Murata Electronics N.A., Inc.

 

 

WSN802G Rev. 2.0  01-27-15 

 

www.murata.com

 

 

Содержание WSN802G

Страница 1: ...F Perkins Initial issue 2 01 27 2015 R Willett Reformatted to comply with new Murata V I RFM products are now Murata products WSN802G 802 11g Wireless Sensor Network Module Integration Guide 2009 2015...

Страница 2: ...tory notices and labeling requirements Changes or modifica tions to a WSN802G not expressly approved by RFM may void the user s authority to operate the module Important Export Information ECCN 5A002...

Страница 3: ...Requirements 15 3 9 Mounting and Enclosures 16 3 10 Labeling and Notices 17 4 0 Application Protocol 19 4 1 I O Read Request 19 4 2 I O Read I O Report 20 4 3 I O Write GPIO 20 4 4 I O Write PWM 20 4...

Страница 4: ...ations to Support Module Discovery 70 8 5 Developer Board Features 73 8 6 WSNConfig Program Operation 75 9 0 Troubleshooting 92 10 0 Appendices 93 10 1 Ordering Information 93 10 2 Technical Support 9...

Страница 5: ...a server or PC communicates with one or more WSN802G sensor nodes through a commercial 802 11b g n router WSN802G sensor nodes can be used with 802 11b g n routers that are also serving other applicat...

Страница 6: ...nnel 802 11b g coverage for world wide operation FCC Canadian IC and European ETSI certifications Four module configurations WSN802GC solder reflow mounting with RF connector for external antenna conn...

Страница 7: ...n 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 WakeTimeout timer The module returns to sleep mode whe...

Страница 8: ...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...

Страница 9: ...ge 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 Au toReport timer f...

Страница 10: ...uts 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 retriev...

Страница 11: ...e in either master or slave mode SPI slave mode supports data rates up to 2 Mbps and master mode supports data rates up to 11 Mbps WSN802G modules includes two 10 bit ADC inputs a 16 bit PWM DAC outpu...

Страница 12: ...ud Rates 1 2 2 4 4 8 9 6 default 19 2 28 8 38 4 57 6 76 8 115 2 230 4 460 8 921 6 kbps Diagnostic Serial Port Baud Rate 1 2 2 4 4 8 9 6 default 19 2 28 8 38 4 57 6 76 8 115 2 kbps Serial Peripheral In...

Страница 13: ...15 GND Power supply and signal ground Connect to the host circuit board ground 16 GND Power supply and signal ground Connect to the host circuit board ground 17 RESET I Active low module hardware rese...

Страница 14: ...d be imple mented as a 50 ohm stripline Referring to Figure 3 4 1 the width of this stripline depends on the thick ness of the circuit board between the stripline and the groundplane For FR 4 type cir...

Страница 15: ...gic 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...

Страница 16: ...W 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...

Страница 17: ...ds if commands are being received or processed Once the commands are completed the module will return to sleep immediately if the WakeTimeout time has elapsed The format of all of the WSN API commands...

Страница 18: ...o all modules If a command is received through a wireless broadcast the WSN802G module will reply with a broadcast The message format is the same for both the over the air UDP payload and the serial d...

Страница 19: ...tamp Timestamp of reading in 7 62939 s timer ticks since startup MAC Address As an IO_READ IO_REPORT can be sent unsolicited the MAC ad dress is provided to identify the sender which can be helpful in...

Страница 20: ...4 1 Byte 0 Byte 1 Byte 2 Byte 3 WSN802G Protocol Identifier 0x52464D49 Opcode 0x0003 Transaction ID varies PWM0 Reserved Figure 4 4 1 The field specific to this datagram is PWM0 PWM0 setting 16 bit u...

Страница 21: ...data string 0 256 bytes When a module receives a string on its serial port it transmits an IO_SERIAL_READ message to its server If the module receives an IO_SERIAL_WRITE message it will output the rec...

Страница 22: ...rial data string SPI Data Data string 0 256 bytes The WSN802G SPI port operates in master mode The auto reporting function triggers the WSN802G SPI port to clock out a stored command string SPI_Master...

Страница 23: ...G_READ command the CFG_READ_REPLY datagram is sent by the module to pro vide the contents of a configuration register Byte 0 Byte 1 Byte 2 Byte 3 WSN802G Protocol Identifier 0x52464D49 Opcode 0x0011 T...

Страница 24: ...ansaction ID varies Length Status Figure 4 13 1 The fields specific to this datagram are Length Length of the remainder of the packet in bytes Status Status code 0 successful 1 failed 4 14 Configurati...

Страница 25: ...the equivalent hexadecimal value SensorServerIP this parameter holds the IP address of the server for the module to send sensor data reports The IP address is formatted as a 32 bit value SensorServer...

Страница 26: ...ometric sensor measurements BattRSSI_Values this parameter holds the concatenation of the current module input voltage and the RSSI value of the last received 802 11 packet The lower two bytes of this...

Страница 27: ...I_MasterClock Divisor R W 4 0 232 1 0x64000000 3 11 SPI_MasterCmd String R W 4 ASCII String null string Table 4 14 3 SerialDivisor this parameter sets the main serial port baud rate equal to 460800 di...

Страница 28: ...ables diagnostic port operation 0x00000001 enables diagnostic port operation default SPI_Mode this parameter sets the SPI port mode 0x00000000 to disable SPI port default 0x00000002 to enable SPI mast...

Страница 29: ...000000 4 21 Ap3_AuthMode R W 4 1 8 0x03000000 automatic authentication 4 22 Ap3_EncryptionMode R W 4 0 165 0xA5000000 all 4 23 Ap3_PskPassphrase R W 32 ASCII String WSN PASSWORD 4 24 Ap3_PskKey R W 32...

Страница 30: ...connection to a WLAN only with no encryption 0x000000A5 allows connection to a WLAN with any of the above modes Note that encryption mode 0x000000A5 is derived from logically ORing the values of the f...

Страница 31: ...Any combination of ORed encryption modes are allowed Ap2_PskPassphrase this parameter holds the PSK passphrase for preferred access point 2 Ap2_PskKey this parameter holds the PSK key for preferred ac...

Страница 32: ...lds WEP key ID for preferred access point 3 The range of this pa rameter is 0 to 3 Ap2_WepKeyLength this parameter sets the WEP key length for preferred access point 3 The range of this parameter is 0...

Страница 33: ...rame ter is 0 to 3 AdHoc_WepKeyLength this parameter sets the WEP key length for Ad Hoc operation The range of this parameter is 0x00000005 to 0x0000000D 5 to 13 AdHoc_WepKeyValue this parameter holds...

Страница 34: ...setting the value of this parameter too high can lock up the module DisableStdBy writing a non zero value to this location will disable the module standby function This parameter is write only SystemT...

Страница 35: ...Class A B C 0x00000000 0 0 0 0 7 3 GatewayIpAddress R W 4 Class A B C 0x00000000 0 0 0 0 7 4 PerformDhcp R W 4 Class A B C 0x00000000 enabled 7 5 MacAddress R 4 OID 00 30 66 unique for each module 7 7...

Страница 36: ...adecimal number This parameter is read only CurntSecondaryDnsIpAddress this parameter hold the IP address of the current secondary DNS server The address is formatted as a 32 bit hexadecimal number Th...

Страница 37: ...string SnmpTrapSrcPort this parameter holds the port number for the SNMP trap source The parameter is formatted as a 32 bit hexadecimal number SnmpTrapDstPort this parameter holds the port number for...

Страница 38: ...ommand an un commissioned module stays in active mode until its Primary SNMP server address has been set 5 1 IP Hunt Query The IP_HUNT_QUERY datagram shown in Figure 5 1 1 is broadcast by a commission...

Страница 39: ...x0102 Hardware Version Firmware Version Figure 5 2 1 The fields specific to this datagram are MAC Address MAC address of the module IP Address IP address of the module Subnet Mask Subnet mask of the m...

Страница 40: ...ertises its presence and waits for requests from client devices to join The WSN802G module will automatically enter Ad Hoc mode if it is unable to join any of the three net works specified in the pref...

Страница 41: ...r it After sending the trap the module remains awake for a period of four seconds to allow the serv er to send it commands By default the module issues Config Traps over the wireless link every 20 sec...

Страница 42: ...to sleep mode The module acknowledges the message and returns to sleep Config Trap from Module 04 08 47 53 4E 5F 54 52 41 50 A4 3A 06 09 2B 06 01 04 01 81 DD 07 01 40 04 C0 A8 03 A6 02 01 06 02 01 02...

Страница 43: ...le standby function This parameter is write only gsnSystemTime this parameter holds the time interval since the module was last booted The parameter scaling is in microcontroller clock cycles of 0 029...

Страница 44: ...1 28295 1 1 OID End OID End Name R W Size bytes Range Default 3 1 0 gsnIpAddress R W 4 Class A B C 0x00000000 0 0 0 0 3 2 0 gsnSubnetAddress R W 4 Class A B C 0x00000000 0 0 0 0 3 3 0 gsnGatewayIpAddr...

Страница 45: ...gsnCurntSecondaryDnsIpAddress this parameter hold the IP address of the current secondary DNS server The address is formatted as a 32 bit hexadecimal number This parameter is read only gsnDHCPLeaseTi...

Страница 46: ...R W 4 0 165 0x000000A5 all 4 5 1 12 4 gsnAdHocpskkey W 32 ASCII String N A 4 6 0 gsnConfigComplete R W 4 1 232 1 0x00000001 4 10 0 gsnGetCommString R W 15 ASCII String GSN_GET 4 11 0 gsnSetCommString...

Страница 47: ...2 authentication allows connection to a WLAN with WPA2 802 1x authentication 0x00000008 WPA2PSK authentication allows connection to a WLAN with WPA2 PSK authentication gsnap1encmode this parameter sel...

Страница 48: ...2 authentication allows connection to a WLAN with WPA2 802 1x authentication 0x00000008 WPA2PSK authentication allows connection to a WLAN with WPA2 PSK authentication gsnap1encmode this parameter sel...

Страница 49: ...2 authentication allows connection to a WLAN with WPA2 802 1x authentication 0x00000008 WPA2PSK authentication allows connection to a WLAN with WPA2 PSK authentication gsnap2encmode this parameter sel...

Страница 50: ...to a WLAN with WPA2 802 1x authentication 0x00000008 WPA2PSK authentication allows connection to a WLAN with WPA2 PSK authentication gsnap3encmode this parameter selects the encryption mode for acces...

Страница 51: ...are present 0x00000007 WPA2 authentication allows connection to a WLAN with WPA2 802 1x authentication 0x00000008 WPA2PSK authentication allows connection to a WLAN with WPA2 PSK authentication gsnap...

Страница 52: ...rameter is a 64 bit number formatted as an ASCII string of the equivalent hexadec imal value Trap Parameter traps OIDs 1 3 6 1 4 1 28295 1 1 OID End OID End Name R W Size bytes Range Default 4 2 1 Lin...

Страница 53: ...Needed setting this parameter to 0x0000000A signals the module that a firmware update is available and needed The following OIDs have left side fields of 1 3 6 1 4 1 32345 88 The remaining three right...

Страница 54: ...delay this parameter sets the duration in milliseconds the WAKE_OUT turn on to activate an external user circuit subsequent to the rest the module waking up WakeTimeout this parameter sets the duratio...

Страница 55: ...PWM_Values this parameter holds the concatenation of the PWM output values The lower two bytes of this parameter hold the 16 bit PWM0 setting The upper two bytes of this parameter hold the 16 bit PWM1...

Страница 56: ...mat 0x00000001 for 6 bit format 0x00000002 for 7 bit format 0x00000003 for 8 bit format default SerialStopBits this parameter sets the number of stop bits for the main serial port as follows 0x0000000...

Страница 57: ...le SPI port default 0x00000002 to enable SPI master mode SPI_MasterClockDivisor this parameter sets SPI master mode bit rate equal to 460800 divided by the SPI_MasterClockDivisor value SPI_MasterCmdSt...

Страница 58: ...N A 4 19 0 Ap3_Ssid R W 32 ASCII String WSN Default 4 20 0 Ap3_Channel R W 4 0 11 0x0000000B 4 21 0 Ap3_AuthMode R W 4 1 8 0x00000003 automatic authentication 4 22 0 Ap3_EncryptionMode R W 4 0 165 0x...

Страница 59: ...N only with no encryption 0x000000A5 allows connection to a WLAN with any of the above modes Note that encryption mode 0x000000A5 is derived from logically ORing the values of the four encryption mode...

Страница 60: ...WLAN only with no encryption 0x000000A5 allows connection to a WLAN with any of the above modes Note that encryption mode 0x000000A5 is derived from logically ORing the values of the four encryption...

Страница 61: ...connection to a WLAN only with no encryption 0x000000A5 allows connection to a WLAN with any of the above modes Note that encryption mode 0x000000A5 is derived from logically ORing the values of the...

Страница 62: ...0020 allows connection to a WLAN only with CCMP encryption either unicast or group it connects if either unicast cipher or group cipher is CCMP 0x00000080 allows connection to a WLAN only with no encr...

Страница 63: ...his parameter holds the number of transmissions from one battery reading to the next BatteryWarningLevelInMVolt this parameter sets the battery voltage level that triggers a low battery warning trap m...

Страница 64: ...hType this parameter holds the outer authentication type used for EAP_FAST It is format ted as a 32 bit hexadecimal value EapInnerAuthType this parameter holds the inner authentication type used for E...

Страница 65: ...decimal number Setting this parameter to zero invokes DHCP SubnetMask this parameter holds the subnet mask for the WLAN interface The mask is formatted as a 32 bit hexadecimal number GatewayIpAddress...

Страница 66: ...168 3 200 8 10 0 GetCommString R W 15 ASCII String GSN_GET 8 11 0 SetCommString R W 15 ASCII String GSN_SET 8 12 0 TrapCommString R W 15 ASCII String GSN_TRAP 8 15 0 SnmpTrapSrcPort R W 4 1 216 1 0x00...

Страница 67: ...sceiver module One 9 V wall plug power supply 120 240 VAC for developer board power and one 9 V battery One RJ 45 DB 9F cable assembly one RJ 11 DB 9F cable assembly and one A B USB cable One pre conf...

Страница 68: ...he wall plug power supply cable to the router and plug the power supply into AC No other connections to the router are required Confirm the PC is configured for DHCP Open the Wireless Network Connecti...

Страница 69: ...Then click the Add Update button See Figure 8 3 4 This action configures the WSN802G module to send its periodic I O_READ data to the PC running WSNConfig exe 8 Click on the IO Report Tab Data will a...

Страница 70: ...ng module IP address discovery in the host PC For example if the host PC is block ing UDP broadcast messages module IP address discovery cannot work Some firewalls and other low level security applica...

Страница 71: ...as shown in Figure 8 4 2 Then click on Properties to display the Local Ar ea Connection Properties dialog box as shown in Figure 8 4 3 Figure 8 4 3 Select the Internet Protocol TCP IP item as shown in...

Страница 72: ...box with 192 168 3 200 and load the Subnet Mask with 255 255 255 0 Then click on OK It should now be possible to Discover the WSN802G module s IP address by repeating Section 8 3 step 6 2009 2015 by M...

Страница 73: ...ed when they pre sent a logic high Note the silkscreen on some developer boards have the GPIO labels reversed on switches S1 and S2 Switch S3 provides a hardware reset for the WSN802G module Switch S4...

Страница 74: ...to the minimum operating voltage D3 illuminates when the WSN802G s WAKE_OUT line is high D4 illuminates when GPIO3 on the module outputs a logic high D5 illuminates when GPIO2 on the module outputs a...

Страница 75: ...ll MIB configuration parameters see Table 7 3 1 Clicking the Refresh button loads the configuration parameters from the local buffer into various tabs in the Config dialog box Clicking the Get All but...

Страница 76: ...802G module IP address Figure 8 6 2 The first Network tab displays basic network parameters information Note Unless you are familiar with IP networking contact RFM module technical support before maki...

Страница 77: ...for the Time Sync Server Clicking the Apply button and then the Reboot button queues a request to update the module with changes entered in this tab Figure 8 6 5 The first System Management tab displ...

Страница 78: ...7 The RFM MIB tab displays and accepts inputs related to the basic MIB OID application parameters The Sensor Server IP Address can be set and applied in this tab as an alternative to Step 7 in Sectio...

Страница 79: ...al format Note the PWM 1 text box is not used by the current version of the WSN802G module Figure 8 6 9 The Serial tab displays and accepts changes for parameters related to the module s serial ports...

Страница 80: ...op down box and click on Apply Figure 8 6 11 The Battery Tab allows the power supply voltage levels that send a warning place the module in standby or allow the module to bootup to be read and or modi...

Страница 81: ...current version of the module firmware Figure 8 6 13 The Authentication Tab is included on the wireless link Config tab for the future inclusion of enterprise security Scan Type is currently defaulted...

Страница 82: ...ecking the Use RFM OID box on the lower right corner of the main Window accesses the RFM OID parameter set Clicking the Get button queues a request to retrieve the value of a parameter Clicking the Se...

Страница 83: ...e Note that ADC0 is reading the voltage from pot R9 and ADC1 is reading the voltage from a voltage divider consisting of a fixed resistor and thermistor RT1 GPIO0 reads the state of switch S1 and GPIO...

Страница 84: ...is indicated by a Successful Status A Failure Status is usually caused by forgetting to install a jumper on JP14 Figure 8 6 19 The WSN802G module must be awake in order to use the IO Write tab To hold...

Страница 85: ...over the wireless link Figure 8 6 21 The WSN802G module must be awake in order to use the IO Report tab To hold the module awake place a jumper on JP14 which is labeled ALWAYS ON or push and hold the...

Страница 86: ...onnect button as shown in Figure 8 6 21 above The Config button will become active Next click on the Config button to launch the multi tab serial configuration dialog window as shown in Figure 8 6 23...

Страница 87: ...reboot to use the parame ter changes Clicking the Default button requests the WSN802G module to load factory default values for all configura tion parameters The Reboot button must be clicked followin...

Страница 88: ...ab displays and accepts inputs for the SSID Channel Authentication Mode and Encryption Mode for WLAN configurations 1 2 3 and Ad Hoc Figure 8 6 27 The second System Management tab displays and accepts...

Страница 89: ...d interval to conserve battery power where the values or states of the sensor inputs change slowly Figure 8 6 29 The GPIO tab displays analog and digital module inputs and displays and accepts changes...

Страница 90: ...a warning place the module in standby or allow the module to bootup to be read and or modified The read frequency is in units of seconds Note contact RFM module technical support before making changes...

Страница 91: ...he current version of the module firmware Figure 8 6 33 The Authentication Tab is included on the serial Config tab for the future inclusion of enterprise security Scan Type is currently defaulted to...

Страница 92: ...WSN802G will not accept sensor application commands the module must be awake to accept applica tion commands Either assert a logic high on the WAKE_IN hardware line or queue the sensor application com...

Страница 93: ...ctor for external antenna WSN802GPA transceiver module for pin socket mounting with integral chip antenna 10 2 Technical Support For WSN802G product support contact RFM s module technical support grou...

Страница 94: ...10 3 WSN802G Mechanical Specifications Figure 10 3 1 Figure 10 3 2 2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 94 of 101 www murata com...

Страница 95: ...Figure 10 3 3 Figure 10 3 4 2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 95 of 101 www murata com...

Страница 96: ...Figure 10 3 5 Figure 10 3 6 2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 96 of 101 www murata com...

Страница 97: ...Figure 10 3 7 Figure 10 3 8 2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 97 of 101 www murata com...

Страница 98: ...10 4 WSN802G Developer Board Schematic 2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 98 of 101 www murata com...

Страница 99: ...2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 99 of 101 www murata com...

Страница 100: ...2009 2015 by Murata Electronics N A Inc HN 210D X HN 214 D X Rev 2 0 01 16 15 Page 100 of 101 www murata com...

Страница 101: ...brought against Seller more than twelve 12 months after the related cause of action has oc curred Buyer has not relied and shall not rely on any oral representation regarding the goods sold here unde...

Страница 102: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Murata WSN802GCA E WSN802GC E...

Отзывы: