GSM REMOTE CONTROL
This is a project intended for control and monitoring of, at least, 3 input & 3 output optoisolated , from a telephone, smartphone or tablette.The system as described below IS COMPLETE AND TESTED OKAttached documents:- schematics - test log report - photos - Arduino sketch for experimentation (board control & AT command) Control & report principle:
This is a project intended for control and monitoring of, at least, 3 input & 3 output optoisolated , from a telephone, smartphone or tablette.
The system as described below IS COMPLETE AND TESTED OK
Attached documents:
- schematics - test log report - photos - Arduino sketch for experimentation (board control & AT command) Control & report principle:
Controls are keyed from the handset and decoded DTMF tones are processed by the Arduino promini 328 Status and action reports are vocal phrases, produced by the SOMO-14D module (vocabulary on SD card)
Specifications:
- incoming CALL: remote call -> ID? -> dialog
- CALLER: if alarm set, diall up to 3 phone numbers
->dialog according to input conditions
DIALOG (incoming or caller):
- DTMF command from remote handset
- vocal(SOMO)information feedback
- SMS OUT: in case of alarm
- SMS IN: set parameters (one phone No to Call change...)
The system consists of:
- a GPRS Shield from Seeedstudio (SIM900 module)
- a protoboard supporting: - an Arduino-promini 328 16MHz - a DTMF transceiver DT8889C + IIC PCF8574 - a SOMO-14D sound & voice module incl. SD 2Gb
- a plate for optos and relais
Other functions (to be implemented according to requirements):
- Ambiant sound monitoring from an Electret MIC
- Public Address (SOMO: voice, alarm) + 1 bit control
- SIM900 GPIO: 12 I/O + 2.8V level shifters - extra IIC I/O (PCF8574)... up to 15x8 bits!
- time stamping with the SIM900 RTC function
- connection to an HOME CONTROL SYSTEM
SOFTWARE:
- AT command control sketch for GSM shield evaluation
- GSM shield test without use of AT commands: a lot of procedures to re-use in your own design !
Note: Arduino pro-mini D13 input pin is no longer used for CALL RING detection -> but is becoming an ALARM_MODE selection input (level = LOW)
- FINAL SKETCH 409: GSM_RemCtrl_409.ZIP
GSM_RemCtrl_409_LOG ABIZ 10 april 2013
==================
Dialog between :
-Terminal (Tera Term) 19200bd <CR>
-GSM shield & Arduino, sketch release 409
notes :
handset dialog: DTMF code <=> voice message
alarm detection authorized: D9=0
comments => " This is a comment "
data (PC) => Cmd:
" Power the board => the GSM shield is set ON"
" from PC, check data entered from the terminal => EEPROM "
Cmd: e
TEL No.0 -> 000000000000
TEL No.1 -> +336xxxxxxxx
TEL No.2 -> 000000000000
CODE: xxx
PIN: xxxx
" from PC, check actual INPUT/OUTPUT states "
Cmd: r
IN_1: OFF
IN_2: OFF
IN_3: OFF
OUT_1: OFF
OUT_2: OFF
OUT_3: OFF
Alarm: ON
author detect: ON
GSM registered
" ---- GSM state, check every 10 sec "
GSM registered
GSM registered
GSM registered
" SMS received "
SMS from +336xxxxxxxx sim pos: 1
xxx t+336xxxxxxxx, " tel No between 't' and ',' "
CODE OK " access code 'xxx' OK "
new TEL N_2 : +336xxxxxxxx
SMS deleted
" a SMS is sent back to the caller to confirm the No_2 change "
GSM registered
GSM registered
" from PC, check that change of Tel_2 is done "
Cmd: e
TEL No.0 -> 000000000000
TEL No.1 -> +336xxxxxxxx
TEL No.2 -> +336xxxxxxxx
CODE: xxx
PIN: xxxx
GSM registered
GSM registered
"input No 1 & No 2 are set "
alarm detected
"the two GSM_compatible numeros receive a warning message "
SMS No 1 +336xxxxxxxx
alarme: No 2 No 3
SMS No 2 +336xxxxxxxx
alarme: No 2 No 3
" all phone numero starting with '+' are dialled "
VOICE TEL No.1 +336xxxxxxxx
HangUp
" no ACK from TEL No1 so dial next TEL numero "
" note: stop until incoming call, if no ACK from last numero "
VOICE TEL No.2 +336xxxxxxxx
chiffre : x
chiffre : x
chiffre : x
" access code => ACK ! "
" set OUTPUT_1 'ON' "
chiffre : 1
chiffre : 1
" set OUTPUT_1 'OFF' "
chiffre : 1
chiffre : 0
" check INPUT/OUTPUT states "
chiffre : *
" exit "
chiffre : #
HangUp
GSM registered
" ---- GSM state, check every 10 sec "
GSM registered
Build This Project
Bring this design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Commenti (1 commenti)