RFD radio modem software manual For RFD900A, RFD900u, RFD900+ radio modems



Similar documents
MANUAL FOR RX700 LR and NR

RN-XV-RD2 Evaluation Board

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

DragonLink User Guide

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Using Xbee in Serial Communication

How to setup a serial Bluetooth adapter Master Guide

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Bluetooth to Serial Adapter

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Bluetooth for device discovery. Networking Guide

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

Part Number Description Packages available

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Link Link sys E3000 sys RE1000

F2103 GPRS DTU USER MANUAL

A RF18 Remote control receiver MODULE

SPROG DCC Decoder Programmer

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

DECT Module UM-9802 Datasheet

[WIR-1186] 865MHz-869MHz Wireless Module(version 3.0) (3.3V)

Testing Data Radio Modem with Serial Port Tool V1.20

Configuring IP to Serial with Auto Answer and Serial to IP

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

WRE6505. User s Guide. Quick Start Guide. Wireless AC750 Range Extender. Default Login Details. Version 1.00 Edition 1,

HAC-LM Series Low Power Data Radio Module

A6210 WiFi USB Adapter ac USB 3.0 Dual Band User Manual

Flight Controller. Mini Fun Fly

Ethernet Radio Configuration Guide

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Rev GSM base station. Installation instructions

Serial to Bluetooth Adapter

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

Serial Communications

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

Bluetooth UART/RS232 Module

Troubleshooting and Diagnostics

PM1122 INT DIGITAL INTERFACE REMOTE

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Quick start: Energy Switch EU

LS-101 LAN to Serial Device server. User s Manual

Web Site: Forums: forums.parallax.com Sales: Technical:

Bluetooth HC-06 with serial port module Easy guide

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

OPERATING INSTRUCTIONS Model ST-888 DTMF ANI/ENI Display Decoder

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz

How to setup the UCW232C Serial WiFi adapter

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

APR-PRT3 Printer Module: C-Bus Programming Instructions

Advanced Data Capture and Control Systems

HAC-UM Series SHENZHEN HAC TECHNOLOGY CO., LTD. HAC-UM Series. Version 2.3C SHENZHEN HAC TELECOM TECHNOLOGY CO., LTD

AutoWAVE. Programming Instructions P/N Part of Thermo Fisher Scientific. Revision D

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

PRT3 Printer Module: ASCII Protocol Programming Instructions

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

TTL-232R-3V3 USB to TTL Serial Converter Cable

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

User Manual. AS-Interface Programmer

Single channel data transceiver module WIZ2-434

DAB1001. Wireless Digital Radio Interface. Installation & User Guide

PMAfob Home Automation Demo

GPS/GLONASS SiRFstarV Evaluation Kit EVA5100-A

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

Software User Guide UG-461

Quectel Cellular Engine

Secure Ethernet Gateway SEG-1 and SEG-M for IEI Access Systems Installation Manual

Setting Up the ZigBee Ethernet Gateway

Bidirectional wireless communication using EmbedRF

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

N600 WiFi USB Adapter

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

RC2200DK Demonstration Kit User Manual

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

2012 uptimedevices.com

Work with Arduino Hardware

In-Car Digital Radio Adaptor User Guide

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

N300 WiFi Range Extender

When we look at the connector pinout of the RS232 port, we see two pins which are certainly used

Operation and Maintenance Terminal (OMT 1.2) User s Manual for use with MPW

Keep it Simple Timing

Quick Start. Nighthawk X8 AC5300 Tri-Band WiFi Router Model R8500. Package Contents. NETGEAR, Inc. 350 East Plumeria Drive San Jose, CA USA

GPRS M-Bus Master. User Manual. An Economical and Practical Solution For Remote Automactic M-Bus Smart Meter Reading by GPRS In The Worldwide!

Cisco Aironet Wireless Bridges FAQ

T3 Mux M13 Multiplexer

Remote Serial over IP Introduction on serial connections via IP/Ethernet

LoRa FAQs. 1 of 4 Semtech. Semtech Corporation LoRa FAQ

FLYPORT Wi-Fi G

FAQs. Conserve package. Gateway... 2 Range Extender... 3 Smart Plug... 3 Thermostat... 4 Website... 7 App and Mobile Devices... 7

PCS0100en Persy Control Services B.V. Netherlands

User Manual. PePWave Surf / Surf AP Indoor Series: Surf 200, E200, AP 200, AP 400. PePWave Mesh Connector Indoor Series: MC 200, E200, 400

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

1 Technical Description Lokal-200PC

PRORAE REMOTE HOST CONTROLLER: COMMUNICATION TROUBLESHOOTING GUIDE

S88XPressNetLI v1.0. Installation, user and reference manual KDesign Electronics, PCB design by RoSoft

Transcription:

RFD radio modem software manual For RFD900A, RFD900u, RFD900+ radio modems RFDesign Pty Ltd 6/97 Jijaws Street Sumner Park, QLD 4074 rfdesign.com.au

1. Pin Signals and Layout... 3 a) RFD900a... 3 b) RFD900u... 4 2. Software/GCS Support... 5 3. AT Commands... 6 a) Status Commands... 6 b) User Pins... 7 c) Dynamic transmit power control.... 8 d) Parameters... 9 4. Air Data Rate... 10 5. Network Options... 11 6. Frequently Asked Questions (FAQ)... 12 7. Useful Links... 13 2 RFDesign Pty Ltd 16/06/2014

1. Pin Signals and Layout a) RFD900a Pin # Name Direction Description Max Voltage 1 GND Power Ground 0V 2 GND Power Ground 0V 3 CTS Either Clear to send 5V 4 Vcc Power Power supply 5V 5 Vusb Power Power supply from USB 5V 6 Vusb Power Power supply from USB 5V 7 RX Input UART Data In 5V 8 P2.3 Either Digital I/O 5V 9 TX Output UART Data Out 5V 10 P2.2 Either Digital I/O 5V 11 RTS Either Request to send 5V 12 P2.1 Either Digital I/O 5V 13 P0.1 Either Digital I/O 5V 14 P2.0 Either Digital I/O 5V 15 P2.6 Either Digital I/O 5V 16 GND - Ground 0V Figure 1.1: Physical Pin Layout of the RFD900 Radio Modem Pin 1 of the FTDI cable (black wire) should connect to pin 1 of the RFD900 header. In order to power the modem from the +5V USB power, a jumper is needed to connect pins 4 and 6. To power the modem from an external +5V supply, connect the power to pins 2 and 4 as shown in Figure 1.1. In case there is need to force the modem into boot mode, short circuit pads 1 and 2 (labelled BOOT) on the 9 way test pads. When in boot mode, the RED LED will be dimly lit. 3 RFDesign Pty Ltd 16/06/2014

b) RFD900u Pin # Name Colour Direction Description Max Voltage 8 GND Black Power Ground 0V 7 CTS White Either Clear to send 5V 6 Vcc Red Power Power supply 5V 5 RX White Input UART Data In 5V 4 TX Blue Output UART Data Out 5V 3 RTS White Either Request to send 5V 2 P1.0 Blue Either Digital I/O 5V 1 P1.1 Black Either Digital I/O 5V Table 1:1 Description on 8 Pin Connector Pin 1 Pin 8 Figure b.1 Bottom Pin Layout Pin 8 Pin 1 Figure b.2 Top Pin Layout Figure b.3 Physical Pin Layout In case there is need to force the modem into boot mode, short circuit Pins 1 and 2 or Pads labelled CTS and GND on the back of the modem (BIG Pads on edge of board). 4 RFDesign Pty Ltd 16/06/2014

2. Software/GCS Support The software solution (see Useful Links) is an open source development, which is also compatible with RFD900 Modem Tools (see Useful Links) and the 3DR Radio Configuration (see Useful Links) from 3D Robotics. It is called SiK and was created by Mike Smith and improved on by Andrew Tridgell and RFDesign. A boot loader and interface is available using RFD900 Modem Tools and field upgrade of the modem firmware via the serial port. The RFD900 Radio Modem is compatible with many configuration methods like the AT Commands and APM Planner. The AT Commands can be used to change parameters such as power levels, air data rates, serial speeds etc. Integrated support for configuring the RFD900 Radio Modem is supported by the APM Planner, with other GCS solutions in development. Its default serial port settings are as follows: 57600 baud rate No parity 8 data bits 1 stop bit The RFD900 Radio Modem has many software features which include: Frequency Hopping Spread Spectrum Transparent Serial Link Configuration by simple AT commands for local radio, RT Commands for remote radio User configurable serial data rates and air data rates Error correction routines, Mavlink protocol framing (user selectable) Mavlink radio status reporting (Local RSSI, Remote RSSI, Local Noise, Remote Noise) Automatic antenna diversity switching on a packet basis in real time Automatic duty cycle throttling based on radio temperature in order to avoid overheating 5 RFDesign Pty Ltd 16/06/2014

3. AT Commands The RFD900 modem can support the Hayes AT modem command set for configuration. The AT command mode can be entered by using the +++ sequence. When doing this, you have to wait for 1 second before and after entering the command mode in order to prevent data being interpreted as data. When you are successfully in the AT command mode, an OK prompt will be displayed on the screen and the RFD900 modem will stop displaying information from the other modem. Whilst in AT mode, you can use the AT commands to control the local RFD900 modem or the RT commands to control the remote modem. To set certain registers to a particular value, follow these steps: Use the command ATn=X where n is the register number including the first character and X is the value you want to set the register to. Use the command AT&W to write the new values to the RFD900 modem. Use the command ATZ to reboot the RFD900 modem. a) Status Commands Table 3:1 shows a table that gives a list of AT commands and their description. AT Command ATI ATI2 ATI3 ATI4 ATI5 ATI6 ATI7 ATO ATSn? ATSn=X ATZ AT&W AT&F AT&T=RSSI AT&T=TDM AT&T Description Shows the radio version Shows the board type Shows board frequency Shows board version Shows all user settable EEPROM parameters Displays TDM timing report Displays RSSI signal report Exits AT command mode Displays radio parameter number n Sets radio parameter number n to X Reboots the radio Writes current parameters to EEPROM Resets all parameters to factory defaults Enables RSSI debugging report Enables TDM debugging report Disables debugging report Table 3:1 AT Status Commands 6 RFDesign Pty Ltd 16/06/2014

Table 3:2 shows a table that gives a list of RT commands and their description. The x parameter is optional where x is the node ID when using version 2. For example: use RTI,1 to get RTI value for node 1 or simply use RTI to get the RTI value for the node set in the local NODEDESTINATION (see RFD900 Parameters in Table 3:5). AT Command RTI[,x] RTI2[,x] RTI3[,x] RTI4[,x] RTI5[,x] RTI6[,x] RTI7[,x] RTO[,x] RTSn? [,x] RTSn=X[,x] RTZ[,x] RT&W[,x] RT&F[,x] RT&T=RSSI[,x] RT&T=TDM[,x] RT&T[,x] Description Shows the radio version. Shows the board type Shows board frequency Shows board version Shows all user settable EEPROM parameters Displays TDM timing report Displays RSSI signal report Exits AT command mode on the remote node Displays radio parameter number n Sets radio parameter number n to X Reboots the radio Writes current parameters to EEPROM Resets all parameters to factory defaults Enables RSSI debugging report Enables TDM debugging report Disables debugging report Table 3:2 RT Commands and their description b) User Pins User Pins, this allows the user to control the extra pins on the modem with AT commands or RT through the radio link. AT Function Description Command PP Print Print all Pin Settings PI=x Input Set Pin x to Input PR=x Read Read Pin X value (When set to input) PO=x Output Set Pin x to Output (Default) can only be controlled by ATPC PC=x,1 Control Turn pin x on - Output Mode / Set internal pull up resistor - Input Mode PC=x,0 Control Turn pin 2 off - Output Mode / Set internal pull down resistor - Input Mode Table 3:3 RT Commands and their description Pin RFD900 Port RFD900u Port 0 2.3 1.0 1 2.2 1.1 2 2.1 3 2.0 4 2.6 5 0.1 Table 3:4 Pin to Port Map 7 RFDesign Pty Ltd 16/06/2014

