DESIGN AND CONSTRUCTION OF MICROCONTROLLER TIMER SOCKET OUTLET


DESIGN AND CONSTRUCTION OF MICROCONTROLLER TIMER SOCKET OUTLET

ABSTRACT

This project “Design and Construction of reliable device that takes over the task of human intervention in electrical and electronicappliances when connected to power. It can also be used as a home automation system to ensure energy saving by shutting off from the main supply in such a way that it will switch off the loads once it counts down to zero.The working principle is such that a preset time, usually between 1minute and 99minutes, is set using the appropriate buttons and made to start operation when the start button is hit. The preset time counts down to zero and disconnects automatically from the main supply to conserve power usage. The microcontroller does the countdown which is displayed on the 7-segment display. At the completion of the task, audio and visual signals are indicated to signify completion.In case of a power outage, a backup battery is provided to serve as a time stamp holder. The system continues from the saved time when power is restored.The device is divided 4 main parts:The power supply unit consists of a 5V D.C regulated power supply including a backup battery. Display unit, which serves as the visual display for the time spent/remaining. The Control unit is mainly the microcontroller that takes up the whole operation controlling the system. Connection/Operation, which is where the appliances are connected.         TABLE OF CONTENT  

            PageTITLE PAGE    iDECLARATION    iiAPPROVAL        iiiDEDICATION    ivACKNOWLEDGEMENT    vABSTRACT        viTABLE OF CONTENT    viiLIST OF FIGURES    xLIST OF TABLES    xi

CHAPTER ONE        1.    INTRODUCTION        1.1.    BACKGROUND INFORMATION    1    1.2.    AIM AND OBJECTIVES    2    1.3.    PROJECT MOTIVATION    2    1.4.    METHODOLOGY    3    1.5.    BLOCK DIAGRAM    5    1.6.ADVANTAGES OF THE PROJECT    6    1.7.MODEL OF THE PROJECT    6    1.8.    FUTURE DEVELOPMENT    7

CHAPTER TWO2.    LITERATURE REVIEW        2.1.BRIEF HISTORY OF MICROPROCESSORS    82.2.    BRIEF HISTORY OF SOCKET OUTLET 2.2.1.  THE BRITISH RING FINAL CIRCUIT SYSTEM AND BS 1363   102.3.    PROGRAMMABLE CONTROL TIMER vii    2.3.1.  INTRODUCTION    11    2.3.2.  REVIEW OF PAST WORK    12    2.3.3.  CRYSTAL OSCILLATOR    14    2.3.4.  LOGIC CONTROL UNIT    16    2.3.5.  COUNTER UNIT    18    2.3.6.  DISPLAY UNIT    19    2.3.7.  ZERO DETECTOR    20    2.3.8.  OUTPUT UNIT    21    2.3.9.  POWER SUPPLY UNIT    222.4.    THE PIC16F877    23

CHAPTER THREE3.  DESIGN ANALYSIS AND CALCULATIONS    3.1.    INTRODUCTION    273.2.DESIGN OF POWER SUPPLY UNIT    27    3.2.1.  TRANSFORMER SELECTION    28    3.2.2.  RECTIFIER SELECTION    30    3.2.3.  FILTER SELECTION    30    3.2.4.  REGULATOR SELECTION    333.3.THE VISUAL DISPLAY UNIT    33    3.3.1.  COMPONENTS USED    34    3.3.2.  DESIGN CALCULATION FOR LEDs    353.4.    SOFTWARE DESIGN     3.4.1.  PSEUDOCODE OF THE PROGRAM    37    3.4.2.  PROGRAM FLOWCHART    38

CHAPTER FOUR4.  CONSTRUCTION, TESTING, AND PRINCIPLE OF OPERATION    4.1.    INTRODUCTION    394.2.    COMPONENT TESTING    394.3.    THE CONSTRUCTION    41    4.3.1.  SOLDERING PROCEDURES AND PRECAUTIONS    434.4.    OVERALL SYSTEM TESTING    43viii4.5.    THE SYSTEM OPERATION    434.6.    CASING CONSTRUCTION    444.7.    PROGRAM DEBUGGING    444.8.    PROGRAM SIMULATION    454.9.    PROGRAM LOADING    454.10.    RESULT    46

CHAPTER FIVE5.  CONCLUSION, LIMITATION, AND RECOMMENDATION    5.1.    CONCLUSION    475.2.    LIMITATION    475.3.    RECOMMENDATION    47REFERENCES    48APPENDIX I –CIRCUIT DIAGRAM    50APPENDIX II –PROGRAM CODE    51APPENDIX III –SYSTEM RELIABILITY    55

CHAPTER ONEINTRODUCTION 1.1 BACKGROUND INFORMATION  

As the world becomes concerned with conserving electric power and the fuels that generate electricity, there is a growing need for conscientious homeowners to keep an eye on and minimize their power usage.Vampire or standby power is loosely defined as the “electrical power consumed by appliances while they are switched off (but are designed to draw some power) or in a standby mode. This only occurs because some devices claimed to be “switched off” on the electronic surface, but are in a different state from switching off at the plug, or disconnecting from the PowerPoint”. Switching off at the PowerPoint is effective enough to control the vampire power, there is no need to disconnect all the devices from the PowerPoint [1].Some devices utilize vampire power in a useful manner to provide persistence features such as maintaining clock settings between active sessions, convenience features such as powering the necessary hardware to respond to remote controls and eliminating long initialization times by keeping the hardware in a semi-powered state. Other devices have no beneficial use of vampire power, such as a powered but disconnected mobile device charger or an uninterruptible power supply (UPS) with no active system connected.With the advancement of technology, things are becoming simpler and easier for us. Automation is the use of control systems and information technologies to reduce the need for human work in the production of goods and services [2].2The case of the MICROCONTROLLER TIMER SOCKET OUTLET helps in conserving thevampire power. Electrical and electronic appliances are connected to the socket-outlet andprogrammed to be in power for a specific duration based on the user’s discretion. This goes a longway in conserving energy as the device(s) is/are disconnected after the specified duration. It is veryuseful in cases whereby the user has to keep in touch with what he or she had connected earlier anddue to the multitasking nature of human beings, we tend to forget what had been connected toattend to other things in the household or wherever we find ourselves.

1.2 AIM AND OBJECTIVES OF THE PROJECTThe aim of this project is to;Design and construct an automatic socket outlet with an operational timer incorporated into it usinga microcontroller.The objectives of this project are as follows:1. To conserve electrical power domestically.2. To reduce and subsequently prevent electrical hazards on the home front.3. To control the use of electrical power domestically.4. Through conservation and control of electrical power, electricity bills are reduced.

1.3 PROJECT MOTIVATIONSince the advent of socket outlet manufacturing in developing countries like Nigeria, the solution hasbeen found for power conservation or regulation. There is yet to be an effective socket outlet fortiming domestic socket outlets. The failure to have an operational timer for the socket outlets has3caused a lot of electrical hazards. This has claimed the lives and properties of many people. The user often forgets to look after what he/she had connected and due to incessant power outages, he/she often forgets to switch off appliances earlier connected to power when leaving his/her home or due to carelessness of the user. Due to this negligence, the connected appliances continue to build up, when power is restored, even after completing their purpose of connection and when it gets beyond control, it damages the appliances. Repeated occurrences of these hazards have led to the loss of valuable things worth millions of naira.However, with the help of a timer socket outlet, an effective solution is provided to these problems. An effective control timer for the socket outlet makes it safer and easier to use and also helps to reduce the hazard rate. The use of a microcontroller comes to play in this motivation. Every micro controller has a timer unit inside. A timer is nothing more than a time-counting device fabricated inside the microcontroller unit. A wide range of practical applications requires a timer in action. For example, we need to turn a motor ON for 5 minutes and then turn it OFF, how will we do that? A timer inside a microcontroller unit aids us in implementing this perfectly.

1.4 METHODOLOGYThe circuit employs the use of various electrical and electronic components like resistors, capacitors, light-emitting diode (LED), switches, piezoelectric buzzer, 13-amp socket outlet, jumper wires, 7-segment display, battery, relay, Vero board, and most importantly, the Peripheral Interface Microcontroller 16F877 microcontroller (PIC 16F877).The microcontroller is programmed using the “MikroC” software. It is programmed in such a way to communicate with all the other components on the board.4The switches are used to input instructions into the microcontroller. The instructions are basically the SET TIME, START, RESET and STOP. The SET TIME instructions are displayed on the 7-segment display. The START button signifies the beginning of the entire timing process. If a wrong time is set in, the RESET button helps to restore it to default. The STOP button helps to stop the timing process, this is necessary as there could be a change of mind after the process has started.The battery serves as a temporary memory holder. If during the process, there is a power outage and the set instruction has not been reached, it will help the circuit start from where it stops when power is restored. For example, a 12,000-litre reservoir fills to the brim in 30minutes, the set instruction will be 30minutes and if there is a power outage after the 23rd minute, the battery helps to continue from where it stopped (23rd minute) to the 30th minute. However, a major limitation to this is in the use of a boiling ring, or for the purpose of boiling. If experimentally, pure water boils in exactly 10mins, and a power outage occurs in the 7th minute for as long as 30minutes, when power is restored, the water cannot boil in 3minutes again. So this is where the STOP button comes to play.The buzzer and the LED serve as audio and visual indicators respectively. They indicate the completion of the timing process. They indicate that the process was completed according to the set instruction. After completion, the circuit automatically shuts the relay off which stops the supply of power to the circuit thereby conserving power.5The 13-amp socket is used for appliances with fuses rated 13A and below, examples are phone chargers, television, etc.The microcontroller, capacitors, transformer, relay, etc. serve different purposes which will be discussed in subsequent chapters.

 

