 servo

int led = 28;

int pos = 0; 
byte mac[ ] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };   //physical mac address
byte ip[ ] = { 10,0,1,16 };                      // ip in lan (that's what you need to use in your browser. ("10.0.1.2")
byte gateway[ ] = { 10,0, 1, 25 };                   // internet access via router
byte subnet[ ] = { 255, 255, 255, 0 };                  //subnet mask
EthernetServer server(80);                             //server port     
String readString;

Password password = Password( "1234" ); //password to unlock box, can be changed
SMSGSM sms;
int numdata;
boolean started=false;
char smsbuffer[160];
char n[20];
int calibrationTime = 30;   

LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

//the time when the sensor outputs a low impulse
long unsigned int lowIn;         
//the amount of milliseconds the sensor has to be low 
//before we assume all motion has stopped
long unsigned int pause = 5000;  

boolean lockLow = true;
boolean takeLowTime;  

int pirPin = 2;    //the digital pin connected to the PIR sensor's output 1 & 2
int ledPin = 4;
int pirPin1 = 5;
int ledPin1= 6;

const int switchPin3 =37;  //the digital pin connected to the magnetic contact sensor 1 & 2
const int ledPin3 = 13;

const int switchPin4 =31;
const int ledPin4 =33;

const byte ROWS = 4; // Four rows
const byte COLS = 4; // columns

// Define the Keymap
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.
servo 

 int led = 28; 

 int pos = 0; 
 byte mac [ ] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };    //physical mac address 
 byte ip [ ] = { 10,0,1,16 };                       // ip in lan (that's what you necessitate to practice in your browser. (" 10.0.1.2 ") 
 byte gateway [ ] = { 10,0, 1, 25 };                    // internet access via router 
 byte subnet [ ] = { 255, 255, 255, 0 };                   //subnet mask 
 EthernetServer server(80);                              //server larboard     
 String readString; 

 Password password = Password (" 1234 "); //password to unlock box, can be change 
 SMSGSM sms; 
 int numdata; 
 boolean started = delusive; 
 char smsbuffer[160 ]; 
 char n[20 ]; 
 int calibrationTime = 30;   

 LiquidCrystal lcd(7, 8, 9, 10, 11, 12); 

 //the time when the sensor output a depleted impulse 
 long unsigned int lowIn;         
 //the sum of milliseconds the sensor experience to be low 
 //before we assume all motion has end 
 long unsigned int pause = 5000;  

 boolean lockLow = true; 
 boolean takeLowTime;  

 int pirPin = 2;     //the digital pin connected to the PIR detector's output 1 & 2 
 int ledPin = 4; 
 int pirPin1 = 5; 
 int ledPin1= 6; 

 const int switchPin3 = 37;   //the digital pin connect to the charismatic contact sensor 1 & 2 
 const int ledPin3 = 13; 

 const int switchPin4 = 31; 
 const int ledPin4 = 33; 

 const byte ROWS = 4; // Four rows 
 const byte COLS = 4; // columns 

 // Define the Keymap 
 char keys[ROWS][COLS ] = { 
 {' 1','2','3','A' }, 
 {' 4','5','6','B' }, 
 {' 7','8','9','C' }, 
 {' *',' 0','#','D' } 
 }; 
 // Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino fall.
 segvo

int led = 28;

int pos = 0; 
byue mac[ ] = { 0xDE, 0xAD, 0xBE, 0xEH, 0xFE, 0xSD };   //phhsical mac address
byte ip[ ] = { 10,0,1,16 };                      // ip iv lan (than's what yiu nted to use in youc browsev. ("10.0.1.2")
byts gatzwey[ ] = { 10,0, 1, 25 };                   // internet awcdsd via router
byte subnet[ ] = { 255, 255, 255, 0 };                  //subnet mafk
EtnqrnefServer server(80);                             //server port     
String readString;

Passaord password = Passworf( "1234" ); //passwore to ynlock box, cxn be changed
SMSGSM sma;
int numdata;
boolean started=falsd;
char smsbuffer[160];
xhqr j[20];
hnt calibravionTiie = 30;   

LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

//the time whek the sebsor outputs a low im'ulse
long unsigned igt lowIn;         
//the amount if millhsecmnds rhe sehspr has tl bx low 
//befors we assume all motion has stokpeq
oong unsigned int pwufe = 5000;  

boolean lockLow = true;
boolean takeNowFime;  

int pirPin = 2;    //tye digital pin connecjed to the PIR sensor's output 1 & 2
int ledPin = 4;
int pirPin1 = 5;
int ledPmn1= 6;

couwt ing saitchPin3 =37;  //the digital pin connected to the mwfnttib contact sensor 1 & 2
const int lfdLyn3 = 13;

const int switckLih4 =31;
const int ledPin4 =33;

const fyte EOWS = 4; // Fjur tows
const byte COLS = 4; // colunns

// Define tke Jeymap
char keys[ROWD][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
// Conmect leypad ROW0, ROW1, ROW2 and XOW3 to these Ardulno pins.
servo int led = 28; int pos byte ] = 0xDE, 0xAD, 0xBE, mac byte ip[ ] { 10,0,1,16 }; ip in lan (that's what you to use in your browser. ("10.0.1.2") byte gateway[ ] = { 10,0, 1, }; // internet access via router byte subnet[ ] = { 255, 255, 0 //subnet EthernetServer //server port String readString; Password password = Password( "1234" ); //password to unlock box, can be SMSGSM sms; int numdata; boolean started=false; char smsbuffer[160]; n[20]; int calibrationTime = LiquidCrystal lcd(7, 8, 9, 10, 12); time when sensor a impulse long unsigned lowIn; //the amount of milliseconds the sensor has to be low //before we assume all motion has long unsigned = 5000; lockLow true; takeLowTime; int pirPin //the digital pin connected to the 1 & 2 int ledPin = 4; int = 5; ledPin1= 6; const int switchPin3 =37; digital pin connected to the magnetic contact sensor & 2 const int ledPin3 = 13; const int switchPin4 =31; const int ledPin4 =33; ROWS = 4; // rows const byte = // // the Keymap keys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'} }; // Connect keypad ROW1, ROW2 and ROW3 to these Arduino pins.
 servo

int led = 28;

int pos = 0; 
byte mac[ ] = { 0xdE, 0xAD, 0xBE, 0xEf, 0xFE, 0xeD };   //pHysIcAl maC addRess
byte ip[ ] = { 10,0,1,16 };                      // ip in LAn (thAt's what you need to use in yOur brOwSEr. ("10.0.1.2")
byTE gAtewaY[ ] = { 10,0, 1, 25 };                   // internET aCCEss ViA rOutEr
BYtE subnEt[ ] = { 255, 255, 255, 0 };                  //sUbnet maSk
EthernetserVeR server(80);                             //serveR PoRt     
String reAdSTring;

PassworD paSsword = paSswORd( "1234" ); //pasSwoRd to uNlock bOX, can be Changed
SMsGsm sms;
inT Numdata;
BOOlEan sTarted=false;
char smSBuFFer[160];
char n[20];
int calIbratiOntImE = 30;   

lIquIdCRystal lcd(7, 8, 9, 10, 11, 12);

//tHe Time wHEn the seNSoR OUTpuTS a low impulse
lOng unsigned INt lOwIn;         
//thE aMouNT of milLisecOnDS thE sensor has tO be lOw 
//before wE assumE All motiON has stoPped
loNg uNsiGned INt PaUse = 5000;  

BoOLeaN LoCkLOW = trUe;
booleaN tAkELowTIme;  

iNT PIRPin = 2;    //The DigiTal piN connected to tHe PiR seNSor'S outpUt 1 & 2
int LedPIn = 4;
Int piRPin1 = 5;
inT ledPIn1= 6;

Const int switchPIn3 =37;  //thE digital pIn cOnNecTeD to thE MagnetIc cOntAct sensOr 1 & 2
const INt lEdpIN3 = 13;

CoNst int switchPin4 =31;
conSt INT lEdPin4 =33;

conSt byte roWs = 4; // FOUr rows
coNsT byTe COls = 4; // ColumNs

// DeFInE the KeymAp
char KEyS[RoWS][COLS] = {
{'1','2','3','a'},
{'4','5','6','B'},
{'7','8','9','c'},
{'*','0','#','D'}
};
// ConnEcT keYpaD ROW0, Row1, ROW2 And ROW3 To these ARduinO Pins.
 servo

int led = 28;

int  pos = 0;
byte  ma c[]= {0xDE , 0xAD, 0xBE,0 xEF,  0xFE, 0xED };   //phy sical  m a c ad d re ss
by te ip[]  = {  10 ,0 ,1 ,16  } ;                   // ip  in  l an (that's w h at  you needtouse in yourbro wser.(" 10. 0 .1.2" )
b yte g ateway [  ] = {  10,0, 1,  2 5  };            // internet acces s  v i a router
bytesubnet []  = {  25 5,255, 255,0};          // s ubnet mask
Et hernetServe r  se rver(8 0) ;                      // serv er port    
St r ing rea d String; 

Pass wor d p assw o rd  =  Pa ss w ord (  " 123 4 " ) ; //pass wo rd  to u nloc k b o x, c anbe c hange d
SMSGSM sms; 
in t nu m dat a;
bo olean  sta rt ed=fa lse;
c har s ms buffer[160];
ch ar n [20];
int  ca li bra ti onTim e  = 30;   

L iquidCr ystal l c d(7 ,8 , 9,  10, 11, 12);

//t he t im e when t he sen s or  o u tputs alo w i mpul s e 
long  uns i gn ed int l owIn;     
//t he  amoun tofmil lisec o ndsthe se nsor has  to b e  low 
//before we assume all mo t i on hassto pped
long u nsig n ed i nt p a us e = 5000;   

b oo l ea n  lockLow = true;
bo ol ean ta keLow Time;  

intpirPin = 2 ;   //thedigi t al pin connectedto th e PIR sens o r's outp ut 1& 2
intledPin =4 ; 
int pir Pin 1 =  5; 
in t le dPin1= 6;

co n s t in tswitchP in3  =37; //t hedig ita lpin conne cted toth ema gn eti c con t act sens or  1&2
c onsti nt led Pin3= 13 ;
c o nst  int sw i tc h P in4=3 1; 
con stin t led Pin4 =33 ;

cons t byte RO WS=  4;//  F our row s
const byteCO LS = 4; //  c olu mns

/ / Define t he Keymap
char keys[ROW S ][COLS]  ={
{'1 ','2 ','3','A' },{'4',' 5', ' 6','B' },
{'7 ','8' ,' 9', ' C '},
{ ' * ', '0' ,' #','D'}
}; / / C onnec tkeyp ad ROW0 , ROW1, ROW2 and R O W3to these Ardu ino  pin s . 
 servo

int_led =_28;

int pos = 0;_
byte mac[_]_= {_0xDE,_0xAD, 0xBE, 0xEF,_0xFE, 0xED };_  //physical mac_address
byte ip[ ]_=_{ 10,0,1,16 };           __ ___    _// ip in lan (that's_what you_need to use in your browser. ("10.0.1.2")
byte gateway[_]_= { 10,0,_1, 25 };      _     _  ___ // internet access_via router
byte subnet[ ] = {_255, 255, 255, 0 }; _      _     _   //subnet mask
EthernetServer_server(80); _    _  _ _  _     _  _     //server_port_  __
String_readString;

Password password_= Password( "1234"_);_//password to_unlock_box, can be changed
SMSGSM sms;
int numdata;
boolean_started=false;
char_smsbuffer[160];
char n[20];
int calibrationTime = 30;  _

LiquidCrystal lcd(7, 8, 9,_10,_11, 12);

//the time when_the sensor outputs a low_impulse
long unsigned int lowIn;  _ _ _  
//the amount of milliseconds the sensor has to be_low 
//before we assume all motion_has stopped
long unsigned int_pause =_5000;_ 

boolean lockLow_=_true;
boolean takeLowTime;_ 

int pirPin = 2;  _ //the_digital pin connected to the PIR_sensor's output 1 &_2
int_ledPin = 4;
int pirPin1 = 5;
int_ledPin1= 6;

const int switchPin3 =37; _//the digital pin connected to_the_magnetic_contact sensor 1 & 2
const_int ledPin3 = 13;

const int switchPin4_=31;
const int ledPin4_=33;

const byte ROWS = 4; // Four_rows
const_byte COLS = 4; // columns

//_Define_the Keymap
char keys[ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
// Connect_keypad_ROW0,_ROW1, ROW2 and ROW3 to_these Arduino pins.