Tag Archives: gsm alarm dialer

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 guide GSM Alarm Auto-dialler with Texecom Veritas R8 with Alarm Reset

GSM SMS Sender to Veritas R8 Alarm

GSM Dialler Wiring Diagram

We have a simpler wiring diagram for basic connection available here.  The above diagram allows for controlling the alarm via your phone and monitoring it’s status.  To power the GSM Dialer you can use the auxiliary output on your Texecom panel.  The positive (+) terminal is connected to one of the VIN terminals (the lower one is best as it has on-board thermal fuse protection) and the negative (-) terminal to GND on the GSM Dialer PCB.  You then connect the BELL terminal to input A.

For switching the alarm on and off you wire the output relay to zone 8 using the NC&COM terminals (either way around).  To monitor the status of the alarm you connect the SW terminal to input B.

To program the dialer the following commands are sent:

master <your number>.   This gives you control of the dialler

callnuma <number 1 etc…>.   This sets the numbers to call when the alarm sounds

textnum <numbers>.    This sets the numbers to text when the alarm sounds or is set

Alternatively;

textnuma <numbers>.    This is just for when the alarm sounds (a)

textnumb <numbers>.   This would be just for when the alarm is set/unset (b)

To get a message when the alarms starts and stops send:

inlevela both

To get a message when the alarm is set and unset:

inlevelb both

 

To program the Veritas Panel zone 8 must be set as a key-switch input:

From the Programming Menu, press # followed by the
zone number (8). The Zone Type currently selected will
indicate i.e. Entry/Exit.

veritas-zones

Press the Zone Type number required – in this case 8 (keyswitch). Press PROG.
The system will chime to confirm the new Zone Type has
been accepted.

The defaults settings will be correct for the SW output.

 

 

The GSM Dialler is available from our online shop here

GSM Dialer

GSM Alarm Auto-dialer

GSM Alarm Auto-dialer and SMS Sender to Honeywell Galaxy G2

Connection to the Honeywell Galaxy G2 Alarm panel is very straight forward requiring only 3 connections to be made as a minimum.

GSM Dialler

A4 GSM Alarm Dialler & SMS Sender

To power the GSM Dialer you can use the auxiliary output on your Galaxy G2 panel.  The positive (+) terminal is connected to one of the VIN terminals (the edge one VINA one is best as it has on-board thermal fuse protection) and the negative (-) terminal to GND on the GSM Dialer PCB.  You then connect the bell -ve terminal to input A.  This is shown as a bell symbol on the Galaxy panel.

GSM Dialler Wiring

Wiring the Honeywell G2 to the A4 GSM Dialler

The Galaxy output terminal can be connected to the dialler Input B terminal if desired to allow the alarm to notify users of various events.  Typically the alarm will be programmed to show when it has been set and unset.  See below for details of programming the output terminal.

If desired the alarm can be set and unset using your mobile phone by SMS or call.  We would recommend only the ‘push-set’ feature of the alarm is used however.  This will avoid any accidental un-setting of the alarm remotely.

To set the alarm the relay output terminals on the dialler are wired as shown in the diagram.  Resistors must be fitted as the change in resistance from 1k to 2k initiates the setting of the alarm.  To set the system the zone is set as a ‘push-set’ zone.  A call made to the system operates the relay and sets the alarm.  A timed pulse can also be made by sending  OPEN in an SMS by any registered user.

If desired the zone can be set as a keyswitch input which allows the alarm to be set and unset.  We only recommend this where input B is used to notify users when the alarm is set and unset (send ‘inlevelB both’ in a SMS text).  The output should be set to normally closed (SMS: normally closed) so in the event power is lost to the dialer the alarm automatically sets.

Please contact support for further details.  Resistors are available on request (free of charge).

Advent Controls

The GSM Dialler is available from our online shop here

GSM Dialler

A4 GSM Alarm Dialler & SMS Sender

Setting the output terminal options:

