Tag Archives: alarm sms sender

Investigating GSM networks available to us using a CLX SIM

In the article we look at which GSM masts are available to us at our location and see which network will give us the best performance. We also look into establishing a data connection using the CLX SIM card and find the location of our PCB using QUECELL locate system.

We had a board hooked up with 2-way comms to a PC whilst developing the speech storage and playback function on our GSM Alarm Speech Dialler ADs (available at http://www.adventcontrols.co.uk).  We took this opportunity to investigate the network infrastructure we are able to acquire here in our office

GSM Dialler

GSM Speech Dialler with PC connection

Firstly, we send the command AT+CREG? which shows us that the modem is connected and roaming.  We are roaming as we are using the CLX SIM which has access to any GSM network in the UK.

AT+CREG?

+CREG: 0,5

 

Next, we send the AT+QOPS? command to get a list of masts the M66 is able to acquire:

AT+QOPS?

+QOPS: 1,”Vodafone”,”Voda UK”,”23415″

1,0062,305E,1A,22,94

+QOPS: 2,”O2″,”O2 -UK”,”23410″

1,53AC,9BDA,27,23,111       (n.b. 9BDA in hex is 39898 in decimal)

+QOPS: 1,”T-Mobile”,”EE”,”23430″

1,090A,9C47,1F,16,664

 

QOPS: 2 shows us we are currently using the O2-UK mast with location code 53AC and CellID 9BDA.  We can also see masts from T-Mobile (part of EE) and Vodafone are available to us (QOPS:1).  With the CellID we can find the mast we are using on a map

 

O2 Mast

GSM Mast Location

 

Earlier we were using an EE SIM, and this forced us to use a mast in the local retail park which is much further away and out of the screenshot above. This resulted in a signal strength of 16 as opposed to 23 from O2. This is the advantage of using the CLX SIM; it allows the modem to choose the most reliable network.

 

Another advantage of using the CLX SIM is that the GSM device will come with the APN set up correctly by default.  The Access Point Name (APN) tells the network which server your equipment can use. Networks will have different APN for different customers like PAYG or contract.  If you select the wrong one you will have no data access. This is the main cause of issues when using our software and emails. Our boards come with the APN settings for CLX pre-programmed which can be used globally.

 

To demonstrate data connectivity with the CLX SIM cards we will make use of Quectel’s Cellular Positioning System.  This will give is the geographic co-ordinates of the PCB even when indoors.  The modem connects, through the internet, to Quectel’s database of GSM masts and then compares the signal strength from each mast to locate the device.

 

Firstly we must tell the modem the APN which will give us access to the internet as follows:

 

at+qicsgp=1,”connect”,””,””                   …the CLX APN is “connect” with no username or password

at+qcellloc=1                                                     …enquire about our current location

+QCELLLOC: -2.861663,53.353088

 

The at+qcellloc command returns our co-ordinates which we can then paste into Google Maps

QUECLOCATE

Using Cellular Location

The position given by the Quec Locate server is about 0.5 miles out with our high gain antenna.  This is towards a worst case scenario situation given that our PCB is buried deep within a building.  If it were outside it would be much more accurate.

We tried again using the internal adhesive antenna we use for our Gold:Mini Intercom and this time the error was about 0.8 miles.  This is because the internal antenna is optimised for 1800MHz masts which are predominantly located in this direction.

+QCELLLOC: -2.863965,53.361809

GSM ALARM LOCATOR

Low gain antenna location attempt

 

To view our GSM products and for live demonstrations please visit our stand at IFSEC 2018.  We look forward to meeting you.

Advertisements

Honeywell Accenta/Optima GSM Dialler SMS Sender – Set and Unset Alarm Remotely

Our C4 for Honeywell Accenta & Optima alarms allows you to remotely set and unset your alarm from anywhere in the world.  It will dial, text and email you when the alarm is triggered and armed and disarmed.

Wiring Advent Controls GSM Diallers to a Honeywell Accenta G3 Alarm Panel

Our basic GSM Auto Alarm Dialer is ideal for this application.  As a minimum it requires only 3 connections to the panel PCB (+VE, 0V and Bell -) and may fit within your alarm enclosure.  If there is no space then your can use the external enclosure available on our dialer page.  If set/unset control and silencing are both require the C4 unit available here (GSM Control and Monitoring System) is required.

Honeywell Accenta G4 to Advent Controls GSM Dialer

Honeywell Accenta G4 Dialer Wiring

You can also connect the three wires to the communicator connection (centre left) using the 13V, 0V and COMMS terminals as above however this will require the engineer to active these terminals within your panel interface.

To set the system up for basic operation will then require just two messages to be sent to the SIM card number:

master <your number no spaces within the number>.   e.g. master 07830111222.

callnumA <recipient number>.   e.g. callnuma 07574222333

textnumA <recipient>.   For anyone wanting a text message when the alarm sounds.

We strongly recommend adding a textnum as, should there be a fault or network error at the first attempt and texting, the system will continue to try to send the message until it is sent.

honeywell-accenta-g4-dialer-wiring_set

Input B can be connected to the SET terminal next to the BELL – terminal.  This allows you to see if the alarm is SET and will notify you of this when it changes state.  You may wish to setup CALLNUMA(s) for the alarm so it dials only when the alarm sound and have seperate TEXTNUMA and TEXTNUMB if you use the input B for this purpose.

PTS Wiring GSM dialler

Push To Set connections

There are two methods of wiring the Advent Controls GSM dialler in order to set the system remotely.  The recommended means of wiring the dialler is in ‘Push-To-Set’ mode.  The COM and NO terminals are connected to a zone (we recommend zone 8).  The zone is then set up as a PTS zone.  A call or SMS reading OPEN will set the alarm.  The alarm cannot be unset in this mode.

SMS alarm Wiring diagram

GSM Keyswitch Wiring Diagram

The output relay on the GSM Dialler can be wired to remotely set and unset the alarm panel.  In this case the COM and NC connections are used for the connection to zone 8.  To set the alarm the word ON is sent in a SMS text.  To unset the alarm the word OFF is sent in a text.  The zone should be set as a keyswitch input.  We strongly recommend the SET terminal is monitored by input B when controlling the alarm in this mode.

Further details can be found on page 6 of the G3 installation manual.

Accenta G3 Installation Manual

This panel is very similar to the one shown in the video:

http://www.youtube.com/watch?v=7F4T-54yb_8

The GSM Dialer is available from our website here GSM DIALER

GSM Dialer

GSM Alarm Auto-dialer

Honeywell Intellisense 800 GSM Dialler Wiring Diagram

The Advent Controls GSM Diallers are a good fit for the Honeywell Intellisense 800 Series Burglar Alarm Panels.

The simplest installation is with our A3, A4 or A5 GSM Dialler and SMS Sender Systems available here Advent Ax Diallers

Honeywell Intellisense 800L Wiring Guide

A3 Dialer Simple Wiring Guide

The Input A terminal is connected to the “-S” (bell -ve) terminal.  This triggers the dialler when the bell sounds.  The AUX +/- terminals go to the VINA and GND terminals respectively.

The basic setup required is shown below.  These messages are sent to the phone by the adminstrator (master) mobile phone:

master <your number>.    ;this sets your phone number up as the admin number

callnum <1st number to dial>.     ;this adds a number for dialing to the system

textnum <1st number to text>.     ;this adds a number for receiving messages

Once the master number has been added remove the jumper.

If you would like to customise the message the recipients receive send the following:

customA the alarm is sounding.     ;you must add a full stop

If you would also like to know when the alarm stops send:

inlevelA both

customAL the alarm is sounding.

customAH the alarm has stoppped.

On Off Alarm control

Arming the Alarm with a GSM Dialer

If you would also like to arm the alarm using the Advent Controls A3/A4 or A5 GSM Alarm Diallers you can connect the on-board relay to the zone 8 terminals using the COM and NC relay connections.

To arm the alarm the SIM card telephone number is dialled from any user number. You can also set the alarm by sending “On 1” from any registered phone.

To enable this mode on your Honeywell Intellisense 800L Alarm Panel (manual available here) zone 8 must be set up as a keyswitch input as follows:

On the alarm panel, to enter engineering mode, enter the engineering code and then press the #(HASH) key. This forces the panel into engineering mode Note: If left unattended for approximately 60 seconds it will revert to day mode.

To program zone 8 as a “Keyswitch” enter – 4 8 4 *

Zone monitoring with GSM Dialer

Intellisense Wiring Diagram with Zone Monitoring

If you would like to monitor individual zones the Advent Controls D4 GSM Dialler System is required.  This Cellular Alarm Dialler PCB is able to monitor individual zones by measuring the voltage on the switched zone terminal.  When the zone is triggered the voltage rises above zero.  To initiate calling and SMS messaging the upper trigger voltage must be set below the maximum voltage this zone reaches when the sensor triggers.  Typically this voltage should be set to 2V as follows:

vupper1 2.0     ;this sets the trigger voltage to 2V for Analogue Channel 1

If this does not trigger the unit when the zone is active ensure the correct terminal is wired in (one of the two zone terminals will be a 0V terminal – the other a switched trigger terminal).

The voltage on the zone can be monitored at any time using the STATUS command.

D4.01 GSM Dialer with SMS Voltage and Battery Monitoring Testing Video

Just a little video showing some testing being performed on the new D4.01 PCB.  This will be available on the website shortly.

The PCB has two analogue terminals for voltage measurement which can be sent by SMS or by email.  The supply voltage is also monitored for 12V battery operation.
It also has four high/low digital inputs and one volt-free relay output which can be operated by SMS or call.

New GSM Dialer and Relay products due this month

Juts a quick post to show you our new PCBs.  These are still as on the panel which goes through the screen printer, pick and place machine and oven.

You asked for more inputs on the dialer PCBs so we’ve given you them!  6 in total but these are not all just more inputs we’ve added two analogue inputs.  These are ideal for applications where you would like to measure a voltage remotely or be alerted to a sensor measurement change by SMS or call.

GSM Alarm Dialer with individual zone detection

GSM Dialer and SMS Sender with Analogue Inputs

The analogue inputs have applications in burglar alarms too allowing you to monitor individual zones which do not have a open collector output associated with them.  You can just measure the voltage change of your zone when alerting and get an SMS just for that zone whether the alarm is armed or not.

We have also added a low power mode and supply voltage sensing.  GPRS setup and updates along with email alerts will also be available in the new year using this PCB.

GSM Dialer and Roller Shutter Controller

GSM Relay and SMS Sender Board

The new C4.01 PCB shown below has similar features to the D4.01 dialer as above but has 2 logic inputs and 2 relay outputs.  This is ideal for controlling roller shutters.

Citadel Xr2 GSM Alarm Dialer/SMS Sender Wiring Guide Aico Smoke Alarm

We received this question via email:

Hi,

I would like to connect two devices to the Dialer:

Input One : Burglar Alarm

Input Two: Smoke Alarm

I have an Citadel Xr2 alarm system which I assume is pretty standard to get a signal from it [it is!].
The smoke detectors are from the Aico range, and would be interfaced through a Relay base Ei128RBU.

Cheers

Wiring the Citadel Alarm and Aico Smoke alarms to the Advent Controls GSM Alarm Auto-dialer and SMS Sender is very straight forward and the default input settings can be used.  The 0v terminal on the alarm panel and the GND terminal on the dialer must be connected together.  The bell -ve terminal is also connected to the selected input on the dialer.

Citadel Xr2 GSM dialer wiring with Aico Alarm

Citadel Xr2 Wiring Guide

The Aico Alarm has a set of relay output contacts which can be connected directly to Input B (in general ensure they are Volt-free and do not supply mains voltages!!).  Use the COM and NO terminals on the alarm as shown in the diagram.

For a basic setup you will need to send these messages:

master <your mobile number>.   (this sets your phone up as an administrator – remove red jumper afterwards)

callnum <1st number to be rung>.

callnum <2nd number to be rung>.  (you can keep doing this!)

textnum <text recipient>.

textnum <another SMS recipient>.  (again there is space for over 250 numbers)

If you would like the messages to say something specific you can send (for example):

customa the burglar alarm is sounding.

customb the fire alarm is sounding.

If you would like to know when the alarms have stopped sounding send these commands:

inlevela both

inlevelb both

customah the burglar alarm has stopped sounding.

custombh the fire alarm has stopped sounding.

The Advent Controls GSM Alarm dialer and SMS sender is available from the Advent Controls website here.