> 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/check-it-is-working.md).

# Check the SMS Controller is working

Check the status lights, send a test text, and test the analogue inputs and outputs.

To check the SMS Controller is working, look at its status lights, send yourself a test text from SMS Messenger Workbench, and text `status` to the unit.

{% hint style="info" %}
**Applies to:** the SMS Controller (PD8611-4G) with firmware v3.03 and SMS Messenger Workbench v1.7.
{% endhint %}

## 1. Check the status lights

| Light                 | What you should see                                     |
| --------------------- | ------------------------------------------------------- |
| PWR (power)           | On                                                      |
| OK                    | Flashes to show the device is active and not locked up. |
| ERR (error)           | Not flashing                                            |
| COMS (communications) | Slow Blink (3s): Registered on network                  |

If the COMS light shows a Fast Blink (1s), it is searching for network. See [COMS light keeps blinking fast](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/troubleshooting/coms-light-fast-blink.md) and [Status light codes](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/status-light-codes.md).

## 2. Send a test text

1. In SMS Messenger Workbench, open **Address Book**.
2. Press the test button to send a text to the person to show the system is working.

This test facility is also a great diagnostic tool to check the cellular network.

## 3. Ask for the status

1. Text `status` to the SMS Controller. The SMSC replies with all the I/O values/states.
2. Text `stats`. The SMSC replies with how many SMSs have been sent, how many SMS send attempts have failed due to low signal strength (RSSI), and when the SMSC was last reset by cycling the power supply.

## 4. Switch an output

From a phone that's allowed to control the unit, text `Turn on [output name]`. Check the output's LED lights, then text `Turn off [output name]`. See [Commands](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/commands.md).

## Test the analogue inputs and outputs

This test provides a method for confirming the analogue input readings on a SMS Controller.

You need:

* a phone, added to the address book with **Allow Control** ticked
* two jumper wires
* optionally, an ammeter (a multimeter set to mA) to measure the current

### Steps

1. With the SMS Controller not powered, remove the lid. Ensure the jumpers are configured for 4-20mA input/output (default configuration).

   ![Analogue jumpers J1A to J4F on the board](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fb8ahF74BuOWL0rGhZv6F%2Fanalogue-test-jumpers.png?alt=media)
2. Install jumper wiring on the SMS Controller Analog I/O terminals: 1 to 3, 2 to 4. An ammeter can be included on one of the connections to allow independent current measurement.

   ![Jumper wires looping the analogue outputs back to the analogue inputs](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FZPxPqh4p7SjNJDTOkS0s%2Fanalogue-test-loopback-wiring.png?alt=media)
3. Run the SMS Messenger application. Connect the SMS Controller to your laptop using a USB type A-B cable.
4. Add your phone number to the address book: click **Add Entry**, enter your name, enter your phone number, tick **Allow Control**.
5. Navigate to the **I/O Overview** screen. Click on **unused** for analogue input 1. Enter a name, e.g. AIN1. Leave all other configuration as defaults. Repeat for analogue input 2.
6. Click on **unused** for analogue output 1. Enter a name, e.g. AOUT1. Leave all other configuration as defaults. Repeat for analogue output 2.
7. From the **I/O Overview** page, confirm both analogue outputs and both analogue inputs read 0.
8. Send a control message from your phone to the SMS Controller to set analogue output 1 to 255 (25% of full scale (1023)). Confirm the analogue input reading matches +/- 5. If an ammeter is in place confirm the current is 8mA +/- 0.1mA.
9. Send a control message from your phone to the SMS Controller to set analogue output 1 to 512 (50% of full scale (1023)). Confirm the analogue input reading matches +/- 5. Repeat for control messages of 767 (75%) and 1023 (100%). Send a control message from your phone to the SMS Controller to set analogue output 1 to 0. Confirm the analogue input reading matches +/- 5.
10. Repeat all steps for analogue input 2.

![Test setup with an ammeter in the feedback loop](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FFzyUhTobYUenuFDmsJYc%2Fanalogue-test-ammeter-setup.png?alt=media)

**Pass:** All input readings displayed in SMS Messenger should agree with the commanded outputs, within +/- 5. All measured currents should agree with commanded output within +/- 0.1mA.
