GSM TELEMETRY SYSTEM • Remote Control From a Mobile Phone • Standalone Dual Band GSM Telemetry Controller. • 2 Digital Inputs (Volt Free) • 2 Relay Outputs rated at 240 volts 12 Amps. • Automatically Sends SMS message when input activated to up to 5 mobiles per input. • Outputs controlled by SMS text message. • Request Status via SMS. • Accepts all major SIM Cards. • IP65 Rated Enclosure. • Easy to Install and Configure (no PC required). • Dual Band Modem GSM / GPRS (Telit) Applications • Remote control by GSM Mobile phone. • Remote Maintenance, warnings / Alarms. • Irrigation Systems. • Remote system monitoring. • Plant Maintenance. • Security Systems • Alert / Panic caller Ordering Information PART No 250R1 PSU12V1AIN DS250-5 Nov ’06 DESCRIPTION GSM Telemetry System with integrated GPS module Power Supply, 110-230Vac (IEC Input), O/P 12Vdc, 900mA ©2006 REG No 277 4001, ENGLAND. Page 1 250 GSM TELEMETRY SYSTEM User Manual 1. Definitions....................................................................................2 2. SIM card .......................................................................................3 3. Input and output circuits ............................................................3 4. Output Relays ..............................................................................4 5. Power up ......................................................................................4 6. Power Loss ..................................................................................4 7. User Set-Up of 250 ......................................................................4 8. User Set-Up Commands .............................................................5 9. Control Commands .....................................................................7 10. Messages generated by the unit.............................................9 11. Technical Specifications .......................................................10 1. Definitions The following definitions are used throughout this document and generally in connection with the control unit. Message An SMS (‘text’) message sent from one mobile station to another. ~ Denotes a ‘space’ in the format of a message. Alphanumeric. Characters in the range A to Z (upper and lower case), numbers in the range 0 – 9. Mobile. A mobile telephone that is used to send and receive SMS messages. DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 2 250 GSM TELEMETRY SYSTEM 250 2. SIM card The unit will accept SIM cards of most types subject to the following restrictions. 1. Only 3 Volt SIM cards will be correctly read and older 5 Volt types will be ignored. 2. Some types of pay-as-you-go SIM cards may require regular call activity (once every six months) to remain registered. 3. SIM cards that have been protected by means of a PIN (in a mobile phone) will not operate in the unit. 4. Incoming voice calls to the SIM card should be barred before it is used in the GSM 250 unit to avoid any error messages being sent back to the user. This can be achieved by calling the service provider. 5. The message memory of the SIM card should be clear before it is fitted to the 250 unit. The SIM card should be inserted into the side of the module (marked Telit). The PCB may need to be removed from the enclosure in order to insert the SIM card. 3. Input and output circuits The two inputs are provided via screw terminals GND/IN1 and GND/IN2 terminals. These two volt-free digital inputs are designed to be actuated by contact ‘switch’ closures across the input pins. GND IN2 GND IN1 Users Switch contacts DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 3 GSM TELEMETRY SYSTEM 250 4. Output Relays Two relay outputs are provided, which when activated provide a ‘switch’ output as below. CH2 CH1 NC COM NO NC COM NO Relay Connections when Transmitter NOT Operating Relay Connections when Transmitter OPERATING 5. Power up The 250 unit can be powered from 12 or 24Vdc, a mains power supply is also available. Connecting to the 3 pin terminal block provides the 250 with power. On power up the PWR LED will illuminate steady green. The GSM engine takes several seconds to warm-up. The GSM LED may flash when the GSM engine is active. The GSM will come on after several seconds and should start to blink, indicating that the GSM modem has registered with the network and that the unit is ready to accept user commands. The STAT LED blinks whenever there is GSM activity, I.E. the unit is sending or receiving a text. 6. Power Loss In the event of power loss to the 250 the unit will maintain the user configured data entered during the User set-up sequence, as this information is stored in non-volatile memory. However the status of the relays will be lost. 7. User Set-Up of 250 Prior to usage, it is necessary to program the 250 unit with the following parameters. (Some are optional) Note that the User Password is case sensitive but the commands are not case sensitive and will be converted into upper case before the unit handles them. This means that any user command responses, which echo the original command will do so in upper case. All commands are sent as text messages from a mobile phone. DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 4 GSM TELEMETRY SYSTEM 250 8. User Set-Up Commands PLEASE NOTE: ~ Denotes a ‘space’ in the format of a message Command Description Command Syntax Example The string <UNIT PW> is an alphanumeric string containing from 4 to 10 characters. Unit Password Command: UPW~Password38 Selection of the UPW must be completed within 5 minutes from power applied. Setting the UPW is carried out by sending a text message to the unit. UPW~<UNIT PW> Response: UPW~OK (UPW) If for any reason the unit password is lost or missentered the user must remove all power to the unit for 1 minute, when power is reapplied the user may then use the UPW command to set a new unit password. Unit Identity (UID) (Optional) Input number-to-text (INUM) (Optional) The <UNIT ID> is an alphanumeric string consisting 4 to 10 characters. <UNIT PW>~UID~<UNIT ID> This string of characters sets the ‘identity’ of the 250 unit, and is included in any response to identify the 250 unit to the user This command sets the mobile number that the SMS Text message is sent to when input 1 or 2 is changed. The number must be in full international format including country code and leading zeros. Response: Identity7~UID~OK Command: Password38~INUM1~0033612345678 <UNIT PW>~INUMn~<num to text> n=1 for input1 n=2 for input 2 Note the country code for the United Kingdom is 44. Note the 250 can store up to 5 mobile number per input. DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Command: Password38~UID~Identity7 Page 5 Response: Identity7~INUM1~0033612345678~OK This example selects a French mobile (country code 33) with national number 06 12 34 56 78 (leading 0 omitted), this number will be text if IN1 changes state. GSM TELEMETRY SYSTEM 250 User Setup Commands cont.. PLEASE NOTE: ~ Denotes a ‘space’ in the format of a message Command Description Power Failure number-to-text (PNUM) (Optional) This command is used to identify the mobile number which is to be text if power has be removed from the 250. PNUM can store up to 5 mobile numbers. Deleting numbers-totext Output delay time (ODEL) (Optional) Command Syntax If either of INUMn or PNUM contain a mobile number that is already present in the phone number list then this number will be deleted. After deletion a text will be sent to the user to confirm the deletion of that number. This command sets an activation time of the relay outputs. The default is to remain on following an ON command and turn off following an OFF command. If ‘t’ is set to a value from 1 to 9 then this sets the number of seconds for which the output remains on after an ON command. The OFF command is then ignored. If ‘t’ is set to ‘0’, then the output returns to default setting <UNIT PW>~PNUMn~ <number to text> Where n=1 for power fail <UNIT PW>~x~<num to text> Example Command: Password38~PNUM1~0033612345678 Command: Password38~PNUM1~0033612345678 Where x represents either INUMn or PNUM1 Response: UID~PNUM1~<0033612345678>~deleted <UNIT PW>~O DELn~t Command: Password38~ODEL1~7 n=Relay number t=Delay time (seconds) Response: Identity7~ODEL1~7~OK <UNIT PW>~RESPONSE~x Command: Password38~RESPONSE~ON This command is used to control the responses that are to be sent from the unit following receipt and carrying out of a command. Response on/off (RESPONSE) (Optional) NOTE: messages which specifically demand a response such as requests for input status will always be responded to as will the UPW, UID and RESP~OFF messages. The default setting is for the response messages to be turned of. DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 6 x=ON or OFF Response: Identity7~RESPONSE~ON~OK GSM TELEMETRY SYSTEM 250 9. Control Commands PLEASE NOTE: ~ Denotes a ‘space’ in the format of a message Command Activate and deactivate outputs Description Command Syntax This command is used to turn a relay output on or off. (OUT) Retrieve status of inputs and outputs This command requests that the status of the inputs and outputs be returned to this caller. <UNIT PW>~OUTn~x Command: Password38~OUT1~ON n=Relay number = 1 or 2 x=Relay Status = ON, OFF Response: Identity7~OUT1~ON~OK Command: Password38~STATUS <UNIT PW>~STATUS Response: Identity7~IN1ON~IN2OFF~OUT1ON~OUT2ON (STATUS) Retrieve unit settings This command requests that the settings of the unit be returned to the caller. Command: Password38~SETTINGS <UNIT PW>~SETTINGS (SETTINGS) DS250-5 Nov ’06 Example Response: Identity7~SETTINGS~ODEL1~2~ODEL2~0 ©2006 REG No 277 4001, ENGLAND. Page 7 GSM TELEMETRY SYSTEM 250 Control Commands Cont… PLEASE NOTE: ~ Denotes a ‘space’ in the format of a message Command: Password38~settings~INUM1 Where n=1 for input1 or n=2 for input 2 Retrieve saved numbers to text for INUMn <UNIT PW>~ SETTINGS~INUMn This command requests the mobile phone numbers for input 1 or 2 (INUMn) to be returned to this caller. Response: <UNIT ID>~SETTINGS~INUM1~<numbers to text> For example: Identity7~SETTINGS~INUM1~0033124557784 Command: Password38~settings~PNUM1 Response: Retrieve saved numbers to text for PNUM1 This command requests the mobile phone numbers to text in the event of power failure to be returned to this caller. <UNIT PW>~ SETTINGS~PNUM1 <UNIT ID>~SETTINGS~PNUM1~<numbers to text> For example: Identity7~SETTINGS~PNUM1~0033124557784 DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 8 GSM TELEMETRY SYSTEM 10. 250 Messages generated by the unit PLEASE NOTE: ~ Denotes a ‘space’ in the format of a message Message Description Change Of Status Of Inputs This message reports a change of input state to the designated mobile number (set using the INUM command). A message is sent with the following format. (IN) Error in received message (!!ERROR!!) Text user after power reset: (FAILED) Message Syntax A change of input will only be ‘valid’ after 5mSecs Where the 250 unit is processing an SMS messages then the response time could be up to 250mS. When an incoming SMS contains an error in the message format, no action will be taken by the unit other than to send an error message back to the calling mobile along with a copy of the erroneous message itself. <UNIT ID>~INn~x n=input channel =1 or 2 x=inpupt status=ON or OFF Identity7~UPW~OUTn~OFF~!!ERRROR!! m=Your Message Returned Texts will be sent to mobile phone numbers stored in PNUM on reboot after a power failure or reset (when power is reapplied). ©2006 REG No 277 4001, ENGLAND. Identity7~IN1~ON <UNIT ID>~m~!!ERROR!! <UNIT ID>~ Reboot~power~had~failed Note this feature is enabled or disabled by simply either having mobile phone numbers in PNUM or not. DS250-5 Nov ’06 Example Page 9 Identity7~Reboot~power~had~failed GSM TELEMETRY SYSTEM 11. 250 Technical Specifications Storage Temperature: Enclosure Dimensions: PCB Dimensions: -10 to +70o Celsius. Operating Temperature: 0 to +55o Celsius. 145 x 90 x 45mm 124 x 78mm Electrical Characteristics Supply Voltage for 12Vdc Supply Voltage for 24Vdc Supply Current for 250: Idle Operating Mains rated Relay Rating (230Vac) Min 11 23 Typical 12.0 24.0 Max 14 26.0 Dimension V V Notes 35 200 44 370 5 100 1000 12 mA mA A 1 2 3 Notes 1. Refers to maximum supply current required with all components idle. 2. Refers to peak supply current required with all components operating. In practice internal reservoir capacitance limits the instantaneous peak current to less than 500 mA. 3. The relay contacts in this unit are for functional switching only and must not be used for isolation purposes. For more information or general enquiries, please call; R F Solutions Ltd., Unit 21, Cliffe Industrial Estate, Lewes, E. Sussex. BN8 6JL. England. Email : [email protected] http://www.rfsolutions.co.uk Tel: +44 (0)1273 898 000 Fax: +44 (0)1273 480 661 RF Solutions is a member of the Low Power Radio Association. Information contained in this document is believed to be accurate , however no representation or warranty is given and no liability is assumed by R.F. Solutions Ltd. with respect to the accuracy of such information. Use of R.F.Solutions as critical components in life support systems is not authorised except with express written approval from R.F.Solutions Ltd. DS250-5 Nov ’06 ©2006 REG No 277 4001, ENGLAND. Page 10