element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Summer of FPGA
  • Challenges & Projects
  • Design Challenges
  • Summer of FPGA
  • More
  • Cancel
Summer of FPGA
Blog Liquid-Level Monitoring Using a Pressure Sensor #1 - Project Introduction
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: guillengap
  • Date Created: 24 Nov 2021 5:51 PM Date Created
  • Views 10067 views
  • Likes 8 likes
  • Comments 0 comments
  • pressure sensor
  • Digilent Cmod S7
  • Liquid level monitoring
  • summer of fpga
Related
Recommended

Liquid-Level Monitoring Using a Pressure Sensor #1 - Project Introduction

guillengap
guillengap
24 Nov 2021

Table of Contents

  1. Project Introduction
  2. Getting Started
  3. Calibrating the MPX2050DP Pressure Sensor
  4. Calculations and Noise Reduction
  5. Using Vivado and Testing the System
  6. Project Report Updated

**********************************************************************************************************************

Project Introduction

Main Goal: In this project I'm going to Measure the Water Level of a tank using a pressure sensor (MPX2050DP) and the Digilent Cmod S7 board.

Liquid-level monitoring plays an important role in today’s automotive, oil, water, pressure, and gas industries, to name a few. For example, pumping oil into a storage tank requires liquid-level monitoring to prevent spillage. Draining liquid out of a silo into bottles also requires liquid-level monitoring for volume control.

In this project I'm going to discuss one of the cheapest ways to measure the level of a tank by means of a differential pressure sensor. We already know what pressure is, the different pressures that exist and above all that the level and flow can be derived from a pressure measurement. For example, to measure level we have to:

ΔP=PH​−PL​=ρgh

image 1

Despite not using a water level sensor in this project, it's possible to perform level measurement using another feature of physics by means of an air differential pressure sensor with the Digilent Cmod S7 board.

How does it works?

  1. Essentially, the pressure sensor is a Wheatstone bridge. Changes to the pressure on the bridge are analogous to the changes in the value of the bridge’s resistors.
  2. The height of liquid in a container can be measured using a pressure sensor. Placed at the top of the container, the pressure sensor is connected to an open-ended tube that is submerged in the container. Th e amount of water in the container exerts a proportional amount of pressure on the sensor via the trapped air in the tube. At its output, the sensor produces a pressure-equivalent voltage.
  3. I'm going to develop a liquid monitoring system using a pressure sensor. Since obtaining the pressure is just one vital piece of the information, how to convert the sensor’s output voltage into the liquid’s height using the analog-to-digital converter (ADC) of the Digilent Cmod S7 board will also be explained. Details of the pressure sensor, ADC connections, system calibration and calculations, as well as an example application, will be available to guide designers.

SCHEMATIC DIAGRAM

schematic

HARDWARE:

  • Digilent Cmod S7
  • MPX2050DP Pressure Sensor
  • LMC660 Amplifier
  • Resistors
  • Display

Digilent Cmod S7 board - front view

Digilent Cmod S7 board - back view

SOFTWARE:

  • Vivado Design Suite

image

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube