> 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/qtech/wireless-remote-control/wp2p-analogue-digital/install-and-wire.md).

# Install and wire

Mounting, antenna, analogue jumpers, inputs, outputs and power.

{% hint style="info" %}
**Applies to:** WP2P Analogue & Digital, Revision E (PD8812E-WP2P-A), user guide V1.9.
{% endhint %}

![WP2P Analogue & Digital module](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FIGJGwjWrEWOzVJLDurY1%2Fwp2p-da-hardware.png?alt=media)

| Feature | Function                                                                                                                  |
| ------- | ------------------------------------------------------------------------------------------------------------------------- |
| A       | Power input (nominally 12 V DC)                                                                                           |
| B       | USB Type Mini B – Firmware upgrade and configuration                                                                      |
| C       | Antenna connector (SMA)                                                                                                   |
| D       | I/O pairs (signal/ground): RLY1, RLY2 relay contacts; INP1, INP2 digital inputs; AIN analogue input; AOUT analogue output |
| E       | Mode pushbutton                                                                                                           |
| F       | LINK Indicator LED (device link communications state)                                                                     |
| G       | STAT Indicator LED (device status and power on indicator)                                                                 |

## Before you start

To comply with the New Zealand and Australian wiring regulations the WP2P cannot be connected to any external Voltages exceeding 32 Volts AC or DC. To connect to or control higher Voltage equipment please consult a Registered Electrician.

Analogue I/O is more complex than digital I/O – please familiarise yourself with the options and jumper settings before wiring.

## 1. Mount the modules

* For indoor mounting, the device should be mounted onto a flat surface using the Qty 4x M4 fixing holes at \~102mm x 50mm centres.
* Where the device is to be operated outside or in other adverse site conditions, then, the device should be housed in an appropriate plastic enclosure. For outdoor mounting, use the RSS01 solar charging environmental enclosure and follow the installation guide for that product. Alternatively use a minimum of IP65 rated enclosure to suit the device and any additional equipment to be housed, ensuring that all cables use suitable cable glands.
* If the WP2P is to be enclosed in a metal cabinet then an optional external antenna will be needed. Please contact QTech for alternative antenna details and advice.
* Avoid mounting in locations that may be subject to shock or vibration or temperature extremes.

## 2. Connect the antenna

