Roving Networks WiFly RN-370 Install Manual And User Manual

Battery powered 802.11 b/g serial adapter
Hide thumbs Also See for WiFly RN-370:

Advertisement

Quick Links

WiFly Serial Adapter
www.rovingnetworks.com
wifly-serial-um 6/30/2010
W
F
S
I
LY
ERIAL ADAPTER
RN-370 & RN-374
Battery Powered 802.11 b/g Serial Adapter
Install Guide and User Manual
Version 1.00
th
Sept 19
2009
Copyright © 2010 Roving Networks, Inc. All Rights Reserved.
The contents of this document can be changed by Roving networks without prior notice and do not
constitute any binding undertakings from Roving networks. Roving Networks is not responsible under any
circumstances for direct, indirect, unexpected or consequent damage that is caused by this document.
809 University Avenue
Los Gatos, CA 95032
Tel (408) 395-6539
• info@RovingNetworks.com
~ 1 ~

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WiFly RN-370 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Roving Networks WiFly RN-370

  • Page 1 Copyright © 2010 Roving Networks, Inc. All Rights Reserved. The contents of this document can be changed by Roving networks without prior notice and do not constitute any binding undertakings from Roving networks. Roving Networks is not responsible under any circumstances for direct, indirect, unexpected or consequent damage that is caused by this document.
  • Page 2: Table Of Contents

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Contents 1.0. Overview ..............................3 1.1. Powering up the WiFly Serial Adapter .................... 3 1.2. Batteries and Charging ........................4 1.3. Status LEDs ............................. 4 1.4. Configuration Switches ........................5 2.0. WiFi Connections ........................... 7 2.1.
  • Page 3: Overview

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Overview 1.0. The Battery powered WiFly Serial Adapter supports RS-232 interfaces. When connected to a remote host, the WiFly serial adapter transfers data read or written to the serial interface to a remote application such as an iPhone app, data logger or PC control console.
  • Page 4: Batteries And Charging

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Batteries and Charging 1.2. • Before using charger, be sure to have batteries installed. Do not attempt to operate the unit purely on charger, without batteries, permanent damage to the device will result. • Only use the charger with NiMH batteries, do not use the charger with Alkaline batteries. Attempting to charge Alkaline batteries will cause battery acid to leak and destroy the device (and surrounding environment) •...
  • Page 5: Configuration Switches

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 The blue LED also indicates battery status and will blink slowly when the batteries are low except when charging. When charging the blue LED remains off. If the device is on while the batteries are charging the blue LED will come solid when the batteries are fully charged When using switch1 to enable adhoc mode, after the device powers on, all LEDs will blink in succession from green to blue.
  • Page 6 WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Switch 2 – Sensor pin 2: Currently not used Switch 3 – Sensor pin 3: Currently not used Switch 4 – Sensor pin 7: Currently not used 809 University Avenue • Los Gatos, CA 95032 •...
  • Page 7: Wifi Connections

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 WiFi Connections 2.0. The WiFi serial adapter is used to create a WiFi connection to a variety of application, some examples are: • Remote environmental sensors • Linking mobile devices like GPS and light sensors •...
  • Page 8: Creating A Network Setu

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 set wlan join 4 set wlan ssid my_adhoc_network set wlan chan 1 Turn off DHCP and set the IP address and netmask so other devices know where to connect to the adhoc WiFly GSX. Since auto IP fixes the first two bytes of the IP address you want to use the netmask of 255.255.0.0 so that other device connecting to the module can be reached.
  • Page 9: Connection Modes

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 for WPA use the command set wlan phrase <string>. For WEP set the key using the set wlan key <num> command. To configure the WiFly serial adapter to remember network, use the command set wlan ssid my_network. Next save the SSID and Pass Phrase/Key to the configuration file using the save command.
  • Page 10: Waiting For The Remote Host To Connect To The Serial Adapter (Listen Mode)

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 save // Save configuration> Note: If autoconn=1, the WiFly will only make one attempt to auto connect. Step 3: Set the wake up and sleep conditions. By default the serial adapter will wake whenever there is data written to the serial interface.
  • Page 11 WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 set ip dhcp 0 // Turn off DHCP Step 3: Set the wake up and sleep conditions. In this mode the sleep and wake timers are used to conserver battery. Since we don’t know when the remote host will connect, the module should to occasionally wake up and listen for the remote host.
  • Page 12: Device Configuration

    Telnet connection. Serial configuration is the simplest in that you do not have to set adhoc mode and associate with the network. NOTE: We suggest using TeraTerm. It has both a terminal emulator and Telnet capability. This is available for download from the Roving Networks website. http://www.rovingnetworks.com/support/teraterm.zip Local configuration over the serial port 3.1.
  • Page 13: Getting Into Command Mode

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 • Enable adhoc mode by turning on switch 1, power on the WiFly Serial adapter. • Associate to the Adhoc network from your computer. Use ping to verify the WiFly serial adapter is visible on the network. •...
  • Page 14: Command Summary

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Command Summary 4.0. All configuration information is stored in flash memory. The “set” commands modify only the RAM copy of the configuration. Using the “save” command stores the configuration into flash memory. The WiFly only reads the configuration from flash when powering up or after a reboot.
  • Page 15 WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Mode Protocol DHCP OFF, use stored static IP address DHCP ON, get IP address and gateway from AP Auto-IP, generally used with Adhoc networks DHCP Cache mode, Uses previous IP address if lease is not expired (lease survives reboot) Reserved for future use set ip gateway <addr>...
  • Page 16: System Parameters

    UART baud rate. Valid settings are {2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600}. Example : “set u b 9600” sets the baud rate to 9600 baud. NOTE: the RS-232 interface on the RN-370 does not work reliably above 230400 set uart instant <rate>...
  • Page 17: Wlan Parameters

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 WLAN Parameters 4.5. set wlan channel <value> sets the wlan channel, 1-13 is the valid range for a fixed channel. If 0 is set, then scan is performed, using the ssid, for all the channels set in the channel mask.
  • Page 18: Display Commands

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Example : “set w p password” sets the phrase. set wlan ssid <string> sets the wlan ssid to associate with. 1-32 chars. NOTE: If the passphrase or ssid contain the SPACE ( ‘ ‘) characters, these can be entered using substitution via the “$”...
  • Page 19: Action Commands

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Action Commands 4.7. enter command mode Characters are PASSED until this exact sequence is seen. If any bytes are seen before these chars, or after these chars, in a 250ms window, command mode will not be entered and these bytes will be passed on to other side.
  • Page 20: Serial Connector Specification

    WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Serial Connector Specification 5.0. DB9 connector Pin Out RN-370M RN-370F RN-374M Male DB9 Female DB9 Male DB9 RXD- DTR (=PIO7) DON’T USE TXD+ DSR (=PIO8) 5V DC (input) 5 VDC (input) RXD+ TXD- 5V DC Only 5V DC Only NOTE: The RS422 interface uses the MAX490 transceiver.
  • Page 21 WiFly Serial Adapter www.rovingnetworks.com wifly-serial-um 6/30/2010 Male DB9 (Default Config) Male DB9 - Null Modem Jumper 1<>2, 3<>4 Jumper 2<>4, 1<>3 Female DB9 (Default Config) Female DB9 - Null Modem Jumper 2<>4, 1<>3 Jumper 1<>2, 3<>4 Drive DSR on pin 6 of the male DB9 Jumpper 5<>6 Drive DTR on pin 4 of the male DB9 Jumpper 7<>8...

This manual is also suitable for:

Wifly rn-374

Table of Contents