.

DESIGN AND CONSTRUCTION OF MICROCONTROLLER TIMER SOCKET OUTLET



TYPE IN YOUR TOPIC AND CLICK SEARCH.






RESEARCHWAP.ORG

Researchwap.org is an online repository for free project topics and research materials, articles and custom writing of research works. We’re an online resource centre that provides a vast database for students to access numerous research project topics and materials. Researchwap.org guides and assist Postgraduate, Undergraduate and Final Year Students with well researched and quality project topics, topic ideas, research guides and project materials. We’re reliable and trustworthy, and we really understand what is called “time factor”, that is why we’ve simplified the process so that students can get their research projects ready on time. Our platform provides more educational services, such as hiring a writer, research analysis, and software for computer science research and we also seriously adhere to a timely delivery.

TESTIMONIES FROM OUR CLIENTS


Please feel free to carefully review some written and captured responses from our satisfied clients.

  • "Exceptionally outstanding. Highly recommend for all who wish to have effective and excellent project defence. Easily Accessable, Affordable, Effective and effective."

    Debby Henry George, Massachusetts Institute of Technology (MIT), Cambridge, USA.
  • "I saw this website on facebook page and I did not even bother since I was in a hurry to complete my project. But I am totally amazed that when I visited the website and saw the topic I was looking for and I decided to give a try and now I have received it within an hour after ordering the material. Am grateful guys!"

    Hilary Yusuf, United States International University Africa, Nairobi, Kenya.
  • "Researchwap.org is a website I recommend to all student and researchers within and outside the country. The web owners are doing great job and I appreciate them for that. Once again, thank you very much "researchwap.org" and God bless you and your business! ."

    Debby Henry George, Massachusetts Institute of Technology (MIT), Cambridge, USA.
  • "Great User Experience, Nice flows and Superb functionalities.The app is indeed a great tech innovation for greasing the wheels of final year, research and other pedagogical related project works. A trial would definitely convince you."

    Lamilare Valentine, Kwame Nkrumah University, Kumasi, Ghana.
  • "I love what you guys are doing, your material guided me well through my research. Thank you for helping me achieve academic success."

    Sampson, University of Nigeria, Nsukka.
  • "researchwap.com is God-sent! I got good grades in my seminar and project with the help of your service, thank you soooooo much."

    Cynthia, Akwa Ibom State University .
  • "Sorry, it was in my spam folder all along, I should have looked it up properly first. Please keep up the good work, your team is quite commited. Am grateful...I will certainly refer my friends too."

    Elizabeth, Obafemi Awolowo University
  • "Am happy the defense went well, thanks to your articles. I may not be able to express how grateful I am for all your assistance, but on my honour, I owe you guys a good number of referrals. Thank you once again."

    Ali Olanrewaju, Lagos State University.
  • "My Dear Researchwap, initially I never believed one can actually do honest business transactions with Nigerians online until i stumbled into your website. You have broken a new legacy of record as far as am concerned. Keep up the good work!"

    Willie Ekereobong, University of Port Harcourt.
  • "WOW, SO IT'S TRUE??!! I can't believe I got this quality work for just 3k...I thought it was scam ooo. I wouldn't mind if it goes for over 5k, its worth it. Thank you!"

    Theressa, Igbinedion University.
  • "I did not see my project topic on your website so I decided to call your customer care number, the attention I got was epic! I got help from the beginning to the end of my project in just 3 days, they even taught me how to defend my project and I got a 'B' at the end. Thank you so much researchwap.com, infact, I owe my graduating well today to you guys...."

    Joseph, Abia state Polytechnic.
  • "My friend told me about ResearchWap website, I doubted her until I saw her receive her full project in less than 15 miniutes, I tried mine too and got it same, right now, am telling everyone in my school about researchwap.com, no one has to suffer any more writing their project. Thank you for making life easy for me and my fellow students... Keep up the good work"

    Christiana, Landmark University .
  • "I wish I knew you guys when I wrote my first degree project, it took so much time and effort then. Now, with just a click of a button, I got my complete project in less than 15 minutes. You guys are too amazing!."

    Musa, Federal University of Technology Minna
  • "I was scared at first when I saw your website but I decided to risk my last 3k and surprisingly I got my complete project in my email box instantly. This is so nice!!!."

    Ali Obafemi, Ibrahim Badamasi Babangida University, Niger State.
  • To contribute to our success story, send us a feedback or please kindly call 2348037664978.
    Then your comment and contact will be published here also with your consent.

    Thank you for choosing researchwap.com.