Italiano


 

 

ALARM

     REMOTE CONTROL

GSM


 

 

Being about to purchase a car,

                                                                 

 

 I have faced one of the problems that many as I, have faced perhaps in this situation: the installation of an alarm device                  

 

Obviously there are manu types of  alarm device and for all the pockets, but among the most expensive we can enumerate the type with GPS: in degree to reveal the position of the car with absolute precision.  

                                                           

Thinking to how much above, of the system GSM has remembered, I have reached the conclusion that exists a more economic even if less precise way.

    

I make sense of better me:  

When a jail cellular has turned on,   

it talks through of the equipments provided of spar (said BTS) that by now we see anywhere: on the roofs of the houses or on small pylons.    

                                                         

Every BTS has a code of recognition that sends to the jail cellular: LAC AND CID.  

The LAC identifies the manager, while the CID is a number that identifies the BTS.  

If the first one interests us few, considering that the manager of the card (said SIM) inserted in the jail cellular we know it, instead the CID tells where we are, approximately, in the ray of some kilometer.  

She can seem too much approximate as precision, but in some cases she can help for the recovery. We don't forget besides that if the jail cellular place in the car sees more BTS, could record also periodically him on the others, allowing so a triangulation that tightens of very the field of search.    

 

 

 

There are some sites internet that brings the CID associated to every BTS:  

http://www.btsfriuli.cjb.net/  

http://www.gjro.it/bts/index.html


http://freeweb.dnet.it/fame/michaelgsm/cercare.htm


http://btsfriuli.altervista.org/speciali/netmonitor.htm

 

They are not very adjourned, therefore another method is that to make a stroll in the district with a jail cellular provided of NetMonitor:    

                                               

It deals with the possibility to read on the display among the so many things, also the CID under which is recorded, as well as the CID of the neighboring BTS.  

Which are the jail cellular that manage the NetMonitor???  

     

  

How can the search be developed??  

On your jail cellular the SMS come, sent by the car, that bring the CID crossed during the march. It doesn't stay that to again cross the probable roads used by the thieves   

to get further with your car.    

 

   

With your jail cellular in which the netmonitor is activated, following the to evolution of CID under which the jail cellular is recorded during as soon as the run, you will understand what road has been used for the escape.  

 Those indications that seemed few precise, become extremely important in to reconstruct the run completed by your car.

              

   


 

A friend has asked me the possibility to use the module as alarm device for the house.   

                                                    

I have inserted therefore 2 input and 2 out of command:  

the first ones serve to send SMS that warns some presence of possible alarms, the seconds to command the lighting or arrest of any system. To the imagination there are no limits.  

As if it was not enough, to save the cost of the SMS is possible to send a call to the number memorized in the module, when the alarm is present.  

   

 

 


 

 

But does thing serve for realizing the all then???    

            They are enough:   

1) a cellular Siemens type: S45, M50, M35 etc...   

2) few component as from attached scheme.  

3) a PIC 16f628A. 

4) a connector for the Siemens. 

and the game is made. 

  


        

With a Siemens s45, has verified the possibility to use the commands AT that the most greater part of the cellular Siemens (also other jail cellular with inside modem) it makes connecting me through the connector of interface available. Precisely the same used for connecting the position battery.    

After having established with the use of the PC which commands to send, I am thrown headfirst on the planning of the 

PIC 16f628A of the Microchip.    

 

 

  I have sweat seven shirts to perform the planning in assembler (if I/you had used a planning in basic, I would not have succeeded in making to enter the program the 2K envoys to 16f628A disposition).     

      And' been born so a very small module, but in degree to manage how much above.  

             

 

Some other friend has asked me to save his work to send a SMS to activate it the evening and another the morning to disarm it. 

I have trained therefore an entry to the PIC to allow, through an interrupter hidden in the car, to stop and to decontrol the operation of the module. 

   

 

 

 

But as the all works????  

 

These are the instructions:   

If you are wanted to know the state of the module, all it takes is sending the SMS: 000 to the jail cellular connected to the module. 

  

 

 

You will receive a report as from following example:  

                           

     

What does it mean???  

ALL. = No  it means that there normally is not a negative on the entry that is normally opened and it is present on the entry that is normally closed. Obviously ALL. =Yes this means the complementary one than above.

 

SEND=YES it means that the appearance or the disappearance of an alarm will be sent throught sms or away through a call to the remote jail cellular.  

 

CID=NO if it is Yes, to every variation of the CID, a SMS will be sent that brings the new CID.  

 

COM1=YES from the exit of the command 1 a positive tension is going out, that is normally used for exciting a relay or to activate other devices. (you see scheme)  

 

COM2=YES if it had been No, from the exit of the command 2 a negative tension is going out, to intend him as I command inactive.

 

AL+CI=NO this function has been asked me by a friend that it uses the module in its car:  

without this option to know if the car has been stolen, it needs to attend the receipt of an alarm and power therefore to send the SMS 033 for the application of the dispatch of the CID, needed to hold therefore the jail cellular always turned on during the night,  

 

with the risk to uselessly wake up him to the arrival of every SMS that necessarily it is not that of Alarm.  

Activating instead with the SMS 091 this function, to the presence of a mass or a positive on one of the two entries, part automatically the function send of the CID.   

Then, if during the night there is a presence of alarm, the SMS will be sent that bring the CID.  

Even if during the night the jail cellular which the SMS are sent is closed the telephone manager of the SIM will memorize all the SMS sent in the night and to the morning, turning on the jail cellular, you will receive (I ever wish you) the sequence of the sent CID.   

 

                              

   

 

 

                   

RECAPITULATION:  

  

 

 

000

If the send of the Report is wanted. 

 

    011

If you want to activate the send through SMS of the appearance or disappeared of the alarm, all it takes is sending the SMS: 011 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides SEND=YES  

N.B.  

with SEND=YES    

To every appearance of an alarm the dispatch of a SMS is had:  ALARM.  

To every disappearance of the alarms the dispatch of a SMS is had: END ALARM. 

   

    012

If  you want to activate the dispatch of a call to the appearance of the alarm (it is not anticipated dispatch called to the disappearance), all it takes is sending the SMS: 012 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides SEND=YES

ATTENTION: I have not realized a routine of verification yet that the call has gone to good end, for which if the call is made toward a busy jail cellular or not attainable, the dispatch of the alarm is lost.  

I recommend you to activate, on the jail cellular that has to receive the call, the deviation to the reception office for busy or unattainable.  

  

 

    022

If you want to disarm the dispatch of the alarm, all it takes is sending the SMS: 022 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides SEND=NO.  

 

 

 

    033

If You want to activate the dispatch of the CID, all it takes is sending the SMS: 033 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides  CID = YES.  

   

   

 

044

If you want to disarm the dispatch of the CID, all it takes is sending the SMS: 044 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides CID = NO.  

     

 

055

If you want to activate the command 1, all it takes is sending the SMS: 055 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides COM1=YES.  

   

 

   

066

If you want to disarm the command 1, all it takes is sending the SMS: 066 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides COM1=NO.  

   

     

 

   

 

077

If you want to activate the command 2, all it takes is sending the SMS: 077 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides COM2=YES.  

     

   

 

  088

If you want to disarm the command 2, all it takes is sending the SMS: 088 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides COM2=NO.  

   

 

 

    091

If you want to activate AL+CI=YES, all it takes is sending the SMS: 091 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides AL+CI=YES.  

N.B. With AL+CI=YES the module ignores both the dispatch of the alarm and is the dispatch of the CID therefore INVIO=YES and CID=YES even if activated they are not operational.  

     

 

092

If you want to disarm AL+CI=NO, all it takes is sending the SMS: 092 to the connected jail cellular to the module. Of answer the above statement report will be sent and that brings besides AL+CI=NO.  

   

   

 

     

Reassuming

FUNCTION ACTION ANSWERED  

Asked for send report  

Send to module: SMS = 000  

Recive report    

Activation: alarm send SMS

Send to module: SMS = 011

  Recive report   

Activation: alarm send call

Send to module: SMS = 012

Recive report   

Deactivation alarm send  

Send to module: SMS =  022

Recive report  

Activation: CID send

Send to module: SMS= 033  

recive SMS:  LAC + CID 

Deactivation: CID send

Send to module: SMS = 044

Recive report    

Activation  Command 1

Send to module: SMS = 055

Recive report   

Deactivation  Command 1

Send to module: SMS = 066 

Recive report     

Activation  Command 2

Send to module: SMS = 077

Recive report   

Deactivation  Command 2

Send to module: SMS = 088

Recive report    

Activation AL+CI

Send to module: SMS = 091

 Recive report   

Deactivation AL+CI

Send to module: SMS = 092 

 Recive report   

 

 

 


 

PRELIMINARY OPERATIONS  

   

1) you connect the jail cellular and you feed the module, you verify that the led called green in the scheme ignites of fixed light and extinguishes him for few instants every 2 seconds around. We are so certain that the module talks with the jail cellular.  

(if the Green led, ignites and extinguishes him to the rhythm of around 10 seconds, it means that the module doesn't receive answered by the jail cellular).   

   


But as we do to tell the module which is the number to which to send the messages???    

To the first activation to attentively follow how much it follows:  

1)To send to the jail cellular connected to the module the password of 8 characters being careful to the capital ones if you introduce alphabetical characters.  

2)To attend at least 90 seconds.  

3)To send therefore a SMS with a message any eses: AAA.  

4)To attend the arrival of the SMS: STORE.  

The activation is completed.  

 

To this point the number of the SIM on which you have received the aforesaid message, is the number to which the module will send the SMS.  

     

   

 


 

And if I wanted to change the number where to send the SMS???  

   

 

1)To send from the new number to which the messages will be destined, the password of 8 characters being careful to the capital ones and lower case letters.  

2)To attend that on the precedent number, which you/they reached the SMS sent by the module, arrivals the SMS: Invia SMS.  

N.B. if it doesn't prepare him more than the preceding SIM because lost or other…, to Attend at least 90 seconds.  

3)To send therefore a SMS with a message any eses: AAA.  

3)To attend on the new number the arrival of the SMS: STORE.  

The activation is completed.  

   

 

To this point the number of the SIM on which you have received the aforesaid message, is the number which you/they will be envoys the SMS.  

   

 

 

 


 

 

You remember that:  

   

The attempt to perform commands from another SIM, provokes toward the number previously memorized in the module the dispatch of the SMS,: UNKNOWN.  

N.B. Naturally some operation will be accepted, besides, from this message you will understand that you/they are reaching SMS not desired to the module.  

------------

If the SMS that you have sent is wrong, it will be received: NOT VALID.   

------------

After the first activation every time that the jail cellular will be connected the SMS to the module you/he/she will be sent: CONNECT.  

This message is very useful to understand if some forgery contact exists in the connection between jail cellular and module, or when the module he is again fed after a turning off (for instance when a possible buffer battery is unloaded in as for long without net feeding or it is damaged).    

Another case exists in which is possible that the message is received: CONNECT. That is when the received SMS is affection from errors, in such case the jail cellular will jam for few second making to restart the module. 

------------

The led called red-haired man on the scheme, ignites when an alarm is present.  

N.B. If SEND=NO or if AL+CI=YES, the led will stay fixed in the last memorized state.   

------------

Last recommendation: it is preferable to polish up the SIM from all the messages memorized before using her/it with the module. 

 Even if the same automatically handles to cancel the received ones, an ache operation of the connection could saturate the memory of the messages of the SIM and therefore not to allow the reading of those upcoming.