ATM SECURITY SYSTEM

ABSTRACT
In this project accelerometer is used to find any tilt occured in the atm machine and if any error occur alert message is sent with the help of gsm module and door will be closed with help of motor.


Security is prime concern in our day-to-day life. Everyone wants to be as much as secure as to be possible. An access control systems forms a vital link in a security chain. The micro controller based digital lock presented here is an access control system that allows only authorized persons to access a restricted area. This system is best suitable for corporate offices, atms and home security. Here we are using gsm modem for security purpose. The microcontroller processes this information and this processed information is sent to the user/owner using gsm modem. The project is designed for providing security using mems accelerometer .the output of mems device is given to adc circuit to convert the analog values to digital which is inbuilt for microcontroller. Whenever the accelerometer is disturbed it gives signal to controller and gives buzzer indication. Mems are miniaturized structures, sensors, actuators, and microelectronics. Micro sensors and micro actuators are appropriately categorized as “transducers”, which are defined as devices that convert energy from one form to another. In the case of micro sensors, the device typically converts a measured mechanical signal into an electrical signal. 
CIRCUIT


PCB LAYOUT



PROGRAM

int a=0;
void setup()
{
pinMode(12,INPUT);
pinMode(13,INPUT);
pinMode(A5,OUTPUT);
pinMode(A4,OUTPUT);
Serial.begin(9600);
delay(500);
}
void loop()
{
  if(((digitalRead(12)==1)||(digitalRead(13)==1))&&a==0)
  {
    message();
    a=1;
    digitalWrite(A5,HIGH);
    digitalWrite(A4,LOW);
    delay(1000);
    digitalWrite(A5,LOW);
  }
  else
  {
    digitalWrite(A5,LOW);
  }

}
void message(void)
{
Serial.print("AT+CMGF=1;");//TEXT MOD

Serial.write(0xd);//ENTER
delay(1000);
Serial.print("AT+CMGS=");
Serial.write(0X22);
Serial.print("9400072893");
Serial.write(0X22);
Serial.write(0xd);
delay(1000);
Serial.print("Theft at ATM no.33");
Serial.write(0x1a);
}