# INTRODUCTION a) Home Automation n simple terms home automation is defined as the automatic control of all appliances at home. It's something like this: when you get up from bed, the pressure sensor kept under your bed mat sends the signal to the coffee maker which makes the coffee and heater in your bathroom switches on simultaneously [1] . Lights and fans switch ON and OFF based on the humans presence in the room all by itself. These technologies are no more the dream but are now becoming the reality around us. Home Security Automation: Non-Automated security systems were found non-reliable. Doors were fitted with lock and key system which can be opened easily. Even the human presence of security guard may not be completely trustworthy. Every system from the past has been found to be very much vulnerable. Home is a place where security is must, to keep all the valuables and appliances safe. The owner should have the confidence to step out of the house with the feel that Author ? : Dean Academic, Professor and HOD , Dept. of EEE, Dr. Ambedkar Institute of Technology Bangalore, India. E-mail : sumangala_bv@yahoo.com Author ? : B.Tech EEE, Dr. Ambedkar Institute of Technology Bangalore, India. E-mail : kbhargavram1990@gmail.com nothing can happen to the Home. This feel will only arise when the home is equipped with a reliable security system. How: This reliable home security system can be made possible with Home Security Automations. Over the years many systems are being designed for this purpose. Password Authentications like the ATMs, which are equipped with RFID or Biometric System and Cameras with image processing, Zigbee based security system, PIC based security system, SMS based security system etc. has been designed and implemented [2] . But the cost of the systems is relatively high, thus making it available to the only to the rich. With this issue in focus, we tried to design a home security system which will be of low cost and provide adequate security levels for the home, thus making it reliable and affordable to every class of families. is used to enter password and verifications [3] . LCD is used mainly to provide better user interfacing, such as to display "Enter Password:", "Home Lighting (Y/N)", "ALARM ON" etc. # II. # BLOCK DIAGRAM 2) EEPROM: A Parallel 16K (2Kx8) EEPROM [4] (Electrically Erasable Programmable Read Only Memory) is provided as an external memory. EEPROM is used to store the password and is again accessed when a password has to be changed. [Note: A series EEPROM can also be used in this application. To decrease the programming complexity Parallel EEPROM is selected] The Password Authentication provides a secured gateway to enter the home. The owner activates/deactivates the security system by entering the password. When security system is switched ON, simultaneously the Detector Circuit, Inverse Logic Buzzer and Home Lighting Control inputs varies based on its mode of operation. c) Detector Circuit Figure 2 : Circuit Connection of Detector Circuit circuit, there is a 10V DC supply along with two potential dividers (R11, R12) and R10, LDR resistance. Due to the R11 and R12 potential divider, the voltage drop across R11 is 5 volts providing 5 volts to the negative terminal of the LP339 comparator [6] . Once the home security is switched ON, the LDR LASER circuit will get activated. This means that the laser light will be incident on the light dependent resistor. As the laser light is incident on the LDR, its resistance is lower than R10 creating a drop such that the voltage available at the positive terminal of the comparator is higher than the voltage at the negative terminal. Hence the comparator output will be high and LED will not glow. If the laser light is switched off or cut due to some obstruction, the LDR resistance will increase. Hence the drop across it will increase producing a lower voltage at the positive terminal. As a result, the comparator output will be low and the LED starts glowing indicating that someone has disturbed the sensor system. The output of comparator is connected to port of the microcontroller (feedback loop). the door can only be opened with the right password and right key to the lock. Even the present doors need not be replaced but just a small hole (approx 1cm radius) on the door is sufficient to install this system. Thus the security system is reliable and also easy to implement. Detector Circuit is placed behind the main door whereas the Password Authentication system is at the front as shown in the figure 2. The detector circuit is a combination of LDR (Light Dependent Resistor) and Laser. The LDR has the property of possessing a high resistance in the range of Kilo to Mega ohms in normal condition [5] . When a high intensity light is incident on the LDR, the resistance drops to 300-400 ohms. In the [Note: The inputs of "AND Gate" and "OR Gate" are connected to the port pin of microcontroller ] When wiring was used to switch ON the Buzzer, questions would be raised about what will happen if someone enters the home illegally and cuts the wire that connects main system to Buzzer. For that reason using logic gates and applying inverse logic concept, a system is designed in such a way that even though the intruder cuts the wires the Buzzer doesn't switch OFF. [Note: In real time connections the 74LS08 QUAD input AND Gate and 74LS32 Quad Input OR Gate will be used [7] ] 1) Working The Inverse Logic Buzzer has 3 logic gates: AND, OR and NOT with a Buzzer. OR Gate input changes based on the status of security system, 0-activated and 1-deactivated. The 2 Inputs of AND gate signify the state of Detector Circuit and Password Authentication. Initially when security is switched ON the inputs of AND is HIGH and OR Gates LOW, thus the output of OR is HIGH and the NOT gate inverses the signal from HIGH to LOW and the relay is not energized, Buzzer is OFF. When an intruder breaks into the house, the detector circuit is disturbed and input of the AND gate changes from HIGH to LOW. Thus the output of OR gate will be LOW and the NOT gates inverses signal to HIGH, thus relay is energized and the Buzzer switches ON. The same principle discussed above is followed when a Wrong Password is entered (multiple times). So the intruder should search for the main location of the buzzer, running along the wire. For best efficient working of buzzer, it is preferable to use multiple buzzers placed in different places, i.e. rooms. So that by the time the intruder finds and stops all the buzzers the entire surrounding neighbourhood area would have been alerted. # 2) Relay Circuit Working ? OFF Condition: When the transistor (BC 547 npn) is OFF, the two voltage supplies Vcc and V6 tend to flow through the same path, opposing one another. Hence the relay coil is not energized properly and the contact switch remains open. The Buzzer is OFF. ? ON Condition: When the transistor is ON, the supply from Vcc gets grounded. The V6 energizes the coil, enabling the closing of the contact switch and Buzzer is switched ON. IV. # COMPLETE WORKING OF L 3 The system is placed on the door as explained before. When the owner is leaving the home, the system is activated by entering the right password using the Keypad. The right password is verified by checking the entered password with the password stored in the EEPROM. Activating the system means that the Buzzer and Detector Circuit are energized. Then an option to switch ON/OFF the Home Lighting is requested. At times when parents are leaving home with their kids at home doesn't prefer to cut OFF the power supply, so for that an option is provided to keep the lightings ON or OFF and the power is monitored through higher withstanding capacity relay. Once the option is provided and the owner left the home, the security system gets activated. System is deactivated only when the right password is entered with the right key to the door lock, thus providing Double Authentication to the home. If an intruder attempts to break into home by either forcibly opening the door or by placing a duplicate key, the detector circuit is disturbed (as the right password is not entered) and the Buzzer is switched ON. Few other details that have been taken care are: ? Once the Buzzers gets activated it switches OFF the Laser Circuit, so that even if the intruder closes the door after breaking in, it doesn't deactivate the alarm as the Laser won't fall on LDR anymore. ? By giving a delay loop in such a way that the detector circuit gets disturbed only when Laser stops falling on the LDR for around 1sec. Thus if any minute dust particle passes through gap between the LDR-Laser doesn't trigger the buzzer. ? Even if the intruder tries to break the password system placed on the door to disable the security system, the outputs of the logic gates goes LOW and Buzzer turns ON automatically. ? As observed the system is divided into different sections and each section is supplied with a secondary supply unit (Batteries), so that even if the main supply is cut off the system will shift on to the backup power provided. As the sections are divided it will be easy to add separate power supply. V. # Global Journal of Researches in # COST ANALYSIS For the proposed system, components of the system are available in local market. The recent cost for entire the system is given below. developed to make very affordable to reliable security system. Although there are existing security systems for that price, the L 3 differ from them in many ways. The system was designed using locally available components and it is very cheap. The double authentication system with the inverse logic alert signal makes L 3 different from the existing systems. The home security is low cost, reliable and can be easily implemented. # VI. # FUTURE UPGRADATIONS a) SMS Service At times if the home is at an isolated locality, a buzzer won't alert the neighbors. In such conditions, another alert signal can be generated by sending alert SMS using GSM device to the owners or to nearby police station. b) Other Sensors Figure 8 : PIR and IR sensor 1) PIR Sensors: PIR [9] i.e. Passive Infrared Sensor is used as a motion and fire detection sensor. In the home it is mounted at height of about 3m at a corner of a room. 12V DC is given to the PIR to power the sensor. The circuit switch is normally closed when the motion is not activated. As soon as the PIR senses considerable temperature change, which can be due to motion or fire, the circuit switch opens. 5V DC is given to the normally closed switch. Thus at the start it sends high signal to the AND gate (as per explanation from section III). When motion is detected, circuit switch is open thus LOW signal is send to AND which switches ON the buzzer as per Inverse Logic concept (refer section 3.4). 2) IR Sensors: IR (Infra Red) sensors are used for motion detection. IR working concept is similar to that of Detector Circuit. When the transmitter signal is being received by Receiver, output signal is HIGH. Then the signal is disturbed, i.e. someone interferes in between the receiver stops receiving signal from transmitter. At thus condition the output signal will be LOW. The output signal is generated based on the closing and opening of switch at the Relay Circuit. Thus IR sensors can be used for detection at doors, windows etc, to restrict the entry of intruder through doors or windows other than the main entry door. VII. # SIMULATION RESULT # CONCLUSION The present technology for Home Security Automation at entry level involves systems like RFID cards, Biometrics Access System, ZIGBEE based etc. These systems provide a very high level of security to home, but comes with high price thus limiting the security system accessible only to wealthy families. These features also come with great complexity in designing, working and implementation. Thus we attempted to design a system which can be affordable to every home within a feasible price which is less than 5000 INR, i.e. approximately 100 USD (includes the installment and future upgradations). Also the working of the system is simple and easily can be implemented on existing doors without the need of replacing or modifying the door. ? "IGIAT (Indo-German Institute of Advanced Technology)" in Vishakapatnam, helped us in guiding the preliminary part of the work in software and hardware designing. 1![Figure 1 : Block Diagram Representation of the Security System](image-2.png "Figure 1 :") 3![Figure 3 : Pictorial representation of how Password Authentication and Detector Circuit are implemented Double Authentication: Thus it is observed that](image-3.png "Figure 3 :") 45![Figure 4 : Real Time working of Detector Circuit d) Inverse Logic Buzzer](image-4.png "Figure 4 :Figure 5 :") ![and Performance Study of L3-Home Security System](image-5.png "") 6![Figure 6 : Complete circuit connection of the prototype design of L3 Home Security System](image-6.png "Figure 6 :") ![-According to cost estimation made in May 2012, in Bangalore, India a) Low CostThe L 3 Home Security System is a security system designed especially for existing homes and also its application to shops, banks etc. The system is](image-7.png "") 9![Figure 9 : Snapshots of running simulation of home security system using Proteus ISIS 7 Professional](image-8.png "Figure 9 :") ![We thank "Prof. T B Dayanand" Dept. of EEE of Dr. AIT, Bangalore for helping us in designing the RELAY circuit in hardware.Global Journal of Researches in EngineeringVolume XII Issue v v v v VIII Version I](image-9.png "?") 1Sl.noComponent NameCost (INR)1AT89V51RD2 Microcontroller1002Crystal Oscillator203Electromagnetic Relay -4403Detector Circuit (Laser + LDR + LP339)2004Password Authentication (LCD LM016 + 4X3 Keypad + EEPROM)2005Logic Gate IC's (74LS08 AND + 74LS32 OR)306Power Supply (Batteries + Step Down Transformer)2507Design Accessories (PCB + Resistors + Capacitors, etc. © 2012 Global Journals Inc. (US) Design, Development and Performance Study of L3-Home Security System * Smart Homes Technology YouElectronics For Magazine 43 * Design, Development and Performance Study of a Microcontroller-Based Home Security System Using Mobile Phone TabinderAkter MahfujaAkter MohammadMozammelHoque MdRab & Dr Md Habibur Rahman Global Journal of researches in engineering Electrical and Electronics 12 May 2012 * Microcontroller Based Home Automation System with Security InderpreetKaur International Journal of Advanced Computer Science and Applications (IJACSA) 1 6 December 2010 * Atmega16 Datasheet Sensors interface to Microcontroller Atmel Corporation * An Illustrative Approach to Logic Design R D SudhakerSamuel Texas Instruments LP339 Datasheet * Analysis and Performance of a Low Cost SMS Based Home Security System International Journal of Smart Home Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D. McKinlay, Sheikh Izzal Azid, Sushil Kumar 5 3 July, 2011 The 8051 Microcontroller and Embedded Systems Using Assembly and