Each module is supplied with a stub antenna that will provide an operating range of up to 350 meters, dependent upon terrain and obstacles such as trees and buildings. Optional higher gain, long range antennas are available. Please contact QTech for details and advice. See [Line of sight and antennas](https://help.qtech.co.nz/qtech/wireless-remote-control/planning-and-design/line-of-sight-and-antennas.md).

{% hint style="warning" %}
**Warning:** Do not operate the device without an antenna attached. Do not substitute antennas; use only those antennas recommended by your equipment supplier. Failing to comply with these requirements can damage the device. Never operate the devices in violation of RSM conditions. AS/NZS 4268:2008 specifies a maximum EIRP of 1 watt.
{% endhint %}

## 3. Set the analogue jumpers

The WP2P-DA device uses internal jumpers to configure the style of analogue input or output: either **voltage** or **current**. The factory default configuration is for current loop operation. There are two options that can be set - Voltage or Current, but no range setting.

1. Remove the top cover by carefully prising it off its retaining dimples.
2. Find the jumpers:
   * **AIN (input):** The analogue input jumpers consist of a two-pin jumper header and a three-pin jumper header designated on the board as AIN. The two jumpers closer to the relays set the input option.
   * **AOUT (output):** The analogue output jumpers consist of two three-pin jumper headers designated on the board as AOUT. The two jumpers next to the isolation transformer (the black box) set the output option.
3. Set them as in the table.

![Analogue jumpers on the WP2P Analogue & Digital circuit board](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FzdkT4QDYzPjv9eG9xm0H%2Fwp2p-da-analogue-jumpers.jpg?alt=media)

| Function                | Jumper settings                                                                                             |
| ----------------------- | ----------------------------------------------------------------------------------------------------------- |
| 0–10 V analogue input   | Remove the jumper from the 2-pin header. Insert the jumper in the three-pin header at the end marked **V**. |
| 0–20 mA analogue input  | Insert the jumper in the two-pin header. Insert the jumper in the three-pin header at the end marked **I**. |
| 0–10 V analogue output  | Insert both the jumpers in the three-pin headers at the end marked **V**.                                   |
| 0–20 mA analogue output | Insert both the jumpers in the three-pin headers at the end marked **I**.                                   |

## 4. Wire the digital inputs

The inputs (Labelled INP1 and INP2) are electrically isolated, normally open inputs. They are connected to suitable mechanical switches, contacts and other closure devices. An input is active or **ON** when the input switch is closed and inactive or OFF when the input switch is open. WP2P modules operate by copying the state of each switch input to the corresponding relay output on the other WP2P module.

![A switch across the INP1 terminals](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FvNWtodRrorF1V2csza4c%2Fwp2p-input-switch.jpg?alt=media)

{% hint style="danger" %}
**Warning:** Only mechanical switches or mechanical closure devices should be connected to the inputs. No external voltage or other electrical source is to be connected to the inputs.
{% endhint %}

## 5. Wire the relay outputs

The output relays (Labelled RLY1 and RLY2) are normally open contacts that are rated at a maximum of **2 Amps and 32V DC**. The relays are internally protected by solid state snubbers for operating with inductive loads. For high current or high voltage applications, suitable interface relays are required. Interface relays also improve future serviceability and provide flexibility for when electrical design changes occur. See [Interface relays and latching valves](https://help.qtech.co.nz/qtech/wireless-remote-control/planning-and-design/interface-relays.md).

![A lamp and DC supply switched by the RLY1 contacts](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fs0C4IfLoVC6YgmY0jB7b%2Fwp2p-output-relay.jpg?alt=media)

{% hint style="danger" %}
**Warning:** Do not directly connect to 220V AC voltage. The New Zealand and Australian wiring regulations require that any wiring in excess of 32 volts must be carried out or be certified by a registered electrician. Consult your local electrical installer for further guidance.
{% endhint %}

## 6. Wire the analogue input and output

The WP2P – Digital & Analogue operates by copying the analogue input value to the analogue output on the other module.

| Module 1                                                                                                                                                                                                        | Module 2                                                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![0–20 mA signal into AIN](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F22fKye3cNTxbMURqoLzn%2Fwp2p-da-analogue-input.jpg?alt=media) | ![0–20 mA signal out of AOUT](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FZPvPWoSmURoTnfPOoTvA%2Fwp2p-da-analogue-output.jpg?alt=media) |

The analogue I/O operates over a range of 0-20mA, which makes the WP2P – DIGITAL & ANALOGUE modules compatible with the industry standard 4-20mA range, which allows detection of an open circuit failure. The Analogue I/O has 12 bit resolution, a stated accuracy of +/-1% FSD and is sampled once per second.

### 0–20 mA wiring

![Input and output wiring diagram for 0–20 mA analogues](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FEnDOMcLc25Sl07xRa8rm%2Fwp2p-da-wiring-0-20ma.png?alt=media)

Please note the polarity of the Analogue I/O terminals and how the 4-20mA devices need to be connected.

### 0–10 V wiring

![Input and output wiring diagram for 0–10 V analogues](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FgASSH6apWU30SWLhWh4q%2Fwp2p-da-wiring-0-10v.png?alt=media)

Please note the polarity of the Analogue I/O terminals and how the 0-10V devices need to be connected.

## 7. Connect the power

The WP2P MODULE operates from a nominal 12 Volt DC power supply. The power connector is a 2.1mm DC Socket, centre pin positive. The supply voltage should be clean, continuous and transient free with an output of 12V DC +/- 1.5V DC. The WP2P-DA incorporates reverse and overvoltage protection.

The absolute maximum supply voltage is **13.8V DC** and any solar/battery design needs to take this into account. Before using any device in a solar powered system please check our “Solar Application Note” on our website. Explicit consideration must be given to the maximum voltage and voltage regulation to prevent damage.

{% hint style="warning" %}
**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.
{% endhint %}

Suitable cost-effective plug packs are available from QTech P/N PD5412, PD5413 & PD5414.

**Over-voltage protection:** The device is over voltage protected by a 13 Volt Zener Diode ‘crowbar’ that will conduct and blow the internal fuse for voltages >14V. The device will tolerate 13.8V but will begin to draw excessive current and blow the fuse at input voltages >14.6V.

**Current draw:** Average current consumption is \~42mA, which can be used as a guideline to assist with standby battery capacity calculations. Note Analogue outputs in current mode use 20mA to service a 4-20mA loop interface. Solar systems utilising a solar charged battery backup facility are provided by the RSS01 or RSS02 product.

## Internal fuse

The device is protected by a 20mm x 5mm 500mA fast blow fuse. This is located on the internal circuit board. This fuse will blow if the power supply maximum voltage is exceeded.

To replace it:

1. To access the fuse, remove the top cover by carefully prising it off its retaining dimples.
2. Only replace the fuse with an identical type, do not use alternatives.

## Next

[Set up and check it is working](https://help.qtech.co.nz/qtech/wireless-remote-control/wp2p-analogue-digital/set-up-and-check.md)
