background image

   

www.rovingnetworks.com

 

Version 1.32r 10/9/2012

 

8

 

RN -W IFLY -E VAL-U M  

Enter 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.

 

Type 

show net

 <cr> to display the current network settings.  

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 

   

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 

MY$NETWORK

. Additionally, you can use shorthand for the parameters. For example, the following commands are 

equivalent: 

 

set uart baudrate 115200 

 

set uart b 115200 

 

set u b 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

, 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. 

 

   

 

Example COM 
Port Setting 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for WiFly RN-131-EK

Page 1: ... RN WIFLY EVAL UM WiFly Evaluation Kit USER MANUAL 2012 Roving Networks All rights reserved RN WIFLY EVAL UM Version 1 32r 10 9 2012 Downloaded from Arrow com ...

Page 2: ...rovides 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 may need to install the driver for the USB cable You can download the drivers as well as other tools and utilities from the Roving Networks website ...

Page 3: ...ARNING Sensors must not have more than 1 2 V DC Otherwise the module may be permanently damaged Table 2 RN 131 EK Evaluation Board LED Indicators Condition Blue LED Red LED Yellow LED Green LED On solid Unused Connected over TCP Fast blink Unused Not associated Rx Tx data transfer No IP address Slow blink Unused Associated no Internet IP address OK Off Unused Associated Internet OK Figure 2 shows ...

Page 4: ...ace J4 RX input to evaluation board TX output from evaluation board Pin Description 1 3 3 VDC Output 2 GND 3 UART RX 4 UART TX 5 UART RTS 6 UART CTS 7 GPIO4 8 GPIO5 9 GPIO6 10 GPIO7 11 GPIO8 1 12 GPIO9 13 RESET Note 1 The RN 171 module drives GPIO8 HIGH on powerup which overrides software configured powerup values such as set sys value 0x0000 on GPIO8 LED Indicators UART Interface J4 Sensor Interf...

Page 5: ...nto the battery pack Alternatively the USB cable can supply power to the board 2 Connect the USB cable to a USB port on your computer and to the USB connector on the evaluation board Windows should automatically install the drivers for the cable If it does not download and install the FTDI drivers from the Support page on the Roving Networks website at http www rovingnetworks com support php Note ...

Page 6: ...tication 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 Over the UART which is connected to a computer or microprocessor Via Wi Fi using ad hoc networking You need a terminal emulator to ...

Page 7: ... CoolTerm you can view and select the port from within the application NOTE Legacy evaluation boards use a USB to serial cable If you are using one of these boards use the COM port to which the USB to serial cable is attached 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...

Page 8: ...a to indicate a space e g MY NETWORK should be written as MY NETWORK Additionally you can use shorthand for the parameters For example the following commands are equivalent set uart baudrate 115200 set uart b 115200 set u b 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...

Page 9: ...SSID channel and security options 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 7 Figure 7 Scan for Networks Associate with an Access Point You use the join keyword to associate with an open access point As shown in the scan list r...

Page 10: ...this case type set wlan ssid roving1 set wlan pass rubygirl save reboot See Figure 8 You can confirm the security settings by typing get wlan cr Figure 8 Connect to a Secure Network 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...

Page 11: ...n chan 1 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 the 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 n...

Page 12: ... 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 TCP IP Properties Once your compute...

Page 13: ...ON KIT CONTENTS ORDERING INFORMATION Table 5 shows the evaluation kit contents and ordering information Table 5 Evaluation Kit Contents Kit Photo Contents RN 131 EK RN 131 EK Evaluation board for the RN 131 module USB cable RN 171 EK RN 171 EK Evaluation board for the RN 171 module USB cable Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Dow...

Page 14: ...n serial cable to the USB to serial cable 10 pin serial cable Connects from the board s RS 232 header to a DB9 connector 9 V battery clip Provides power to the evaluation board requires a battery Antenna cable U FL and reverse SMA connectors 4 dipole antenna Reverse SMA connector Figure 10 shows the RN 134 evaluation board and pin information Table 7 describes the LED indicators Downloaded from Ar...

Page 15: ...or PWR 2 Resistor network to Sensor 4 3 Resistor network to Sensor 4 4 Sensor 7 5 Sensor 4 6 Sensor 5 7 Sensor 6 8 GND WARNING Sensors must not have more than 1 2 V DC Otherwise the module may be permanently damaged Jumper Block J2 Pins Description 1 Ad hoc mode and factory reset 2 Config 1 3 Config 2 4 Config 3 LED Indicators RS 232 Interface J1 Jumper Block J2 UART Interface J3 Power J5 Sensors ...

Page 16: ... Internet OK Figure 11 shows the RN 174 evaluation board and pin information and Table 3 describes the LED indicators Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow ...

Page 17: ...tolerant 3 Sensor 5 3 3 V tolerant 4 Sensor 7 1 2 V only 5 Sensor 5 1 2 V only 6 Sensor 4 1 2 V only 7 Sensor 6 1 2 V only 8 Sensor 3 1 2 V only 9 GND WARNING Voltage on pins marked 1 2 V Only should not exceed 1 2 V or permanent damage will occur Power J7 Pin Description 1 External DC 2 to 3 3 V or 5 to 12 V see J4 2 GND2 Pull Up Down J2 Ad Hoc Mode Factory Reset J6 LED Indicators RS 232 Interfac...

Page 18: ...Yellow LED Green LED On solid Not used Connected over TCP Fast blink Not used Not associated Rx Tx data transfer No IP address Slow blink Not used Associated no Internet IP address OK Off Not used Associated Internet OK 2 4 6 8 10 12 14 16 1 3 5 7 9 11 13 15 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded ...

Page 19: ...ached the cable 4 Connect the USB to serial cable to the 10 pin serial cable using the null modem Figure 12 shows 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...

Page 20: ...ector 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 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Download...

Page 21: ...oaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Page 22: ...e 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 ...

Reviews: