Antisleep Alarm
Total Page:16
File Type:pdf, Size:1020Kb
www.final-yearproject.com PROJECT REPORT ON ANTISLEEP ALARM Submitted as partial fulfilment of award of BACHELOR OF TECHNOLOGY DEGREE Session 2011-2012 In ELECTRICAL AND ELECTRONICS ENGINEERING By ABHISHEK KUMAR 0819421001 KAMLESH KUMAR 0819421020 SATYAVIR SINGH 0719421048 Under guidance of : Miss. Niharika singh H. R. INSTITUTE OF TECHNOLOGY, GHAZIABAD Estd. 2005 (AICTE Approved) AFFILATED TO GAUTAM BUDDH TECHNICAL UNIVERSITY, LUCKNOW PROJECT REPORT ON ANTISLEEP ALARM Submitted as partial fulfilment of award of BACHELOR OF TECHNOLOGY DEGREE Session 2011-2012 In ELECTRICAL AND ELECTRONICS ENGINEERING By ABHISHEK KUMAR 0819421001 Under guidance of : Miss. Niharika Singh H. R. INSTITUTE OF TECHNOLOGY, GHAZIABAD Estd. 2005 (AICTE Approved) AFFILATED TO GAUTAM BUDDH TECHNICAL UNIVERSITY, LUCKNOW DECLARATION I hereby declare that the work being presented in this report entitled “ANTISLEEP ALARM” is an authentic record of my own work carried out under the supervision of “Miss. NIHARIKA SINGH ”. The matter embodied in this report has not been submitted by us for the award of any other degree. Signature of student Date:................... (ABHISHEK KUMAR) This is to certify above statement made by the candidate(s) is correct to the best of my knowledge. Signature of HOD Signature of Supervisor Sukhbir singh Niharika Dept. Of E.N. Dept. Of E.N. Date.................. FRONT PIECE ACKNOWLEDGEMENT ACKNOWLEDGEMENT This is the reflection i am showing to reveal the sense of regard and reverence we are having for our HOD Mr. Sukhbir singh , for appointing the projectchosen by us and for his invaluable inspiration and motivation which help us to successfully complete the project. Our sincere thanks to our project guide Miss. Niharika singh who gave his invaluable time for selection of project and suggestion for the successful completion of project. Without his suggestion and motivating ideas it would have been difficult to complete the project. We would like to give our heartiest gratitude to all the faculty members and staffs who impared us invaluable knowledge till now which helped us to complete our project successfully. At last but not the least we wouldlike to give our special thanks to our colleagues who helped us and when required . They have given their great support and effort both physically and mentally for the completion of our project. ABHISHEK KUMAR TABLE OF CONTENTS Acknowledgement 1 Abstract 4 Project summary 5 List of Figures 6 1. Introduction 7 2. Review of literature 9 2.1 Microcontrollers 11 2.1.1 Family of microcontrollers 12 2.1.2 AVR family 13 2.1.3 PIN diagram 14 2.1.4 Data sheetof atmega 16 15 2.1.5 Pin description 18 2.2 Automatic control board 20 2.2.1 LCD 21 2.2.1a Types & characteristics of LCD 23 2.2.1b connections of LCD 25 2.2.1c Syntax of LCD 26 2.2.2 LED 27 2.3 Programming in BASCOM 28 2.3.1 Main syntax 28 2.4 Home Automation using Microcontroller 34 2.4.1 Power supply section 35 2.4.2 Microcontroller supply section 35 2.4.3 IR sensor 36 2.4.4 Home Automation Supply section 37 2.4.4a Darlington Transistor TIP122 37 2.4.4b Optocoupler 817a 39 2.4.4c Relay 40 2.4.4d Transformer 44 2.4.4e capacitors 45 2.4.4f Diode 46 2.4.4gTransistors 48 2.4.4h Resistor 49 3. Methodology of Design 51 3.1 Flow Chart 51 3.2 Block Diagram 53 3.3 Power Supply Circuit Designing 54 3.4 Circuit diagram of Control Board 56 4. Results and Discussion 57 4.1 Result 57 4.2 Analysis 58 5. Application 59 6. Conclusion 60 List of references 61 ABSTRACT ABSTRACT This report presents the development of IR SENSOR based control home appliances for smart home system. The main aim of the prototype development is to reduce electricity wastage. IR sensor module was used for receiving singnals regarding entry and exit of persons and automatically enable the controller to take any further action such as to switch ON and OFF the home appliances such as light, air-conditioner etc. The system is integrated with microcontroller, home automation and IR sensor interface using BASIC language. BASSCOM software was utilized to accomplish the integration. The system is activated when user enters the room and IR sensor sends signal to controller at home. Upon receiving the Sensor command, the microcontro ller unit then au tomatically controls the electrical home appliances by switching ON or OFF the device according to the user order. to the received message. The prototype has been successfully developed and it could provide an effective mechanism in utilizing the energy source efficiently. The System is basically designed for students in order to make them awake and also if they are slept, than to save energy by automatically closing fans and lights This paper mainly focuses on the controlling of home appliances automattically and providing security when the user is slept or not in the room. This system provides ideal solution to the problems faced by home owners in daily life. The system uses automatic controlling thus providing ubiquitous access to the system for security and automated appliance control. PROJECT SUMMARY PROJECT SUMMARY Organization : H.R.I.T., Ghaziabad Platform : Windows 7 Language : Basic Guide : Mr. Kumar Garvit COO, Nextsapiens, Noida. Project Co-ordinator : MISS. NIHARIKA SINGH Lecturer, H.R.I.T., Ghaziabad ACRONYMS LIST OF FIGURES Fig a,b,c &d Antisleep Alarm Prototype, Microcontroller Board, Atmega16, LCD, Home Automation Fig. 2.1 Atmega32 Microcontroller (AVR Family) Fig2.1 .2a Pin Diagram o f Atmega16 Microcontroller Fig 2.2.1a 16*2 LCD Fig 2.2.1b Working of an LCD Fig 2.2.2 Light Emitting Diode Fig 2.4 A Home Automation using Microcontroller Fig 2.4.2 an Atmeg16 Microcontroller Board 2.4.3a IR Sensor 2.4.3b Basic design of IR senso Fig 2.4.4 A Home Automation Board Fig 2.4.4a Circuit Diagram of Darlington Transistors & TIP122 Fig 2.4.4b 4pin Optocoupler 817 a Fig2.4.4c Relay Fig 2.4.4c1 Schematic of types of Relays Fig.2.4.4d Transforme Fig.2.4.4e Types of capacitors Fig. 2.4.4f PN junction diodes Fig.2.4.4g types of capacitors Fig.2.4.4h Types of Resistors Fig 3.1 Flow Chart showing the working of the prototype Fig 3.2 Block Diagram of the system Fig3.4: complete controller board ckt diag. INTRODUCTION CHAPTER I INTRODUCTION The development of digital information has led the rapid change in human lifestyle. The use of electricity is very important as one of the main source of energy that is vital in today modern life. Some kinds of mechanism using available technology could be used to reduce wastage in electricity usage. Thus a prototype based on a microcontroller device using SMS is developed. It can automatically control any electrical equipment at home remotely using sensing of person. Hence the electrical energy saving in daily life can be made more efficient and effective. As the technology grows automatic controlling has been widely accepted as a part of operation. The purpose of using automatic control is to provide widest coverage at minimal cost. Therefore the use of prototype would facilitate in controlling the electrical device at home from without switching on and off of device and low in maintenance and independent from any physical geographical boundary. At the present time, people use electrical energy as one of the main source of power of energy to operate any electrical device or appliance. Most of the people turn on the light and forget to switch off and may go for so many days to out of station. Leaving the light turned on continuously, lead to energy Waste . Thus this project is proposed to develop a system is to facilitate the home owner to optimize usage of electricity automattically. Light turned on continuously and it leads to energy waste. Thus this research is carried out to provide a mechanism through the development of a prototype to provide a service to the home owner to optimize the usage of electricity through remote control using automatic sensor controlled services. The motivation is to facilitate the users to automate their homes having ubiquitous access. The system provides availability due to development of a low cost system. The home appliances control system with an affordable cost was thought to be built that should be mobile providing remote access to the appliances and allowing home security. The followings are the objectives of the research project to ensure it meets the aim. To design a lamp and extension control system for smart home application using automatic systems. To design a circuit that can automatically switch ON and OFF the home appliance using Automation Board, To write a program that can send the IR sensor signal using assembly language in BASSCOM software. Chapter 2 gives a brief about the projects based on IR sensor which have been done in past and what they comprised of. This chapter also gives a detailed description of the components used in the projects, their description along with a clear understanding of the programming commands that have been used. Chapter 3 highlights the flowcharts and diagram related to the projects working and also a view of the systems working. Chapter 4 discusses the results & analysis of the project prototype Chapter 5 gives you the main conclusion which also includes the drawbacks involved in the system that can be rectified. REVIEW OF LITERATURE CHAPTER 2 REVIEW OF LITERATURE This section provides a previous study of related work regarding the application of AUTOMATIC control of devices in a various fields.