THE DESIGN AND CONSTRUCTION OF A MICRO-CONTROLLER BASED LIQUID LEVEL DETECTING SYSTEM


THE DESIGN AND CONSTRUCTION OF A MICRO-CONTROLLER BASED LIQUID LEVEL DETECTING SYSTEM

ABSTRACT

The project is based on the design and construction of a micro-controller based liquid level detector. This is a system that will measure the level of liquid in a container and display the level on 3 seven segment display screen. The system will output an audio and visual alerting indicator when the tank is full and when the tank is empty. This alarm can be re-set using an override switch.This feat is achieved using a a programmable integrated circuit that is programmed using assembly language as well as other integrated circuits such as a seven-segment display driver, a multiplexer, and logic gates. Also, I used other discrete components such as resistors, transistors, capacitors, diodes etc.After the design, construction, and implementation, the system functioned satisfactorily as a microcontroller-based liquid level detector system with digital display readout.

TABLE OF CONTENTS

Title page    -    -    -    -    -    -    -    -    -    iCertification    -    -    -    -    -    -    -    -    -    iiDedication    -    -    -    -    -    -    -    -    -    iiiAcknowledgement    -    -    -    -    -    -    -    -    ivTable of contents    -    -    -    -    -    -    -    -    v Abstract    -    -    -    -    -    -    -    -    -    viii

CHAPTER ONE1.1     Introduction    -    -    -    -    -    -    -    -    11.2    Aim    -    -    -    -    -    -    -    -    -    31.3    Objective of the study    -    -    -    -    -    -    31.4    Scope of the study    -    -    -    -    -    -    -    41.5    Uniqueness of the project    -    -    -    -    -    -    41.6    Methodology    -    -    -    -    -    -    -    -    5

CHAPTER TWO2.1    Introduction    -    -    -    -    -    -    -    -    82.2    The Sub-circuits review    -    -    -    -    -    -    82.2.1        Power supply unit    -    -    -    -    -    -    92.2.2        Level detector circuit    -    -    -    -    -    92.2.3        Block diagram    -    -    -    -    -    -    112.2.4        Signal translating section    -    -    -    -    -    112.2.5        Micro controller unit-    -    -    -    -    -    122.2.6        Display unit    -    -    -    -    -    -    -    122.2.7        Alarm circuit    -    -    -    -    -    -    -    132.2.8        Override reset-    -    -    -    -    -    -    13

CHAPTER THREE3.1    Introduction    -    -    -    -    -    -    -    -    153.2    Block diagram    -    -    -    -    -    -    -    153.3    Power supply    -    -    -    -    -    -    -    163.4    Level detector    -    -    -    -    -    -    -    243.5    Signal processing unit    -    -    -    -    -    -    263.6    Display unit    -    -    -    -    -    -    -    -    283.7    Alarm circuit    -    -    -    -    -    -    -    -    293.8    Microcontroller unit    -    -    -    -    -    -    -    333.9    The complete circuit diagram    -    -    -    -    -    433.10    Mode of operation    -    -    -    -    -    -    -    44

CHAPTER FOUR4.1    Introduction    -    -    -    -    -    -    -    -    474.2    The assemblage of the electronic components    -    -    -    474.3    The construction of the electronic circuit enclose     -    -    494.4    The construction of the model container    -    -    -    -    504.5    The installation of the electronic signals     -    -    -    -    524.6    Installation of the complete system     -    -    -    -    524.7    Bill of engineering measurement and evaluation    -    -    53

CHAPTER FIVE5.0    Conclusion    -    -    -    -    --    -    -    -    565.1    Recommendation    -    -    -    -    -    -    -    57References    -    -    -    -    -    -    -    -    59

CHAPTER ONEINTRODUCTION1.1    INTRODUCTION

The liquid is one of the basic forms of matter and it is embedded into our everyday lives. Since the whole earth is made up of matter and we interact with it daily, it means that the application or usefulness of fluid is a very essential part of our daily activity. Various materials come in fluid form and in the process of the utilization of it for our daily activities, we may desire a need to store it in containers or tanks. Secondly, the need to accurately or approximately determine the volume or quantity of fluid contained in the storage container or tank is also important so that we can monitor its usage and track its movement.In the detection of the level of liquid in a tank, various methodologies could be applied in other to accurately or approximately obtain the quantity of liquid in a tank, without actually viewing inside the tank. The use of completely mechanical means such as analog calibrated meters which is vastly used in many commercial and industrial products such as the fuel gauge in a car and other similar products is widely deployed. Or the use of a purely physical phenomenon such as liquid pressure as seen in the operation of barometric-based meters in liquid detection as applied in most crude oil tanks in flow stations and other similar conditions. Or the use of a purely manual method as seen in the use of a dipstick, as applied in the majority of petrol filling stations in the country. These methodologies, although very effective and serves the purpose of which they are applied in the first place, lack sophistication and sometimes inaccurate reading of the actual quantity is impossible. To this effect, more accurate methods will be applied in this project, the use of electronics in the measurement and calibration of a liquid level in the tank.A microcontroller is an integrated circuit that carries out instructions under the guidance of a program. Microcontroller-based applications are embedded in every sphere of life that involves the use of electrical or electronic devices. The range of applications includes industrial, medicine, navigation, space exploration, measuring, and calibration, etc.For the measuring and calibration applications, the microcontroller is designed together with other discreet electronic components and implemented in such a way as to accurately collect datum of the measured material and using a suitable calibration protocol, present the quantity of the measured material into a suitable reading output in weight, volume, level or height. Other features will be added to the basic operational principle of this circuit, such as notification of tank empty and a tank full, also a fully digital display readout of the level of fluid in the container.

