Academia.eduAcademia.edu

Microprocessor Report-5

IUBAT – International University of Business Agriculture and Technology Subject Name: Microprocessor Interfacing Subject Code: CSC 471 Projects: Automatic Water Pump Controller. Participant’s Name and ID: Name ID Naimul Ferdous 13303042 Saiful Islam 13303095 Abdullah Al Tarek 14203115 Md. Moshiur Rahman 15303063 Amimul Ahsan 15303032 Md. Ashraful Alam 15203131 Section: D Group: 8051 Submitted To: Dr. Ehteshamul Haque Faculty, Dept. of CSE Submission Date: 16.08.2018 Project Name: Automatic Water Pump Controller (ON/OFF). Objective of Project: Automatic Water Pump ON/OFF using P3 and P1 of AT89C2051 Microcontroller. Circuit Diagram: List of components: SL Name and Description Quantity 1 MCU 89C2051 1 2 LED 2 3 Resistance 1K Ohm 4 4 Capacitors 30pf (10 uf 50Volt(1),100uf 50Volt(1)) 2 5 Crystal Q11.059A1 1 6 Voltage regulator 7805 1 7 Bread board 2 8 Connecting wires 9 Battery 9 Volt 1 10 Display 3 11 Transistor 3 12 Water - Flow Chart of Program: Printout of Program: Brief Description of Program: We declare the bit P3.0 as Lo and bit P3.1 as Hi. Then we define the code for Pump ON and Display O. And define the code for Pump OFF and Display F. We connected +5V common in the water tank. So, if water touches Lo or Hi, it will get High Voltage (1). If none of the wires gets High, then pump will be ON and display O. If Lo gets High and Hi gets nothing, then pump will remain ON. If both wires get High, then pump will be OFF and display F. If Hi gets out of the touch of water and Lo stay connected to water, then pump will remain OFF. If both wires get nothing again, Pump will be turned On. Achievements (Result): If no water, pump ON. If half water, pump still ON. If full water, pump OFF. If water half again, pump still OFF. If the tank becomes empty again, pump will be turned ON.