You are on page 1of 19

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI.

A PROJECT REPORT
ON
“Water level indicator with microcontroller 8051.”
DIPLOMA
IN
SECOND YEAR ELECTRONICS & COMPUTER ENGINEERING
SUBMITTED BY

Mr. SURAJ SUBHASH MORE

UNDER THE GUIDANCE OF


Mr. S. M. ADAVKAR
DEPARTMENT OF ELECTRONICS AND COMPUTER ENGINEERING
SANT GAJANAN MAHARAJ RURAL POLYTECHNIC MAHAGAON
ACADEMIC YEAR 2023-2024
ACADEMIC YEAR 2023-2024
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

ACADEMIC YEAR 2023-2024


“SANT GAJANAN MAHARAJ RURAL POLYTECHNIC”
AP/-MAHAGAON, SITE-CHINCHEWADI, TAL-GADHONGLAJ, DIST-KOLHAPUR.

CERTIFICATE
THIS IS TO CERTIFY THAT THE FOLLOWING STUDENTS OF SECOND YEAR
IN DIPLOMA IN ELECTRONICS & COMPUTER ENGINEERING OF INSTITUTE
SANT GAJANAN MAHARAJ RURAL POLYTECHNIC, MAHAGAON-(CODE)
416502 HAS COMPLETED MICRO PROJECT-“WATER LEVEL INDICATOR WITH
MICROCONTROLLER 8051” IN SUBJECT MICROCONTROLLER AND
APPLICATION SUBJECT CODE (22426).

FOR ACADEMIC YEAR 2023-24.

AS PRESCRIBED IN THE CURRICULUM

Roll No. Name of Student Enrollment No. Seat No.

46. MORE SURAJ SUBHASH 2209650123 218390

Mr. S. M. ADAVKAR Mr. M. P. PATIL Mrs. ROHINI. S. PATIL


( Project Guide ) ( Head of department ) ( Principal )
INDEX
Sr No Topic Page No

1.0 Micro project proposal


1.1 Rationale
1.2 Literature review
4-6
1.3 proposed methodology
1.4 Action Plan
1.5 Resources Required

2.0 Micro-Project Report

2.1 Course Outcomes Integrated

2.2 Literature review

2.3 Actual Procedure Followed 7-9


2.4 Resources Required

2.5 Outputs of the micro-project

3.0 Block Diagram 10


4.0 Explanation of Block Diagram 10

5.0 Working of The System 11


6.0 3D Model of The System 12
7.0 Program Flowchart 13
8.0 Program Algorithm 14
9.0 Simulation Diagram 14
10.0 Program Code 15-18
11.0 Simulation Result 19-21
12.0 Future Scope 22
13.0 Advantages 23
14.0 Conclusion 24
15.0 References 24
annexure I
Micro project proposal

A MICRO PROJECT ON “ Water level indicator with microcontroller 8051.”

1.1 Rationale

A water level indicator employing a microcontroller such as the 8051 offers a sophisticated yet
cost-effective solution for monitoring water levels in tanks or reservoirs. The rationale behind
utilizing a microcontroller lies in its ability to provide precise measurements with a high degree of
accuracy. Through automated processes, the microcontroller continuously evaluates water levels,
ensuring real-time updates without necessitating manual intervention. These updates can be
displayed on an LCD screen or communicated via UART or SPI interfaces for remote monitoring.
Furthermore, the flexibility of microcontroller-based systems allows for customization to suit
specific requirements, whether it involves setting alert thresholds or integrating additional sensors
for comprehensive monitoring. Additionally, the low-cost nature of microcontrollers coupled with
their low power consumption makes them an ideal choice for water level indicator projects,
particularly in scenarios where energy efficiency and affordability are paramount considerations.
Overall, a microcontroller-based water level indicator represents a reliable, efficient, and adaptable
solution for monitoring water levels across diverse applications.

1.2 Literature review

1. Sensor Integration: Studies have explored the integration of various sensors with the 8051
microcontroller to measure water levels accurately. These sensors include ultrasonic, infrared,
and capacitive sensors, each offering unique advantages in terms of accuracy, range, and
environmental suitability.

2. Measurement Accuracy: Researchers have focused on optimizing sensor placement,


calibration techniques, and signal processing algorithms to improve the accuracy of water
level measurements. This ensures that the information provided by the indicator is reliable for
critical applications such as water storage tanks or reservoirs.

3. Display and Communication: The 8051 microcontroller is commonly interfaced with display
modules such as LCD screens to provide real-time updates on water levels. Additionally,
studies have explored the integration of wireless communication protocols like Zigbee or
Bluetooth for remote monitoring, enabling users to access water level information from a
centralized location.
1.3 proposed methodology

✓ Focused on the selection of an appropriate topic for the micro-project.

✓ Select the topic i.e. Water level indicator with microcontroller 8051.

✓ Brief study on our topic.

✓ Gather all information based on the topic of the micro project.

✓ Analysis and study of our topic in detail.

✓ Following all the above methodologies we successfully completed our microproject.

