User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 34 ~
10. Advanced features and Settings
This chapter describes the advanced features of the WiFly module. It describes the techniques to put the
module in sleep, wake up from sleep and methods to open a TCP connection when awake. We also discuss
the uart flow control, alternative GPIO functions and Real Time Clock.
The table below describes the possible methods of putting the module to sleep.
Method
Interface
Description
sleep
command
UART
Get into command mode using $$$ and issue the sleep command
Sleep Timer
Internal RTC
Puts the module to sleep based on the set sys sleep <secs> command
Drive GPIO 8
HIGH
GPIO 8
Puts the module to sleep as soon as GPIO 8 is held HIGH (4 µsec latency).
To enable this feature, use the set sys trigger 0x20.
To wake up the module from sleep, following options are available:
Method
Type
Description
Sensor Input
(1.2VDC
ONLY)
Sensor Pins
You can wake up the module on sensor pins 0-3 (1.2V ONLY). Use the set
sys trigger <value> command to enable.
Rx Pin
(3.3VDC
ONLY)
RX pin via
Sensor 0
The RX pin on the RN-134 and the RN-174 development boards is tied to
sensor pin 0 via a resistor divider network.
Use set sys trigger 1 command to wake up on RX data.
NOTE: You may drop the first byte of uart data. A better way is to wake up
the module on CTS pin.
CTS Pin
(3.3VDC
ONLY)
CTS pin via
Sensor 1
The CTS pin on the RN-134 and the RN-174 development boards is tied to
sensor pin 1 via a resistor divider network.
Use set sys trigger 2 command to wake up on CTS.
Wake Timer
Internal RTC
Wakes up the module from sleep based on the set sys wake <secs> command
FORCE
AWAKE
FORCE
AWAKE pin
Input pulse of at least 31 secs duration (3.3V) will wake up the module.