Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Circuit Diagram
AT Commands
AT commands are used to control GSM module. There are commands for calling and messaging that we have used in this
project for sending message. After receiving AT Command GSM Module respond with OK which means GSM module is
working fine. Here are some useful commands
ATE0 - For echo off
AT+CMNI=2,2,0,0,0 <ENTER> - Auto opened message Receiving. (No need to open message)
ATD<Mobile Number>; <ENTER> - making a call (ATD+919610126059;\r\n)
AT+CMGF=1 <ENTER> - Selecting Text mode
AT+CMGS=”Mobile Number” <ENTER> - Assigning recipient’s mobile number
>> Now we can write our message
>> After writing message
Ctrl+Z - send message command (26 in decimal).
ENTER=0x0d in HEX
Working
● In this project we have used 8051 microcontroller for controlling the whole process of the project. A PIR
sensor is used for sensing human presence. And when PIR sensor sense any movement in targeted area of
room then it gives a HIGH logic to microcontroller and then Microcontroller take place and make a call via
GSM module using AT commands. Controller calls to a predefined mobile number and at the same time it
also sends a message to the same number via GSM Module.
Results
Thus pir based security system was implemented using 8051 microcontroller.
Operation of the Circuit