c) Dynamic transmit power control. By setting R0 and R1 in Table 3:5 the modem is able to change its transmit power level automatically to reduce current consumption while maintaining a good RF link. This is done by checking the signal strength of the link and adjusting the transmit power up and down as required. The maximum transmitted power will never exceed the setting in register (S4: transmit power). By default, register R0 (RSSI target) is 255, which will drive the modem to its maximum permissible power level. The RSSI target (R0) and RSSI Hysteresis (R1) values need to be tested in the application to determine suitable link margin is maintained. An initial starting points for dynamic power control are: R0 = 150, R1=20. Typical ranges of RSSI in a link are: ~40-60 to maintain a link, >60 for data transmission, =217 for maximum reportable RSSI on the RFD900. A target RSSI of 150 will give a good starting point for link tuning. In the event the modems lose link, they will revert to maximum set power (S4). 8 RFDesign Pty Ltd 16/06/2014

d) Parameters Table 3:5 shows a table with details about the parameters that can be set in the RFD900 modem. Reg# S Register Description Default Val Min Val Max Val Must be same on all modems in network S0 FORMAT This is for EEPROM version, can t be changed Firmware V N/A N/A No S1 SERIAL_SPEED Serial speed in one byte form 57 2 115 No S2 AIR_SPEED Air data rate in one byte form 64, 128 1 2 250 Yes S3 NETID Network ID. It should be the same on both 25 0 499 Yes modems S4 TXPOWER Transmit power in dbm. Maximum is 30dBm 20, 27 1 0 30 No S5 ECC 3 Enables or disables the golay error correcting 0 0 1 Yes code S6 MAVLINK 4 Enables or disables the MAVLink framing and 1, 0 1 0 1 No reporting S7 OP_RESEND 5 Opportunic Resend 0 0 1 No S8 MIN_FREQ Min freq in KHz 915,000 902,000 927,000 Yes S9 MAX_FREQ Max freq in KHz 928,000 903,000 928,000 Yes S10 NUM_CHANNELS Number of frequency hopping channels 50, 20 1 5 50 Yes S11 DUTY_CYCLE The percentage of time to allow transmit 100 10 100 No S12 LBT_RSSI Listen before talk threshold 0 0 1 Yes (This parameter shouldn t be changed) S13 MANCHESTER Manchester encoding (This parameter shouldn t 0 0 1 Yes be changed) S14 RTSCTS Ready To Send and Clear To Send (This 0 0 1 No parameter shouldn t be changed) S15 NODEID 2 Node ID. Base node ID is 0. One node must be 2 1 0 29 N/A acting as a base for a multipoint environment to work. NODECOUNT must be updated first before updating this parameter with bigger number. S16 NODEDESTINATION Remote node ID to communicate with. Set the 65535 1 0 29 No 2 value to 65535 to broadcast to all nodes. Cannot be the same as NODEID. NODECOUNT must be updated first before updating this parameter with bigger number. S17 SYNCANY 2 If set to 1, allows the modem to send data to all 0 1 0 1 No non- base nodes without finding the base. It is strongly recommended to set the value to 0 to avoid unwanted data communication confusion on a multipoint environment. S18 NODECOUNT 2 The total number of nodes. 3 1 2 30 Yes R0 TARGET_RSSI Optimal RSSI value to try to sustain (off = 255) 255 50 255 No R1 HYSTERESIS_RSSI Amount of change before power levels altered 50 20 50 No Table 3:5 RFD900 parameters Notes: 1 Defaults for firmware version 2.* and later 2 Available only for firmware version 2.* and later 3 ECC - Software Detection and correction, extra packet information (twice the packet length) is sent to allow the recovery of corrupted packets. 4 Injects RSSI packet when Mavlink protocol used and heartbeat packet detected. 5 Opportunicresend allows the node to resent packets if it has spare bandwidth. 9 RFDesign Pty Ltd 16/06/2014

