Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a UML and sequence diagram on a liquid level detection system for closed tanks. System consists of a: MCU, Analog front-end (AFE), LCD display,

Write a UML and sequence diagram on a liquid level detection system for closed tanks. System consists of a:

MCU, Analog front-end (AFE), LCD display, transducer and ultrasonic sensor.

Diagram should show the following:

1.- Systems starts, LCD display shows a welcoming message.

2.- User inputs diameter of tank

3.- MCU sends 8Mhz frequency to the AFE which divides this frequency by 2 (4Mhz) and sends it to the tank via the transducer

3.- AFE waits to receive echo back from sent signal (If echo = 0, medium is water, if echo = 1, medium is air). This is where detection happens. (This is an iterative process, as the device is moved up and down to detect the liquid level, constant signals will be sent and received until detection happens)

4.- AFE signals MCU that detection happened, MCU sends data to the LCD to display message that liquid level was detected and MCU triggers ultrasonic sensor to detect height from liquid level to surface of tank

5.- Volume of liquid is calculated with the height obtained and the initial diamater inputted by user

6.- MCU sends data to the LCD to display the volume of liquid in tank.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions