Sei sulla pagina 1di 13

HOME SECURITY SYSTEM USING PIC CONTROLLER

GSM TECHNIQUES VIA INTERFACING WITH C VISHAV VIKASH SANDEEP YADAV AYUSH KUSH

Home security system is needed for occupants

convenience and safety.


The system is a wireless home network which

contains a GSM gateway.


Two kinds of wireless security sensor that are

infrared security nodes and alarm nodes.


This design and its implementation are of low

cost, low power consumption and GSM(Global System for Mobile Communication) based.

NEED OF IT AND WHERE..?


Security is a basic need of all living creature. So this

fulfill this purpose with low implement cost.


As the security needed for money , jewellery & for

important documents in different fields(like offices, houses etc.). It also fulfill this requirement .
Mainly designed for home & offices but also

beneficial in a large scale industries & buildings.

HARDWARE REQUIRMENTS :PIC16F877A Controller GSM(Global System for Mobile Communication)

modem
Sim card for GSM modem PIC development kit IR sensors Buzzer Power supply Destination mobile (Receiver)

SOFTWARE REQUIRMENTS :MicroC pro complier


This complier is basically used for PIC family It converts the c program body in HEX file It is user friendly because of its large library set It is compatible with a lot of devices

Embedded C programming

BLOCK DIAGRAM :-

IR SENSOR :

Infrared sensors Combination of 2 type of diodes.

Transmitter- LED Receiver- photodiode


Range 5 m(approx.) Signal 1 transmitted at no interrupts Signal 0 transmitted at interrupts

MICROCONTROLLER :

Contains 40 pins. Have EEPROM on chip(256 bytes) It have predefined libraries HEX file is burnt on chip by using flash magic(burner) 5 ports(A,B,C,D,E) Serial comm. by UART Operating freq.-20MHz 35 instruction set

GSM MODEM :-

It works on a baud rate of 9600 It contains transmitter & receiver It communicate serially Operating voltage is 5V Have large number of AT commands for different purpose Work similar as our mobile phone

C PROGRAM BODY :void main() { UART1_Init(9600); Delay_ms(500); TRISA=0x01; if(PORTA==0x01) { UART1_Write('A'); Delay_ms(500); UART1_Write('T'); Delay_ms(500); UART1_Write('+'); Delay_ms(500); UART1_Write('C'); Delay_ms(500); UART1_Write('M'); Delay_ms(500);

UART1_Write('7'); Delay_ms(500); UART1_Write('3'); Delay_ms(500); UART1_Write('1'); Delay_ms(500); UART1_Write('7'); Delay_ms(500); UART1_Write('1'); Delay_ms(500); UART1_Write('9'); Delay_ms(500); UART1_Write('9');

THANKS

Potrebbero piacerti anche