element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog #Blog 2 Just Encase challenge : Building a LoRa based water level sensor and a demo
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vishwasn
  • Date Created: 1 Mar 2022 8:05 PM Date Created
  • Views 1011 views
  • Likes 3 likes
  • Comments 0 comments
  • Arduino MKR WAN 1300
  • Hammond Manufacturing Enclosures
  • just encase design challenge
  • water_level
  • lora
  • blog
  • just_encase
  • just encase
Related
Recommended

#Blog 2 Just Encase challenge : Building a LoRa based water level sensor and a demo

vishwasn
vishwasn
1 Mar 2022

Hello all, 

      In this blog, let's explore how we can calculate the water level using an ultrasonic distance sensor and then receive this data to my reciever node in my room. 

There is no internet coverage at the place where my overhead tanks are kept. But recently I was getting a pretty big water bill but couldn't match the usage and hence 

I wanted to monitor my usage by logging the water level and volume. To do this I will be needing some sensors and power also. This can be achieved by using battery only. 

I had to have a self-sustainable system. Since it's an outdoor setup, solar energy is a good option to tap. So I selected a decent solar panel and a charging circuit. 

I need to save the power also as the system runs on battery power. LoRa being very less power-hungry during sleep time, LoRa+Solar became a perfect choice for this project. 

To measure the water level there are multiple methods like the probe-based ones which can measure based on the conductivity and can tell the level in terms of stages like 

100%, 50%, 25% etc. I wanted to monitor the leakage of water and hence needed precise and continuous monitoring. Hence I chose the ultrasonic sensor. 

This can measure the distance between the water and the lid and I can use this data to calculate the volume of water left in the tank. 

Here's how. 

Let the distance measured by the sensor be h. 

Dimensions of the tank are as follows. 

1. radius : 53cm

2. height: 115cm  [till which water fills]

3. Capacity: 1000L

image 

Image showing capacity

image

Image showing height 

Volume of the cylinder is πr²h, here r is 53 and h is 115-h i.e water height. 

 

V = (22/7*53*53*(115-h))/1000; //115-h provides actual water height
VP = v*100/1000; //1000L capcaity 

 VP here is volume percentage. 

Ultrasonic sensors works like a bat. It sends out a high frequency audio wave and listens to the echo and then calculates the time taken to receive the echo back.

By multiplying the speed of sound and dividing it by two provides the distance between the sensor and the target. 

Now we have executional level logic and  parts. Let's join some metals and melt some lead.

image

Solar panel producing 5V. 

Let's drill some holes in the case and attach the cable gland. 

image

Here's the attached cable gland on the case.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Soldering Timelapse. Just adding berg-strips for easy upgradability. 

Connections are as follows. 

Arduino MKR WAN 1300               HC-SR04

Pin 2                                                Trigger

Pin 3                                                Echo

VCC                                                 VCC

GND                                                 GND

#Blog1 Just Encase challenge: Getting started and deciding the architecture..

#Blog 2 Just Encase challenge : Building a LoRa based water level sensor and a demo.

#Blog 3 Just Encase Challenge : Setup of water level sensor and demo.

Blog 4 Getting started with the airquality monitor project.

#Blog 5 Just Encase Challenge : Final blog with the results and enclosure conditions.

  • 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