Home

WiFly Evaluation Kit User Manual

image

Contents

1. nnn WiFly Evaluation Kit 2011 Roving Networks All rights reserved RN WIFLY EVAL UM 1 0 Version 1 0 11 8 2011 U S E R M A N U A L RN WIFLY EVAL UM 1 0 92 AOU OVERVIEW This document describes the hardware and software setup for Roving Networks evaluation kits which contain the hardware you need to evaluate the RN 171 or RN 131 WiFly 802 11 b g modules The RN 171 and RN 131 WiFly modules are mounted to evaluation boards Each board contains status LEDs connections for the programmer and UART interfaces a voltage regulator and easy access to GPIO pins You can use the evaluation kits to configure and program the WiFly module using the command Interface create connections and transfer data The command interface Is made up of simple ASCII commands See Resources amp Related Documents on page 15 for information on available documentation Evaluation Kit Description The evaluation kits include the hardware required to connect the evaluation board to your computer See Table 1 for information on which hardware is provided with each kit Additionally Appendix A provides photographs and detailed information on each kit s contents To evaluate the module on the evaluation board you need a computer with a USB port running the Microsoft Windows or Mac OS X operating system NOTE Before beginning your evaluation you must install the drivers for the USB to serial cable You can download the
2. RX input to evaluation board TX output from evaluation board rm Description _ s No connect o s Power J5 Fm Deserintion _ NOTE The labels on the board for RX and TX are incorrect www rovingnetworks com Power J5 RN WIFLY EVAL UM 1 0 RS 232 Interface J1 UART Interface J3 Sensors J4 Sensor PWR Resistor network to Sensor 4 EN to Sensor 4 EE QN 8 D WARNING Sensors must not have more than 1 2 V DC Otherwise the module may be permanently damaged Jumper Block J2 4321 Description _ 1 Ad hoc mode and factory reset RN WIFLY EVAL UM 1 0 92 AOU Table 2 RN 134 Evaluation Board LED Indicators Blue LED Red LED Yellow LED Green LED Fast blink Not associated Rx Tx data transfer No IP address Slow blink Associated no Internet IP address OK Figure 2 shows the RN 174 evaluation board and pin information Table 3 describes the LED indicators www rovingnetworks com 4 RN WIFLY EVAL UM 1 0 221 MOULE AIN Figure 2 RN 174 Evaluation Board Part 1 of 2 Power Select Jumper J4 Pull Up Power Down J2 17 ONUS qd 6 Factory Reset See meer reeset Ad Hoc Mode J6 1 WiFly RN 171 En IN PCB Trace Serial 1104 710972 2 1 recor 5 7A00066671
3. u 1 2 3 4 5 6 2 8 jo lease 1280s 192 168 2 66 2000 255 255 255 8 192 168 2 1 Associate with an Access Point You use the join keyword to associate with an open access point As shown in the scan list rovingl is an open access point To associate with an access point type the following commands refer back to Figure 7 join 1 Of join 1 To disconnect from a network type leave lt cr gt The red LED blinks quickly when the WiFly module is not associated with an access point If you want the module to associate with a network automatically upon booting i e persistent configuration use the set wlan command with the SSID name For example type set wlan ssid roving1 save reboot When the module wakes or power cycles the module attempts to associate with the network roving1 To associate with a secure network you must also include the network password The WiFly module determines the security type automatically In this case type set wlan ssid roving1 set wlan pass rubygirl save reboot www rovingnetworks com 12 RN WIFLY EVAL UM 1 0 221 MOULE LEE See Figure 8 You can confirm the security settings by typing get wlan cr Figure 8 Connect to a Secure Network 1 COM3 Tera Term VT EXE File Edit Setup Control Window Help 2 23 set wlan ssid rovingl 2 23 set wlan pass rubygirl AOK AC fiddr 8080 806 66 14 5e d7 Auto Assoc rovingl chan 1 mode WPA
4. Figure 2 RN 174 Evaluation Board Part 2 of 2 ISP Connector J5 rm Description _ RESET 10 a v Ge _ s emos w _ s _ e nausea 00 Table 3 RN 174 Evaluation Board LED Indicators Condition Blue LED Red LED Yellow LED Green LED Fast blink Not associated Rx Tx data transfer No IP address Slow blink Associated no Internet Ts IP address OK www rovingnetworks com 6 RN WIFLY EVAL UM 1 0 921111 HARDWARE SETUP To set up the evaluation kit hardware perform the following steps 1 Provide power to the board by soldering the provided 9 battery clip wire to the board J7 and attaching a 9 V battery to the clip 2 Connect the 10 pin serial cable to the evaluation board J3 When looking at the top of the board the cable should extend away from the board NOTE If your computer has a DB9 connector you can connect the 10 pin serial cable directly to it to complete setting up the hardware The COM port in this case is COMI 3 Connect the USB to serial cable to a USB port on your computer Windows should automatically install the drivers for the cable If it does not download and install the Prolific drivers from the Support page on the Roving Networks website at http www rovingnetworks com support php Note the COM port to which you have attached the cable 4 Connect the USB to serial cable to the 10 pin serial cable using the null modem Figure 3 shows
5. the completed hardware setup for the RN 134 and RN 174 evaluation boards NOTE By default the WiFly module uses either the on board chip antenna RN 131G EVAL and RN 134 or the PCB trace antenna RN 174 If an antenna is included in your kit you do not need to install it for the evaluation described in this document www rovingnetworks com RN WIFLY EVAL UM 1 0 92 AOU Figure 3 Hardware Setup RN 134 Evaluation Board Hardware Setup NOTE Refer to Power J5 in Figure 1 RN 134 and Power J7 in Figure 2 RN 174 for information on where to solder the wires www rovingnetworks com 8 RN WIFLY EVAL UM 1 0 221 MOULE LETT CONFIGURATION The WiFly module operates in two modes data mode default and command mode While in data mode the WiFly module is essentially a data pipe When the module receives data over Wi Fi it strips the TCP IP headers and trailers and passes the user data to the UART When data is written to the UART the module constructs the TCP IP packet and sends it out over Wi Fi Thus the entire process of sending receiving data to the host is transparent to the end microprocessor oee Figure 4 Figure 4 Data amp Command Modes User Data BEK ow gt 955 Command Mode By default the module is in data mode Sending the escape sequence causes the module to enter command mode Once in command mode you can configure the WiFly device using simple ASCII co
6. 0972 e 10 1 075 3 PROS TS CS Y A 23 sd LED Indicators GPIO Interface TTL Signals J8 Sensor RS 232 Interface J1 Interface J3 RS 232 Interface J3 GPIO Interface Sensors J1 TTL Signals J8 5 43 2 1 OOOO 10987 6 RX input to evaluation board TX output from evaluation board RX input to evaluation board Sensor PWR Sensor 4 3 3 V tolerant Sensor 5 3 3 V tolerant ON A Sensor 5 1 2 V only Sensor 4 1 2 V only 7 Sensor 6 1 2 V only Sensor 3 1 2 V only OOOOOO0O0UOOOOL Pin KA TX output from evaluation board Besenipion 7 RS 232 RTS RS 232 CTS 3 3 VDD WARNING Voltage on pins marked 1 2 V Only should not exceed 1 2 V or permanent 4 to 16 VDC input GND damage will occur UART TX Power J7 Power Select Jumper J4 GPIO4 21 High Voltage Mode Default The board is 6 GPIO5 powered by a source up to 16 V DC 7 emo ption 5000 8 o 5 to 12 VDC GPIO8 Low Voltage Mode The board is powered 9 ceo by 2 0 to 3 3 V DC only GPIO9 UART CTS Pull Up Down J2 External Power Mode Used when RESET powering the board with regulated 3 3 V DC power Ad Hoc Mode Factory Reset J6 1 OOOO H www rovingnetworks com 5 RN WIFLY EVAL UM 1 0 921111
7. 2 SCAN OK oining rovingl now Listen on 26 Configuration Using Ad Hoc Mode You can configure the WiFly module over the air via an ad hoc network Ad hoc networks are useful for point to point communication In ad hoc mode the WiFly appears as an access point with which other Wi Fi devices can associate You can turn on ad hoc mode using hardware or software configuration NOTE the WiFly module only supports the OPEN mode for ad hoc networks Enable Ad Hoc Mode via Hardware To enable ad hoc mode using hardware set GPIO9 high 3 3 V at power up For the RN 134 board GPIO9 is on pin 1 on the jumper block J2 For the RN 174 board GPIOO9 is on the J6 connector Upon power up with GPIO9 high the WIFly module creates an ad hoc network with the following settings SSID WiFly GSX XX where XX is the final two bytes of the device s MAC address IP address 169 254 1 1 Enable Ad Hoc Mode via Software To enable ad hoc mode in software you use the set wlan command with the join ssid and chan parameters For example type the following commands in command mode set wlan join 4 set wlan ssid my adhoc network set wlan chan 1 www rovingnetworks com 13 RN WIFLY EVAL UM 1 0 221 MOULE HEE Set the WiFly module s IP address and netmask Because automatic IP assignment fixes the first two bytes of the IP address use 255 255 0 0 as the netmask so that other devices connecting to the module can be reached You can also set t
8. CA 95032 1 408 395 5300 www rovingnetworks com www rovingnetworks com 221 AMIN RN WIFLY EVAL UM 1 Copyright O 2011 Roving Networks All rights reserved Roving Networks is a registered trademark of Roving Networks Apple Inc iPhone iPad iTunes Made for iPhone are registered trademarks of Apple Computer Roving Networks reserves the right to make corrections modifications and other changes to its products documentation and services at any time Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete Roving Networks assumes no liability for applications assistance or customer s product design Customers are responsible for their products and applications which use Roving Networks components To minimize customer product risks customers should provide adequate design and operating safeguards Roving Networks products are not authorized for use in safety critical applications such as life support where a failure of the Roving Networks product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use 0 18
9. Command Mode To enter command mode perform the following steps in the terminal emulator 1 Type You must type together quickly with no additional characters before or after them The module replies with CMD to indicate it is in command mode 2 show net cr to display the current network settings www rovingnetworks com 10 RN WIFLY EVAL UM 1 0 221 MOULE LETT NOTE When a command completes the terminal displays a prompt in the format X XX where X XX indicates the module s firmware version In Figure 6 the version is 2 28 Figure 6 Show Current Network Settings 2 Tera Term disconnected VT jm File Edit Setup Control Window Help MD 2 28 show net SSid rovingl Chan 1 12 24Mb uth OK ode WPA2 HCP OK renewv 79 oot 66623336 ime FAIL Links 2 28 B To issue commands to the module you send a keyword followed by optional parameters Commands are case sensitive and you cannot use spaces in parameters Use a to indicate a space e g MY NETWORK should be written as MYS NETWORK Additionally you can use shorthand for the parameters For example the following commands are equivalent e set uart baudrate 115200 e set uart b 115200 e setub 15200 NOTE You cannot use shorthand for command keywords For example s uart baudrate 115200 is illegal The WiFly module supports a variety of command keywords The Advanced User Manual
10. drivers as well as other tools and utilities from the Roving Networks website at http www rovingnetworks com support php Table 1 Evaluation Kit Hardware Evaluation board Contains the WiFly module and connectors 200 ForRN 131 ForRN 171 module module module USB t seral cable Links your computer to the evaluation board 2 Contains the Prolific chipset Null modem Connects the 10 pin serial cable to the USB to 7 serial cable Connects from the board s RS 232 header to a 10 pin serial cable DB9 connector 9 V battery clip Provides power to the evaluation board requires a v battery Antenna cable U FL and reverse SMA connectors 1 1 4 dipole antenna Reverse SMA connector 2 Figure 1 shows the RN 134 evaluation board and pin information Table 2 describes the LED indicators www rovingnetworks com 2 221 MOULE LETTE Figure 1 RN 134 Evaluation Board Jumper Block J2 LED Indicators WiFly 2 21 RN 131G INDUSTRIAL TEMPERATURE Serial 8779 13FD31 Fcc Ip U30 G2M5477 Fec D ex 1 1 1 00066613FD31 5887 1106 q antenova LM Au AR me o0000000 Sensors J4 RS 232 Interface J1 UART Interface J3 10 OQ 15 4 2 OLI ANN COO oO NOAUA AUN RX input to evaluation board TX output from evaluation board pn Description _ GND RTS CTS 5 to 12 VDC input
11. firm that the device has properly associated with the ad hoc network using the ping keyword ping 169 254 1 1 10 Associate with the WiFly Module over an Ad Hoc Network from a Computer You can associate with the ad hoc network from a computer by specifying the network name and password if required in the operating system For example choose Control Panel Networking and Sharing Networking and Sharing Center Windows Vista or Control Panel Network Connections Windows XP You can then view available networks and select the name of the WiFly ad hoc network NOTE Once associated with the ad hoc network Windows Vista may require a few minutes to allocate an IP address To work around this issue assign a static IP address under Network Settings gt TCP IP gt Properties Once your computer is associated with the ad hoc network you can use the WiFly module s IP address to open a connection or connect using telnet as you would with an enterprise connection NOTE Ihe WiFly module does not support ad hoc and infrastructure network modes simultaneously Once you have associated with the other network you can telnet into the WiFly module to configure it Open the telnet connection using port 2000 NEXT STEPS Once you have set up the evaluation kit hardware and have gone through your initial evaluation using the instructions in this user guide refer to the labs in the WiFly Training Presentation to get started developing applicat
12. he Device Manager browse and expand the selection for Ports COM amp LPT In the example shown in Figure 5 the USB serial port is COMO For OS X if you are using CoolTerm you can view and select the port from within the application 2 Open your terminal emulation program 3 Specify the COM port If you are using TeraTerm select Serial and choose the COM port number from the Port drop down list box NOTE The default serial port setting for the WiFly module is 9600 baud 8 bits no parity and 1 stop bit Figure 5 Finding the COM Port Number in Windows ioj x 39 Fie Action View Window Help 8l Hm amp H a iml Computer Management Loc 2 Wb System Tools 2 Event Viewer 51 44 Shared Folders 540 Loca Users and Groug i dip Performance Logs anc Device Manager fj Storage Batteries 4 Computer wu Disk drives 88 Display adapters 4 DVD CD ROM drives Human Interface Devices IDE ATA ATAPI controllers 5 Removable Storage Keyboards Disk Defragmenter Mice and other pointing devices Disk Management L Modems ti Services and Applications Monitors ME Network adapters BEER E 5 PCMCIA adapters y Ports COM amp LPT z Communications Port COM 1 ECP Printer Port LPT1 Example COM L USB Serial Port COM9 Port Setting we S Smart card readers 50 Sound video and game controllers H M System devices Universal Seria Bus controlers Fnter
13. he netmask to a smaller subnet if the other device s IP addresses begin statically at the same subnet as the ad hoc device set ip address 169 254 1 1 set ip netmask 255 255 0 0 Turn off DHCP so that the module does not attempt to obtain an IP address from another device set ip dhcp O save your configuration and reboot The module will be in ad hoc mode See Figure 9 Figure 9 Enable Ad Hoc Network Mode d COM3 Tera Term VT jer wlan join 4 vlan ssid my adhoc net wlan channel 1 ip address 169 254 1 1 ip netmask 255 255 8 8 ip dhcp save 64 26 2611 on 131011 d ADhoc on my adhoc net chan 1 READY Associate with an Ad Hoc Network The WiFly module can associate with an ad hoc network created by another device Type the commands set wlan ssid my_adhoc_network save reboot To associate with an ad hoc network without saving the changes to the module s flash memory use the Join command e g join my adhoc network cr If DHCP is enabled the WiFly device obtains an IP address automatically when it associates with the ad hoc network By definition auto IP sets the first two bytes of the subnet 169 254 xxx xxx The WIFly device requires 2 to seconds to resolve the IP address To set the IP address statically disable DHCP and explicitly assign the IP address set ip dhcp O set ip address 169 254 1 2 www rovingnetworks com 14 RN WIFLY EVAL UM 1 0 221 MOULE LETTE You can con
14. ions RESOURCES amp RELATED DOCUMENTS For more information refer to the following sources which are available on the Support page on the Roving Networks website at http www rovingnetworks com support php e RN 171 Data Sheet e RN 151 Data Sheet e Advanced User Manual e WiFly Training Presentation e Drivers tools and utilities www rovingnetworks com 15 RN WIFLY EVAL UM 1 0 921111 NETWORKS APPENDIX A EVALUATION KIT CONTENTS amp ORDER DETAILS Table 5 shows the contents of the RN 131G EVAL RN 134 K and RN 174 K evaluation kits Table 5 Evaluation Kit Contents RN 131G EVAL Kit RN 134 Evaluation board for RN 131 module RN USB SERIAL USB to serial cable with male DB 9 connector RN UFL SMA 6 U FI to SMA connector cable RN SMA 4 RP 4 reverse antenna with SMA connector 10 way ribbon cable with male DB 9 termination Null modem Battery clip RN 134 K Kit RN 134 Evaluation board for RN 131 module RN USB SERIAL USB to serial cable with male DB 9 connector 10 way ribbon cable with male DB 9 termination Null modem Battery clip RN 174 K Kit RN 174 Evaluation board for RN 171 module RN USB SERIAL USB to serial cable with male DB 9 connector 10 way ribbon cable with male DB 9 termination Null modem Battery clip www rovingnetworks com 16 SAA NOTES www rovingnetworks com RN WIFLY EVAL UM 1 0 Roving Networks Inc 102 Cooper Court Los Gatos
15. mmands To exit command mode and return to data mode type exit cr Basic configuration only requires the wireless network access point s name SSID and authentication password The WiFly module can only associate with one network at a time Roving Networks recommends that you begin your evaluation by configuring the WiFly module using an open access point to simplify the setup There are two ways to configure the WiFly module e Over the UART which is connected to a computer or microprocessor e Via Wi Fi using ad hoc networking You need a terminal emulator to complete the setup NOTE Roving Networks suggests using either the TeraTerm Windows OS or CoolTerm Mac OS X terminal emulator program Configuration Using the RS 232 Serial Interface The USB to serial cable allows your computer to communicate with the WiFly module on your evaluation board The following instructions describe how to use a terminal emulator to go into configuration mode send commands to find networks associate with an access point and save your configuration www rovingnetworks com 9 RN WIFLY EVAL UM 1 0 221 MOULE HEE Configure the Module Using a Terminal Emulator To communicate with the module using a terminal emulator perform the following steps 1 Determine the COM port that was assigned to the USB to serial cable If you do not know the COM port number you can find it using the Windows Device Manager which is in the system tools In t
16. which is available on the support page of the Roving Networks website provides a complete command reference For evaluation purposes you may view the current settings using the get command get everything shows all parameters Table 4 shows additional parameters for the set and get commands Table 4 Basic set amp get Parameters w Pete Wireless interface such as SSID channel and security options www rovingnetworks com 11 RN WIFLY EVAL UM 1 0 221 MOULE HEE Find Available Networks Once you are in command mode you can instruct the WiFly module to search for available networks Type scan cr in the terminal emulator to view a list of Wi Fi networks within range See Figure Figure 7 Scan for Networks d COM3 Tera Term VT File Edit Setup Control Window Help SCAN Found 8 SSID Ch RSSI Sec MAC Address Suites SensorNet roving bertcontrol roving guest miniblack 46 53 25 28 22 WPA2PSK WPA2PSK Open WPA2PSK WPA2PSK 66 22 3f 66 15 66 18 66 26 66 23 6b 95 42 53 86 78 7e e8 4f 89 d6 55 46 24 AESM AES RESM RES 2100 AESM AES AESM AES 1104 3100 3184 3188 portthru 58 Open 6a 2d 4d 22 96 ee Adhoc 266 Coo 1 68 WPA2PSK 808 16 b6 45 63 98 AESM AES 3104 links ys_WPS_4616 69 WPA_Mix 1e e5 67 73 bi AES TKIPM TKIP in rovingi efluth Auto Assoc rovingi chan 1 mode WPA2 SCAN OK oining rovingl now 23 gt Associated

Download Pdf Manuals

image

Related Search

Related Contents

危険物施設の事故事例(71)  SD 2500  平成24年度  Windows XP User Guide  SALE I l SELECT  FP3710-T - Pro-face America HMI Store  TradingPrdedictor User Manual - TradingPredictor Professional  Operating Instructions MicroPure  Alcatel T22    

Copyright © All rights reserved.
Failed to retrieve file