> 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/cellular-remote-control/sms-controller/install-and-wire.md).

# Install and wire

SIM card, antenna, digital and analogue inputs and outputs, and power.

{% hint style="info" %}
**Applies to:** the SMS Controller (PD8611-4G), all modem module revisions.
{% endhint %}

## What's in the box

* 1x SMS Controller Module (P/N PD8611-4G)
* 1x Antenna (stub type), 2dBi gain (P/N PD9230)
* 1x USB (Type A-B) Programming Cable (P/N CB-USB-AB)

We recommend the QTech plug pack P/N PD5412.

![The I/O terminals: digital outputs, digital inputs and analogue I/O](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FeFTkYiuKUAg3molFJRNY%2Fsmsc-io-terminals.png?alt=media)

## 1. Fit the SIM card

Before you start:

* Before installing the SIM card, ensure that it is activated. We recommend you insert the SIM into a regular cell phone to prove this.
* Rev A and B Modem modules use a Standard SIM card; Rev C modules use a Nano SIM card format. See [Which version do I have?](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/which-version.md)
* The SIM card must also support sending SMS/text messages – do not attempt to use “data only” SIM cards. See [SIM cards](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/sim-cards.md).

Then:

1. Unplug the power connector. You will not be able to remove the cover if the power cable is still connected.
2. Carefully remove the SMS Controller cover by prising the side panels close to the retaining dimples.
3. Locate the SIM card holder adjacent to the antenna.
4. Push the top part of the holder in the direction of the **Open** arrows (away from the antenna).
5. Carefully insert the SIM card from your chosen Telco. Be careful to orientate the card correctly.
6. Close the holder, then slide the plastic retainer towards the antenna to lock it.

![SIM holder: unlock the holder, insert the SIM, close the holder, lock the holder](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FXRue3wpnPzbPM1P4tQDJ%2Fsim-holder-steps.png?alt=media)

## 2. Connect the antenna

Carefully connect the antenna.

{% hint style="warning" %}
**Warning:** Do not operate the SMS Controller without an antenna connected.
{% endhint %}

The reliability of all cellular products is dependent on good signal strength. Before deciding on the Telco to choose, please check coverage. We suggest that a cellular phone is taken to site, to check the signal strength, i.e. how many “bars” are displayed.

The supplied stub antenna (P/N PD9230) should be suitable for locations with good Telco coverage (full bars) and where the SMS Controller is in a non-conductive enclosure (plastic etc). For general advice on antenna placement, see [Signal, networks and antennas](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/signal-networks-antennas.md) on the SMS Lite pages.

## 3. Wire the digital inputs

The digital inputs are normally open inputs that can be 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.
* The digital input LED will light up when the input is ON.

![Digital inputs: a switch between each input and Ground/Negative](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F4xi0nn8maBQVFthhXaaQ%2Fdigital-input-wiring.jpg?alt=media)

The 8 digital inputs are provided as a Signal and a common Ground (GND, Pin 9), the signal connects to opto-isolators. The input optocoupler is protected by voltage diode (BAV99) and current protection Resistor (4k7 ohm) as well as some noise filtering capacitor (10 nF).

* The input pair can be driven by dry relay contacts or an open collector transistor if required, so long as the grounds are common.
* The signal input is driven low (grounded to terminal pin 9) to turn on the input. Current draw at the input is at least 2 mA.
* To turn the input off the signal can be high impedance (open collector) or driven high.

{% hint style="warning" %}
**Warning:** The inputs are connected to the SMSC supply voltage (note it is not an isolated supply voltage). The signal input voltage should not be driven higher than the supply voltage of the SMSC which is rated at 12-24V (absolute Max 26.5 Vdc). Note for a 12V system inputs should not be driven higher than about 13.5V.
{% endhint %}

![Digital input circuit](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FE3uq6IFGstkhzrRQRbXs%2Fdigital-input-circuit.png?alt=media)

Turning on an input typically causes an event or SMS alarm message to be generated (if the input has been configured to do so). See [Configure with SMS Messenger Workbench](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/workbench.md).

## 4. Wire the digital outputs

The digital outputs are solid state devices designed to interface to a low power relay. The module turns a digital output ON by switching the terminal to the power supply ground and the digital output LED will light up when the output is ON.