4. Air Data Rate An air speed of 64kps will give a range of about 40km depending on antenna. If the air speed is set to be lower, the range of the wireless link increases but the amount of data that you can send will be limited. Therefore one has to compromise between range and data rate. The data rates that you can choose are only limited to 2, 4, 8, 16, 19, 24, 32, 48, 64, 96, 128, 192 and 250. The air data rate is chosen depending on: the range that you need the data rate that you will be sending whether you send data in one direction or both whether you have enabled ECC or not whether you have APM firmware with adaptive flow control 10 RFDesign Pty Ltd 16/06/2014

5. Network Options RFD900 can be implemented in either simple pair (V1.x, V2.x) or multipoint network (V2.x Only). Node 0 Node 1 Figure 5.1: Two- node Network Setup Node 0 Node 1 (SyncAny = 0) Node 2 Node 3 Node 4 (SyncAny = 1) Figure 5.2: Five- node Network Setup A few notes on the multipoint network (see Figure 5.2): In order for Node 1 to communicate with Node 2, it has to be able to see Node 0 (the base) and Node 2 If Node 4 cannot see Node 0, to communicate with Node 1, it has to be able to see Node 1 and set the SyncAny parameter to 1 (refer to Figure 8.3: RFD900 parameters). Please note that there is a maximum number of one node which can have SyncAny = 1 parameter in a network to avoid data corruption. More nodes will reduce the bandwidth. 11 RFDesign Pty Ltd 16/06/2014

6. Frequently Asked Questions (FAQ) i) What does a solid RED LED mean? The modem is in bootloader mode, ready to accept firmware. Please use the modem configuration tool to upload the latest version. ii) How many antennas do I need to use? One is the minimum. Two is recommended. iii) How do I connect the FTDI cable to the modem? The black cable of the FTDI (pin 1) should connect to pin 1 on the modem (see above) iv) What do I need to upload the firmware or to change the modem configuration? Download the latest firmware (see Useful Links). Download the RFD900 Modem Tools (see Useful Links). Connect the FTDI cable to the modem and to a computer. Use the RFD900 Modem Tools to upload the latest firmware or to change the modem configuration (see RFD900 Modem Tools User Manual). v) What should I do if the RFD900 Modem Tools application keeps giving me back error messages? Make sure to connect the FTDI cable firmly into the modem. Make sure you choose the correct COM port from the COM dropdown box and the correct Baud Rate. Try for two more trials and if it still doesn t work, disconnect and reconnect the modem. vi) I upgraded to V2.x firmware and the modems don't connect anymore? The default setting for a modem is to have a NODEID set to 1. A network must have one node set to 0 to be the base. The base node defines the synchronisation for the whole network of nodes. vii) How do I configure 2 base stations and one Airborne platform with 3 modems? Set the Airborne platform as follows: NODEID = 0 NODEDESTINATION = 65535 MAVLINK = 1 Set the ground station as follows: NODEID = 1 or 2 NODEDESTINATION = 0 MAVLINK = 1 12 RFDesign Pty Ltd 16/06/2014

This will allow the airborne modem to handover to multiple ground stations as it flies from the coverage area of one ground station, to another. Both ground stations can be connected and can control the Airborne platform simultaneously. (APM Planner using Mavlink) 7. Useful Links viii) RFD900 Firmware http://rfdesign.com.au/firmware/ V1.x firmware is standard SiK (open source) V2.x firmware is multipoint SiK (MP SiK) ix) RFD900 Modem Tools http://rfdesign.com.au/downloads/ FTDI Cable http://www.ftdichip.com/support/documents/datasheets/cables/ds_ttl- 232R_CABLES.pdf x) Software Solution Sik V1.x https://github.com/rfdesign/sik xi) 3DR Radio Configuration Tool http://vps.oborne.me/3drradioconfig.zip 13 RFDesign Pty Ltd 16/06/2014