> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio/install-and-wire.md).

# Install and wire

Antenna, power, RS232 and RS485 connections, jumpers and RS485 termination.

Do not apply power to the QDR before connecting the antenna. The radios are supplied pre-configured and with a suitable cable for these modes of operation.

{% hint style="info" %}
**Applies to:** QDR 900MHz Digital Radio, all product codes. For the settings, see [Set up and configure with Workbench](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio/set-up-and-configure.md).
{% endhint %}

![QDR connections: power and antenna at one end; USB, RS232, RS485 and the status lights at the other](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FjKroAWHJKCtAF9tZpdAq%2Fqdr-connections.png?alt=media)

{% hint style="danger" %}
**Never operate the QDR without an antenna connected.** If the radio transmits without an antenna, the RF power has nowhere to go but back into the radio, which will damage it.
{% endhint %}

## Before you start

* **Antenna:** the QDR must be connected to PD9241 900MHz 3dBi Whip Antenna at a minimum. Outdoor line of sight is up to 3km with a 3dB whip antenna and up to 6km with a 6dB Yagi antenna (PD9225). See [Line of sight and antennas](https://help.qtech.co.nz/qtech/wireless-remote-control/planning-and-design/line-of-sight-and-antennas.md).
* **Power supply:** the DC power supply MUST have a grounded negative or be a “linear” transformer-based plug pack. Do NOT use Switch Mode Power Supplies (SMPS). Suitable cost-effective plug packs are available from QTech P/N PD5412: see [Power supplies and chargers](https://help.qtech.co.nz/qtech/accessories-and-power/power-supplies-and-chargers.md).
* **Location:** the QDR is IP20. Water contact must be avoided.
* **Cable:** see [RS485 port](#rs485-port) for the RS485 cable differences.

## Install

1. Mount the QDR using the 4 x M4 fixing holes at 130mm centres - 47mm pitch at aerial end, 58mm at connector end.
2. Connect the antenna to the SMA socket.
3. Connect the serial cable from the QDR's RS232 or RS485 port to the device.
4. Connect the power cable to the 2.1 mm DC socket.
5. Turn on the power. The Status LED issues 6 fast flashes to indicate that the QDR has been reset/repowered, then flashes slowly to indicate the QDR processor is running correctly. See [Status lights](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio/status-lights.md).

## Antenna connector

The QDR antenna connector uses the standard/conventional polarity SMA socket. QTech supplies suitable antennas for the QDR with a standard SMA plug.

If using QDRs to upgrade existing systems, such as XTend radios, check the antenna connector. Some radios use a reverse polarity SMA connector, referred to as RP-SMA. A replacement antenna, re-termination or adaptor will be required.

![Standard SMA plug, as used on QDR antenna cables](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fy57IuYhxFCqlsdQUz4nG%2Fqdr-sma-standard.png?alt=media)

![Reverse-polarity RP-SMA plug, which doesn't fit the QDR](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F8uhzdnzIvfDJyDn5LlNh%2Fqdr-sma-reverse.png?alt=media)

{% hint style="warning" %}
The QDR must never be operated in violation of Radio Spectrum Management (RSM) licence conditions. Ensure that the Transmit Power Level and antenna system design do not exceed the limitation. Please be considerate of other users of the ISM Band. AS/NZS 4268:2008 specifies a maximum EIRP of 1 watt. See [900MHz ISM band channels](https://help.qtech.co.nz/datran/datran-telemetry/planning-and-design/900-mhz-ism-band-channels.md).
{% endhint %}

## Power

|                   |                                                |
| ----------------- | ---------------------------------------------- |
| Connector         | 2.1 mm DC socket, centre pin positive          |
| Supply voltage    | 7–28 V DC, 30 V DC absolute maximum            |
| Supply current    | 85 mA standby, 150 mA transmitting, at 12 V DC |
| Fuse              | 1 Amp quick blow type                          |
| Spare power cable | CB-QDR-PWR                                     |

{% hint style="warning" %}
**Do NOT use Switch Mode Power Supplies (SMPS) with this product.** The DC power supply used for this product MUST have a grounded negative or be a “linear” transformer-based plug pack. The reason is that the antenna, programming port and external connections can provide exposed earth points and the SMPS can impose an AC voltage on the DC ground, which can lead to damage. Suitable cost-effective plug packs are available from QTech P/N PD5412.
{% endhint %}

## USB port

The USB Type B socket is used for configuration via Workbench Software on a PC or upgrading the radio firmware. See [Set up and configure with Workbench](https://help.qtech.co.nz/datran/datran-telemetry/radios/qdr-900mhz-digital-radio/set-up-and-configure.md).

## RS232 port

The RS232 port is a DB9 female connector. This is used to connect to RS232 devices. A typical use of this mode would be a DATRAN Master RTU and a Slave RTU. The serial cable is connected from the RS232 port of the QDR to an RS232 port of the RTU. Spare RS232 cables are available, P/N CB-QDR-RS232.

| DB9 pin | Signal | Direction | Description         | RJ45 pin |
| ------- | ------ | --------- | ------------------- | -------- |
| 1       | DCD    | Output    | Data carrier detect |          |
| 2       | RxD    | Output    | Receive data        | 2        |
| 3       | TxD    | Input     | Transmit data       | 6        |
| 4       | DTR    | Input     | Data terminal ready |          |
| 5       | GND    | –         | Ground              | 5        |
| 6       | –      | –         | Not connected       |          |
| 7       | RTS    | Input     | Request to send     |          |
| 8       | CTS    | Output    | Clear to send       |          |
| 9       | RI     | Input     | Ring indication     |          |

Pinout of RS232 Port and interface cable connections. Note: for non-standard installations please contact QTech for advice as there can be variations in the pinout configuration.

## RS485 port

The RS485 port is an RJ12 socket. This is used to connect to RS485 devices in either half or full duplex modes. Line termination resistors are inside the QDR.

| To connect to                                   | Cable            | Ends         |
| ----------------------------------------------- | ---------------- | ------------ |
| A DATRAN XL4 or XL4 Plus RTU                    | CB-QDR-RS485-XL4 | RJ12 to RJ12 |
| Q23 or Q26 expansion modules, and other devices | CB-QDR-RS485     | RJ12 to RJ10 |

### Half-duplex RS485 (2-wire)

A typical use of this mode would be a DATRAN RTU and its remote I/O, Q23 or Q26 (RS485-IPB). The serial cable is connected from the RS485 port of the QDR to the RS485/IPB port of the RTU at a comms speed of 9600bps.

| Jumper | Position |
| ------ | -------- |
| JP3    | In       |
| JP4    | Out      |
| JP5    | In       |
| JP6    | In       |

| QDR pin | XL4 pin | eXcel pin         | Signal | Direction    | Description                |
| ------- | ------- | ----------------- | ------ | ------------ | -------------------------- |
| 1       | 1       | 1 (not connected) | GND    | –            | Ground                     |
| 2       | 2       | 3                 | B      | Input/output | Inverting input/output     |
| 3       | 3       | 2                 | A      | Input/output | Non-inverting input/output |
| 4       | 4       | 4 (not connected) | –      | –            | –                          |
| 5       | 5       |                   | –      | –            | –                          |
| 6       | 6       |                   | GND    | –            | Ground                     |

![Typical half-duplex connection, with 120 Ω termination at each end](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FcFXvdeGARDojiUKvAOs4%2Fqdr-rs485-half-duplex.png?alt=media)

For expansion modules linked by QDRs: for back to back QDRs the RS485 termination resistor jumpers are fitted, and the expansion device between them (in this example a Q26) has the termination resistor jumper (J2) not fitted. See [Expansion modules aren't responding](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/troubleshooting/expansion-modules-not-responding.md).

### Full-duplex RS485 (4-wire)

This mode is used for serial data communications where all four signal lines are required.

| Jumper | Position |
| ------ | -------- |
| JP3    | In       |
| JP4    | In       |
| JP5    | Out      |
| JP6    | Out      |

| Pin | Signal | Direction | Description                  |
| --- | ------ | --------- | ---------------------------- |
| 1   | GND    | –         | Ground                       |
| 2   | B      | Input     | Inverting receiver input     |
| 3   | A      | Input     | Non-inverting receiver input |
| 4   | Z      | Output    | Inverting driver output      |
| 5   | Y      | Output    | Non-inverting driver output  |
| 6   | GND    | –         | Ground                       |

## Jumpers

| Jumper | Function                            |
| ------ | ----------------------------------- |
| JP1    | ISP (in-system programming) enable  |
| JP2    | ISP (in-system programming) enable  |
| JP3    | RS485 120 Ω line termination on A–B |
| JP4    | RS485 120 Ω line termination on Y–Z |
| JP5    | RS485 A–Y link                      |
| JP6    | RS485 B–Z link                      |
| JP7    | RF power amplifier bias disconnect  |

![Jumper positions on the QDR circuit board](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FCtubj9YHyfiv4T0XIUTj%2Fqdr-jumper-positions.png?alt=media)