The digital output load is connected between pin 9 on the digital output terminal block (SMSC Vsup) and the signal output (low side switching).

![Digital outputs: each load connected between an output and Positive](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F80HaJsrieunDKaD5abs5%2Fdigital-output-wiring.jpg?alt=media)

|                            | Rating                                         |
| -------------------------- | ---------------------------------------------- |
| Each output                | 1 A at up to 26.5 V                            |
| All eight outputs together | 1.5 A maximum                                  |
| Relay coil current         | About 50 mA recommended                        |
| Relay coil voltage         | No less than the supply voltage (12 V or 24 V) |

Output voltages are clamped to 65 volts during inductive switching and the voltage into a digital output channel when the channel is OFF is also clamped to 65 volts, which eliminates the need for reverse biased diodes across inductive loads.

{% hint style="info" %}
For safety, it is recommended to also use flyback diodes on external relay coils connected to digital outputs, to prevent voltages being presented to the SMSC power supply higher than the maximum voltage (26.5 Vdc).
{% endhint %}

![Digital output circuit](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FpJha7oFifywk8Z1D4AQf%2Fdigital-output-circuit.png?alt=media)

### Driving heavier loads

Heavier DC or AC loads can also be driven using the SMS Controller to control an intermediate relay. Don't switch a mains-powered pump or other heavy load directly from an output, and have any wiring above 32 V done or certified by a registered electrician.

In this example Relay 3 has an AC coil. Positive+ is pin 9 on the Digital output terminal block and is the same as Vsup, the supply voltage to the SMSC.

![An SMS Controller output driving RLY1, which switches an AC relay (RLY3) for a 3 kW load](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F9kM1QTnEepRjAZT7YfAr%2Fheavier-load-intermediate-relay.png?alt=media)

* Take care not to exceed the rated contact currents and switching voltages.
* When driving AC loads, for protection a metal oxide varistor (MOV) can be used across the relay 1 output pair, rated at least 275 Vrms. If the final load is inductive you should also place one on the output of relay 3. Alternatively, RC snubber circuits could be employed.

{% 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 %}

## 5. Wire the analogue inputs

There are two Analogue Inputs configured for 4-20mA operation. (0-10V inputs are available to order).

| Analogue input LED | Meaning                                  |
| ------------------ | ---------------------------------------- |
| Off                | The signal is zero or under range        |
| On                 | The signal is within the measuring range |
| Flashing           | The signal is over range                 |

### 4–20 mA transducers

Any 4-20mA transducers must be powered using a separate power supply from the analogue signal loop. If suitable, these devices can be powered from the RTU power supply. If this is not suitable, the analogue transducer can be powered from a separate power supply if the grounds of both the RTU and the other power supply are connected.

![4–20 mA transmitter powered from a separate supply, with the grounds connected](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fewvuhw0dcAMjeR05WVwU%2Fanalogue-4-20ma-separate-supply.jpg?alt=media)

![4–20 mA transmitter powered from the SMS Controller's supply](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fpi96fnlT7jDX5DgfX23G%2Fanalogue-4-20ma-smsc-supply.jpg?alt=media)

### 0–10 V transducers (optional)

If your RTU is configured to use 0-10V transducers, these are simply connected between the input and the Ground pin.

![0–10 V sensor connected between AIN1 and G](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FdkDG1vPj7v97BpMjyzWr%2Fanalogue-0-10v-wiring.jpg?alt=media)

## 6. Wire the analogue outputs

There are two analogue outputs configured for 4-20mA operation. (0-10V outputs are available to order).

| Analogue output LED | Meaning                                |
| ------------------- | -------------------------------------- |
| Off                 | The output signal is zero              |
| On                  | The output signal is greater than zero |

## 7. Connect the power

Operating voltage: 12 – 24 Volts DC. Connect the supply to the power connector, positive to the “+V” terminal, negative to “GND”. The third terminal on the right is not used. The connector has short-circuit and reverse-polarity protection.

![Power connector: +V, GND and an unused terminal](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FmGltPdo02qS1Rzp4XBCv%2Fpower-connector.jpg?alt=media)

## Next

[Set up](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/set-up.md): install SMS Messenger Workbench and enter the basic settings.
