The Tech Series data radio modems are high performance, long-range, rugged, modular data radio modems available for use on any of the UHF, VHF, 220MHz, or 916MHz bands.
With its field-configurable I/O interface, the Tech Series can be configured for RS-232, RS-422, RS485, USB, GPIO, FIO or Analog interfaces in house or in the field as needed. Here is the GPIO.
The RV-M22 miniature low-cost data radio with the GPIO interface is available in License Free ISM band spread spectrum.
Tech Series GPIO Interfaces use the same IO connector as the RS-485, and has serial IO and General Purpose IO functions that are software configurable. .
The 3 GPIO terminal pins can be configured as:
A: Digital TTL Input,
C: Open Drain MOSFET output,
D: DC Power switch output.
E: Analog Input.
Type commands into the radio to configure the GPIO terminals, in the command mode. And two of the terminal pins are for RS-232 communication.
Use a Tech Series long-range wireless data radio with the GPIO interface to monitor Sensors to Monitor remotely.
All Terminal pins on this GPIO Terminal are:
|Pin #||Name||Direction||Function||Level / Specification|
|1||RX||In||Serial data Input||RS232 Receive Input|
|2||TX||Out||Serial Data Output||RS232 Transmit Output|
|3||IO1||I/O||I/O Pin 1||Configurable General Purpose IO (GPIO). Does not support DC Switched output mode (D).|
|4||IO2||I/O||I/O Pin 3||Configurable General Purpose IO (GPIO)|
|5||IO3||I/O||I/O Pin 3||Configurable General Purpose IO (GPIO)|
|6||GND||–||Ground||Connect to earth ground.|
An RS232 serial data cable can be connected to pins 1, 2, and 6 to configure the internal radio modem and the MIMIC mode features.
See the RV-M21 user manual for information on how to wire an RS232 DB9 connector to the GPIO connector.
You can contact Raveon to have the device pre-configured when it is purchased, so that the RS232 serial IO pins are not required to be use.
The GPIO Tech Series data radio modem can be configured into the MIMIC mode. MIMIC mode lets two data radios mimic each other.
One is them is a Master, with inputs that are sent over the air to the Slave. The Slave outputs the data, and sends and Acknowledgement back to the Master.
MIMIC as a great way to remotely control relays, lights, valves, or whatever, over a long distance (up to many miles). Using this wireless data connection being MIMICED is easy to remotely control.
And the master get and ACK so its status LED can show the status of the Slave’s outputs.
The radio will auto-detect the GPIO board and set all necessary parameters to enable it. By default, the IO pins are set to digital inputs. When configuring the pins, make sure nothing is connected to them until the IO pins are all properly configured.
IOPIN XX M is the command to set the GPIO bits on the Tech Series GPIO front panel to inputs or outputs.
XX parameter are the Hexadecimal representation of the pins being configured. For example, to configure bits 0 and 1, XX should be set to 3. FYI: GPIO pin #4 is called IO2 and is designates as XX bit 1, which is XX=02.
Summary of Input and Output functions.
The General Purpose IO pins 3, 4, and 5 can be configured with built-in commands to be either digital inputs, digital outputs, analog inputs, switched DC power output, open-drain outputs.
Digital Input Specifications:
Low-level input voltage: Less than 0.5V
High-level input voltage: Greater than 2.2V
Input resistance: 5K-10K pull-down resistance.
Digital Output Specifications:
Low-level Output voltage: Less than 0.5V
High Level Output Voltage: 3.0 – 3.3V
Output resistance: 250 ohms
Open Drain Output Specifications:
Low-level Output voltage, on: 0V to 0.5V drawing less than 2.1A.
Open drain off leakage resistance 500uA, 0-5V, < 1mA 5-20V.
High Level Output Voltage, off: 0 – 20V
Output resistance, on: <250 milli ohms to ground
Switched DC power output: (IO2 and IO3) IO1 does not have this capability.
Output voltage, on: Same as DC input, 90%-100%. (Most radio support 12-28 VDC)
Maximum Output Current 2.0 amps
On state internal resistance 100-250mOhms.
Maximum reverse input voltage when off DC input + 150mV
Off output off leakage resistance 5-200uA
High Level Output Voltage, off: Same limit as RF board within the M21 enclosure.
Output resistance, on: <250 milli ohms to ground[:]
Raveon’s Application AN230(ModbusMx) document describes in detail how Raveon’s Tech Series products can handle MODBUS type messages.
Controlling the GPIO and FIO interfaces on Tech Series products
The SCADA and Telemetry features in the M8, M6, and Tech Series radio modems can be controlled using a number of mechanisms:
- Local commands. Issue commands using a serial port to read and manage Telemetry parameters. Use WMX feature or RPR command to remotely manage a telemetry feature.
- Over the Air commands. Commands to set or read I/O Telemetry parameters can be sent over the air using WMX built commands or manually in the command mode with the RPR command from a remote radio modem.
- Modbus. Digital I/Os may be managed using MODBUS type commands. This document describes how to do this. MODBUS is a registered trademark of MODICON, Inc. This industry standard protocol has many user applications from many companies to control devices that process Modbus messages like Raveon’s radio modems do.
- MIMIC. Two radio modems can be setup to MIMIC each-others IO pins. In the MIMIC mode, the state of one device’s input pin is automatically transferred to the other device’s output pin. It does that at configurable intervals, and with default settings. MIMIC communications is great for sending switch status to remote devices.
- Auto Report. IO status and registers can be automatically reported at configurable report rates and preset thresholds.
These SCADA features within Raveon’s wireless modems have many features and advantages:
- Security. Over-the-air data communication can be encrypted with AES. Each radio modem can have encryption enabled, so no 3rd party can access the wireless system.
- Radio IDs. All Raveon data radio modems have a 16 bit ID code in them and address mask. IDs can be used to ensure which radio talks to which radio, or to setup radios in groups. A listen address is also included in each radio so broadcasts to specific groups is easy.
- Repeater. All Raveon data radio modems have a store-forward option, that can be configured by ID and groups of IDs so a radio modem can be used to store and forward messages.
- GPS location. All Raveon data radio modems have a GPS option for location and can be configured to periodically report their location and status.
- TDMA. All Raveon data radio modems have a GPS option for location and TDMA timing. If fast updates are needed, TDMA slot timing is very efficient and ensure no RF interference.
Watchdog. All Raveon product incorporate a hardware watchdog timer, to fully reset the product in case some electrical or firmware problem exists. The makes remote systems very reliable.
A SCADA master controller can connect to an RV-M21 Raveon data radio modem, to send messages over the air to another RV-M21 modem with the GPIO interface, so the Master can read inputs or control outputs.