Option 53 – Outputs
This option allows the operation of all the system outputs to be programmed. Outputs numbered 0001 to 0008 are the outputs from the trigger header. Outputs numbered 1001 to 1004 are the standard outputs on the main PCB. Outputs on expansion modules are shown if fitted. Each output has a sub menu containing attributes as shown:
1. Function
Assigns the output function that activates the output.
2. Polarity
This selects if the output is normally off (positive) or normally on (negative). Positive means that the output is 12V going to 0V when activated. Negative means that the output is 0V going to 12V when activated.
3. Groups
For output types where groups are programmable, this selects the groups that an output responds to. An output can respond to 1, 2, 3 or 4 groups.
NOTE: Reflex means that the output stays on until the condition clears.
Latch means that the output stays on until a valid user logs on (PIN or card).
Latch* means that these outputs are latched but can be forced off by bell delay, bell time or confirm timeouts. Pulse means that the output stays on for five seconds and then switches off again.
Selecting Outputs
On entering the option, the first output on the system is displayed; the output address, function and mode are displayed on the top line, the polarity and assigned groups are displayed on the bottom line. From the display of the first output, any output on the system can be displayed by pressing the A or B keys or by entering the address of a specific output.
The output is selected for programming by pressing the ent key; the first output programming attribute
1= Function is displayed.
00=Not Used
This function is used to designate outputs that are not being used on the system.
01=Bell (Latch)
The Bells output is activated on a full alarm event when the system is set. This output is subject to the Bell
Time and Bell Delay parameters.
02=Strobe (Latch)
The Strobe output is activated on a full alarm event during the set state. This output is subject to the Bell
Delay. The Strobe output follows the Bell Time, but latches on after the last rearm.
03=Panic (Latch)
The PA output is activated whenever any of the PA zone types activate. It latches on and remains active until a
valid code, with the appropriate reset level, is entered.

04=Intruder (Latch)
The Intruder output is activated on a full alarm event during the set state.
05=Tamper (Latch)
The Tamper output is activated whenever a circuit tamper or lid tamper occurs. The output is not subject to rearm: it latches on and remains active until a valid code, with the appropriate System Reset level, is entered.
06=24 Hour
The 24 Hour output is activated whenever a 24 Hour zone is activated. The output is not subject to rearm: it latches on and remains active until a valid code, with the appropriate System Reset level, is entered.
08=0V Detector Reset (Pulse)
This output is always on (0V) but pulses for five seconds upon setting or system reset to reset any latching detectors.
09=Set (Reflex)
The Set output is activated when the assigned groups on the system are set. This output is a Reflex output and follows the set and unset status of the groups.
11=Comms Test (Pulse)
This output activates any time a test signal is sent to the Alarm Receiving Centre.
14=AC Fail (Reflex)
The AC Fail output indicates the status of the a.c. (mains) power supply. The output activates when the a.c. supply fails or an AC Fail zone is activated. The output is reset when the a.c. supply is restored or the AC Fail zone is closed. This output is subject to Parameter 56.7.4=Comms.Parameters.Power Delay.
15=Low Batt (Reflex)
The Low Batt output activates whenever the control unit stand-by battery falls below 10.5V or a Low Batt zone is activated. The output is restored when the voltage rises above 10.5V or the Low Batt zone is closed.
16=Fire (Latch)
The Fire output is activated whenever a Fire zone is activated. It latches on and remains active until a valid code (level 2 or above) is entered.
20=Confirm (Latch)
The Confirm output is activated when there have been activations on two separate zones: the second activation must occur within the Confirm Time Window. The zones do not have to be in the same group. Confirm outputs will switch off when all groups which have been in alarm are unset.
NOTE: The Confirm output is used to give positive identification that a genuine intruder alarm condition has
occurred and to minimise the possibility of false alarm activations.
32=Omit (Reflex)
The Omit output is activated as soon as a zone is omitted from the system. The activation can be initiated manually by omitting a zone at 11 = OMIT ZONES or by force omit at rearm. Response to either is controlled
by Option 56.7.06 = Comms.Parameters.Omit Sig.
44=Abort (Pulse)
The Abort output is activated when a valid code is entered to unset the system following an intruder alarm.
The output stays on for one minute and then switches off.
45=Unset (Pulse)
The Unset output is activated each time the system (or group) is unset.
51=Link (Reflex)
Activates when link zone is activated see 52.1
66=RF Jam (Reflex)
The RF Jam output is activated whenever any of the RF RIO’s configured onto the system detect a significant level of interference to cause radio jamming.
67=RF Supervision Fail (Reflex)
The RF Supervision Fail output is activated whenever there is a supervision failure from any one of the supervised RF detectors configured onto the system. That is, when the system has received no signals (including
periodic check-in signals) whatsoever, from a particular detector within the programmed supervision period.
68=Assistance (Latch)
Keypad assistance hot key activation or assistance zone.
70=Any Set (Reflex)
Activated when system is Full Set, Part Set or Night Set.
71=Bell Fail (Reflex)
Activates when bell fail zone is activated see Option 52.1
72=RF TX Low Battery (Reflex)
The RF TX Low Battery output is activated whenever an RF detector sends a low battery condition to an RF receiver.
76=Fault (Reflex)
This output will activate any time there is a fault condition present on the panel and will clear when all the fault conditions have cleared.

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.