1.2        AIM OF THE STUDYThe aim of the project is to design and construct a microcontroller-based electrical electronic embedded system circuit or device that will accurately measure the level of liquid in a container and present the data into a readable digital format that could be easily read and completely understood by the user.

1.3    OBJECTIVE OF THE STUDYi.    To actualize the above aims, the following objective has to be met.ii.    To obtain a standard embedded systems schematic diagram to achieve the system that will enable one to measure accurately, the level of liquid in a containeriii.    To choose a suitable programming language that will be used in the programming of an 8052 microcontroller that will be used in the circuitiv.    To obtain a power supply unit that will suitably power such a systemv.    To create a mechanical system that will allow the physical quantity (liquid level) to be translated into electrical quantity or signalsvi.    To design a suitable electronic circuit that will enable the microcontroller to drive the display unit that will show the level of liquid in the containervii.    To design an alerting system that will comprise of both audio and visual indicators that will be activated when the tank/container is full and when it is empty

1.4        SCOPE OF THE STUDYThe scope of the study will involve the presentation of the usual methodologies in determining the liquid level in a tank or container used worldwide by various spheres of professionals in existence today and to explain, using technical theories and accurate engineering principles how the use of a microcontroller and electronic implementation is more modern and user friendly.The scope also covers the careful presentation of the various stages of the system, ranging from the power supply, the level detectors, the modulator circuits, the microcontroller unit and flowcharts, the digital display, and the alerting system.

1.5        UNIQUENESS OF THE PROJECTThe liquid level detector circuit is a common technology and as stated earlier, various methods exist worldwide that measures the level of liquid in a container, however, the uniqueness of this circuit is the utilization of an embedded system as the heart of the system. An embedded system is simply an electronic circuit that has at least one programmable integrated circuit. The addition of the microcontroller makes the system to be intelligent and leaves room for upgrade. The circuit has an overfull and under full liquid detector, while the alerting signals are activated, the signal can only be deactivated either by the liquid level changing state from one level to the other. This means that the over full has to become normal while the under full will also be normal.Furthermore, another unique feature that the circuit has is that in most systems when over full is detected or under full is detected, it's only a change of state that can stop the notification, however, in this circuit, there is a notification override push button than can be pressed by the user to stop the notification alert even if the state of the fluid level has not changed.

1.6        METHODOLOGYThe methodology employed in the design and construction of an electronic circuit that will measure the liquid level in a tank and produce the value in a digital read-out format is one that involves also the creation of every masterpiece engineering technology.Textbooks and the internet were consulted as well as the use of standard electronic circuit network theorems and principles all with the aim of actualizing the most appropriate electronic circuit diagram to perform the expected functionIn the programming of an 8052 microcontroller, many programming languages can be utilized. Amongst the options are, EMBEDDED C, BASIC, MACHINE CODE, and ASSEMBLY LANGUAGE. of the available options, assembly language is chosen because of its ability to perfectly blend high-level syntax that enables humans to write a program code that will be easily compactable with everyday language, with a language that is closely related to machine codes which is the only language that electronic systems can understand.The whole system must be operated from a 5 volts dc power supply unit. The choice of battery-powered system and electrical public mains was considered but due to its ability not to need recharging, the public mains was chosen. An a.c to dc converter circuit was used to obtain 5 volts dc from the 220 volts ac public mains power source.The mechanical system that was used in the translation of the liquid level into electrical quantity is metallic screws that were screwed into the body of the container. Conductors were connected from these screws to the system and when a liquid rises above the screws, it will send electrical signals from the terminals to the electronic circuitThe level of liquid will be displayed using common cathode 7-segment displays. To adequately drive these display units, the common cathode 7-segment display driver CD4511 was used. To ensure that the display units don’t use up all the terminals from the microcontroller, the one-of-eight lines de-multiplexer integrated circuit, DM74138, was usedFinally, for the audio and visual alerting system, a light-emitting diode (LED) was used for the visual output while an electronic buzzer was used for the audio output. For effect, a pulse width modulator, 555 timers connected in the astable mode, was used to dive these indicators

.


TYPE IN YOUR TOPIC AND CLICK SEARCH.






RESEARCHWAP.COM

Researchwap.com 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.com 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.com 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.com" and God bless you and your business! ."

    Debby Henry George, Massachusetts Institute of Technology (MIT), Cambridge, USA.
  • "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 .
  • "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.
  • "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.