User manual

Roving Networks RN-24 V 4.22 5/31/2007 page 2
WARNING: take care not to exceed the voltage limits to the
VCC, TTL SERIAL, and PIO pins.
0 negative voltage or voltage e xceeding 3.30VDC can permanently damage the device.
OPERATING MODES
0-Slave Mode - The default mode, other devices can discover and connect to the RN-24.
1 - Master Mode (SM,1<CR>) Enables outbound connections. To connect, use the “C” command.
2-Trigger Mode (SM,2<CR>) Automatically connects to stored address, when data is received on
local serial port of master.
3-Auto Master Mode (SM,3<CR>) Automatically connects to stored address on power up.
4-DTR Auto Master Mode (SM,4<CR>) Automatically connects/disconnects using PIO6 pin.
NOTE: In all master modes the device will not be discoverable or remote configurable.
LED
MODE GREEN LED BLINK
Configuring Fast, 10 x per second
Boot up, Remote Configurable 2 times per second
Discoverable/Idle 1 time per second
Connected On Solid
YELLOW LED is driven by PIO8 and can be turned ON and OFF with software
commands. RED LED blinks when characters are received in command and slow data
modes.
DATA INTERFACE
The RN-24 can communicate via serial port using either TTL (0-3.3V DC) or RS-232 Levels.
Factory default enables the on-board RS232 chip. To Disable RS-232 and use TTL pins,
remove resistor R7 located on the bottom side of the module, near the tab of the power regulator.
PIO Pins
PIO
Powerup state
0 INPUT 0 Not used
1 INPUT 0 Not used
2 OUTPUT 0 Goes high when connected
3 INPUT 0 Auto discover mode when high
4 INPUT 0 Factory reset when toggled 3 times
5 OUTPUT blinks System status LED
6 INPUT 0 Auto master mode/DTR mode when high
7 INPUT 0 0=115K, 1=9600 default baudrate
These settings can be overridden by commands and the PIO pins can be used as general purpose
Input and output pins.
Roving Networks RN-24 V 4.22 5/31/2007 page 7
INSTANT CABLE REPLACEMENT EXAMPLE:
MASTER SLAVE
1- PIO3 pulled High 1- PIO3 pulled High
2- PIO6 pulled High
1. Set PIO as shown above.
2. Power up both devices
3. Master finds and store slave address, and auto connects.
4. Remove Pullup on PIO3 (so that they don’t try to re-
pair each time power is
cycled).