1.4 Action Plan

Sr.no Detail of activity Plan start date Plan finish date

1 Searching the topic for microproject. 02/03/24 05/03/24

2 Search information from 06/03/24 08/03/24


the database management system

3 Discuss with the project guide 12/03/24 15/03/24

4 Arrange all information in MS word 18/03/24 21/03/24

5 Prepare a report on it using MS word 22/03/24 25/03/24

6 Showing the project 25/03/24 25/03/24


7 After showing the project guide and 01/04/24 03/04/24
doing corrections

8 Print micro-project 08/04/24 08/04/24


1.5 Resources Required

Sr.no Name of resource material Specification Quantity


1 LCD(To display time). 16x2 1

2 8051 89c51 or any of 8051 1


series microcontroller
3 Potentiometer/variable resistor

4 Crystal 11.0592 MHz 1

5 Button 1
6 power supply 5 volts 1
7 Bread board 1
8. Motor 1
9. Delay 1
annexure-II

Micro-Project Report

A MICRO PROJECT ON “ Water level indicator with microcontroller 8051.”

2.1 Course Outcomes Integrated

1. Understanding of 8051 Microcontroller: Students should gain a thorough understanding of


the 8051-microcontroller architecture, its various components, and how to program it using
assembly language or a high-level language like C.

2. Sensor Integration: Learn how to interface sensors (like motion sensors or proximity
sensors) with the 8051 microcontroller to detect movement or presence near the door.

3. Timing and Delay: Learn how to use timers and delays in programming to control the timing
of the doorbell, ensuring it rings for an appropriate duration.

4. Power Supply Considerations: Understand the power requirements of the 8051


microcontroller and peripheral components, and how to design a suitable power supply for
the project.

5. Troubleshooting and Debugging: Develop skills in troubleshooting common issues that may
arise during the project, such as incorrect sensor readings or programming errors.

6. Safety and Regulatory Considerations: Understand safety considerations related to electrical


circuits and components, as well as any relevant regulatory requirements for the project.

2.2 Literature review

1. 8051 Microcontroller: Understand the basics of the 8051 microcontroller, its architecture,
instruction set, and programming.

2. Sensor Technologies: Various sensor technologies have been explored for water level
measurement, including ultrasonic, infrared, capacitive, and float switches. Studies compare
the accuracy, reliability, and cost-effectiveness of different sensor types in
specific applications.

3. Communication Protocols: Integration of communication protocols such as UART, SPI,


I2C, or wireless protocols like Zigbee and Bluetooth enables remote monitoring and data
logging capabilities. Studies evaluate the performance, range, and power consumption of
different communication protocols for transmitting water level data.
2.3 Actual Procedure Followed :

• Focus on selection of appropriate topic for Micro-project

• To meet the subject teacher and take guidelines about it.

• Searching the information related to the topic of micro-project.

• Start the procedure for project and making soft copy of project report

• We organize all information about our topic in proper manner.

• Show the soft copy of the project report to subject teacher and make corrections in it

• Submit the hard copy of the project report to the subject teacher.

2.4 Resources Required

Sr.no Name of resource material Specification Quantity


1 LCD(To display time). 16x2 1

2 8051 89c51 or any of 8051 1


series microcontroller
3 Potentiometer/variable resistor

4 Crystal 11.0592 MHz 1

5 Button 1
6 power supply 5 volts 1
7 Bread board 1
8. Motor 1
9. Delay 1
2.5 Outputs of the micro-project

• Circuit Design:

1. Connect the water level sensors to the microcontroller's input pins. These sensors
could be connected in a way that each sensor corresponds to a particular water level
(e.g., low, medium, high).

2. Connect appropriate resistors in series with the LEDs to limit current.

3. Power the microcontroller and the circuit.

• Components Needed:

1. Microcontroller (8051)

2. Water level sensors (could be simple metal probes)

3. LEDs (for indicating water levels)

4. Resistors

5. Power supply

6. Breadboard or PCB for circuit connection

• Additional Features (Optional):

1. You can add a buzzer to provide an audio indication of the water level.

2. Incorporate a display unit (LCD, 7-segment display, etc.) to show the exact water
level numerically.

3. Implementing some form of user interface to control the system or


configure alarm levels.
3.0 Block Diagram:

Block diagram of Water level indicator with microcontroller 8051

4.0 Explanation of Block Diagram

The water level indicator with microcontroller 8051 comprises several essential components
working together seamlessly. At its core are the water level sensors, which come in various types
such as float switches, ultrasonic sensors, or capacitive sensors, providing accurate readings of the
water level in the tank. These sensors interface with the microcontroller 8051, which acts as the
brain of the system. The microcontroller processes the sensor data, converting analog signals to
digital, and controls the output indicators, such as LED lights or a digital display, to visually
represent the water level to the user. The input/output interface ensures proper communication
between the sensors and the microcontroller, while the power supply guarantees continuous
operation. Additionally, the system may feature an optional communication interface, enabling
remote monitoring or integration with other devices for enhanced functionality. Together, these
components create a reliable and efficient water level monitoring system suitable for
various applications.
5.0 Working of The System

