GSM-SA User Manual rev. 1.
Index Index............................................................................................................................................ 1 Description .................................................................................................................................. 2 Commands .................................................................................................................................. 3 Read inputs by message ................................................
Description GSM-SA stand-alone modem provides the following functions: activate relay by a call (free of charge, call is denied) activate relay by a message call predefined number when condition is met send alarm message to predefined number when condition is met read analog/binary inputs by a message authorize users and read status by a message Hardware: - internal GSM antenna - connector for external antenna (SMA type), automatic switch - 4 analog/digital inputs, 2 relay outputs Before inserting SIM card
Commands Send command using SMS message (standard text, not multimedia or e-mail). Module will send a reply soon. Multiple commands are separated by space. Read inputs by message ix0, ix1, ix2, ix3 - binary inputs, 0-open, 1-closed iw0, iw1, iw2, iw3 - analog inputs, for 0..10V readout is 0..1023 send: ix0=? ix1=? iw2=? iw3=? reply: ix0=0 ix1=1 iw2=430 iw3=600 Example: Binary and analog inputs share same terminal. Iw0 is open (ix0=0), iw1 is closed (ix1=1). Iw2 voltage is 4.2V, so readout is 4.
qx0p, qx1p - pulse output for a specified time send: qx0p reply: qx0p ok message received qx0 2 seconds Relay is unconditionally activated for 2 seconds. If already set, it will go off after specified time. pulse - pulse length (default is 2) [seconds] send: pulse=10 reply: pulse=10 ok Configure pulse length to 10 seconds.
smsalarm - select inputs which will trigger an alarm: 1 16 256 4096 ix0 close ix0 open iw0 hi limit iw0 lo limit 2 32 512 8192 ix1 close ix1 open iw1 hi limit iw1 lo limit 4 64 1024 16384 ix2 close ix2 open iw2 hi limit iw2 lo limit 8 128 2048 32768 ix3 close ix3 open iw3 hi limit iw3 lo limit For a combined action, add values together, e.g. 17 will send a message whenever ix0 is changed. iw0lo, iw1lo, iw2lo, iw3lo - alarm low limit, 0..
Example 2: To send separate hi and lo messages, wire two inputs together: Configuration word is 256 (iw0 hi limit) + 8192 (iw1 lo limit) = 8448.
deny - delete number from list of authorized numbers send: deny +385912345678 reply: deny +385912345678 ok allowcall - authorize next incoming call (call must come within 5 minutes) send: allowcall reply: allowcall +385912345678 ok error: allowcall timeout check - verify if number is authorized send: check +385912345678 reply: check +385912345678 ok error: check +385912345678 unknown phones - show all configured phones send: phones reply: phones=3: +385912345678 +385912222222 +385913333333 If longer then 16
Applications Call garage to open door for you Knowledge: easy Usefulness: high (you certainly don't need yet another remote controller) Cool factor: high (watch your neighbours turn green) What do you need: garage with motorized door, GSM-SA, SIM card How to connect: connect wires from QX0 and C0 to button which operate door. Polarity doesn't matter. Don't forget to connect 12V power supply.
How to use: send SMS to activate or deactivate heating. send: qx0=1 to activate heating send: qx0=0 to deactivate heating Other ideas: you may equally well connect GSM-SA to control the power supply of heating system.
Specifications GSM module Antenna Connector External antenna three-band 900/1800/1900MHz internal or external SMA with automatic switch 50ohm nominal Input type Internal pull-up Digital readout A/D converter Analog readout Accuracy digital / analog 0..10V 6V, 1mA 0-open, 1-closed 10-bit 0..1023 5% FSR at 25°C Output type Load relay contact, normally open max.