1 alarm operation example – Telit Wireless Solutions GE863 User Manual

Page 86

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07

3.7.2.3.1 Alarm operation example

For example:
1- Let's assume you have a battery powered device, a meteorological unit that measures every hour
the conditions and therefore needs to send a new SMS every hour to the central server, for example
indicating the whether status just measured. Let say your application shall consume the absolute
minimum power to achieve the job, since it will be placed in a remote position where its battery shall
last as long as possible and therefore it should shutdown completely and wake up every hour for just
the time needed to measure & send the whether, successively shutdown.

- set up the time in the internal clock (only the first time..)
command:
AT+CCLK="02/11/07,12:24:30+01"<cr>
response:
OK

- set up the next alarm in order to raise the GPIO6 pin to power up the controlling application too.
command:
AT+CALA="02/11/07,13:24:30+01",0,6,"TIME TO MEASURE & SMS…!"<cr>
response:
OK
- shutdown the GE863-GPS and successively the controlling application.
command:
AT#SHDN<cr>
response:
OK

… after an hour..
The GE863-GPS will turn itself ON in "Alarm Mode" and contemporarily both rise the GPIO6 pin which
turns on the power to the controlling application and issue every 3s an unsolicited code +ALARM:
TIME TO MEASURE & SMS…!
- turn on the keep alive line in the controlling application that keeps itself ON.
- stop the alarm activity in the GE863-GPS (recognized by the +ALARM unsolicited code) and bring
the GE863-GPS in operating mode
command:
AT#WAKE=0<cr>
response:
OK

- take the whether measure
- send the SMS with the whether data (see Sending a new SMS without storing it par. 3.5.5).

- read the current time.
command:
AT+CCLK?<cr>

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 86 of 109

Advertising