• This system mainly works on principle of “Water conduct electricity”.

• In this system we have two tanks which is Tank1 and Tank2. Tank1 is underground
tank and Tank2 is upper tank which is on building.

• Tank1 contains only one wire is which is at lower level. This wire is only for
checking whether there is water in Tank1 or not.

• Tank2 contains three wires at the different levels at lower , middle & upper level
.This wires are used for checking the level of tank2 to turn on off the submersible
pump(motor) .

• The both Tanks also contain one more wire which is the ground wire for
completing the circuit loop.

• When the water level of tank2 goes below the lower wire then the ground is
disconnected with which lower wire and high signal is send to the P1.2 port pin of
microcontroller and it also checks tank2 also has water or not.

• As per the program microcontroller send high signal to P3.0 pin and P3.0 is
connected to BC547 transistor. This transistor act as a switch for the relay. When
this transistor receive high signal it acts as close switch and turn on the motor. Then
LCD will display its message that “Tank is EMPTY”.

• When the water reaches the middle level ,Now LCD display “Tank is MIDDLE”
and still motor is on.

• When the tank is full, it send low signal to microcontroller P1.0 and as per program
microcontroller send it to P3.0 and then transistor is act as open switch . Relay id
disconnected with ground. Motor is turn off and LCD displays the message “Tank is
FULL” ,motor is “Tank is 100% Full”.
6.0 3D Model of The System
7.0 Program Flowchart:
8.0 Program Algorithm:

Step 1 - Initialize the system

Step 2 - Check whether the underground tank is full or not

Step 3 - If water in upper tank is below lower sensor, turn on the motor and display
the message ‘Tank is empty and Motor is on’.

Step 4 - If water in upper tank is above lower sensor and below the mid sensor, turn
on the motor and display the message ‘Tank is empty and Motor is on’.

Step 5 - If water in upper tank touches the upper sensor, turn off the motor and display
the message ‘Tank is 100% Full’.

9.0 Simulation Diagram:


10.0 Program Code:

11.0 Simulation Result:

State 1

TANK IS EMPTY AND MOTOR IS ON SIMMULATION RESULT


State 2

TANK IS FULL SIMMULATION RESULT


11.1 Program Output:
12.0 Future Scope

• The basics need of human being is water and it is one of the most important
necessary for all living beings. But unfortunately a huge amount of water is being
wasted by uncontrolled use and due to our negligence. Some other automated water
level monitoring system is also offered so far but most of the method has some
shortness in practice. We tried to overcome these problems and implemented an
efficient automated water level monitoring and controlling system. Main intension
of this research work is to establish a flexible, economical and easy configurable
system which can solve water losing problems. In the near future as home
automation web based water level monitoring and controlling system can be
designed, through which the system can be controlled from any place via internet
through mobile phone. This could have a substantial benefit from this research work
for efficient management of water.

• Automatic water level monitoring system has a good scope in future especially for
agriculture sector. There are any areas where we need water level controller. It could
be agricultural fields, overhead tanks. We can make this project wireless by using
NRF transmitter and receiver.

• In this system, future modifications can also be done like interface of GSM module to
send SMS alerts to the user.

13.0 Advantages
• Saves Power
Using a water level controller saves power. This is because water levels are controlled
automatically, which limits the amount of electricity used. As a result, less water and power
are used to regulate a water supply. In an age where energy conservation is of utmost
importance, using one of these devices is very beneficial.

• Saves Human Efforts


Works Automatically Another big advantage is that these devices can work on their own.
Thanks to timer switches, there is no need to operate them manually. This means that the
frustrations involved with monitoring something like a water tank is minimized, and the
water levels will be where they should be.

• Maximizes Water Usage


Additionally, water usage can be maximized with a water level controller. Often, water
pumps get more use during the middle of the day. A water level controller is helpful
because it automatically provides more water during the middle of the day and less water
at night. As a result, water remains at its appropriate level at all time.
14.0 Conclusion

• This type of water level controller will reduce the human interference. The power
consumption of the motor and the wastage of water because of unwanted overflow can
be controlled.

• This is simple model water level indicator and controller which can be made at your
home.

• This project was intended to design a simple and low cost water level indicator and
controller . This is not only for water tank but also used for oil level and chemical lab.
To design this system, we used transistor as a platform and local materials for low cost.
We tried to design a system in such a way that its components will be able to prevent
the wastage of water.

• The whole system operates automatically. So it does not need any expert person to
operate it. It is not so expensive. This design has much more scope for future research
and development. Though it is a project, we hope some modification in this project
will lead to a reasonable diversity of usage.

15.0 References

➢ https://youtu.be/uVQPlRbAcvY?si=UrWGvKAZOtp2GjS_

➢ https://www.electronicshub.org/water-level-controller-using-8051- microcontroller

➢ http://www.circuitstoday.com/5v-power-supply-using-7805

➢ https://www.instructables.com/id/All-You-Need-to-Know-About-Relays/

You might also like