Skip to content

A project to measure the water level in a water reservoir, using a waterproof ultrasonic sensor

Notifications You must be signed in to change notification settings

mvanbrab/water-level

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Here I share hardware and software about my water-level project, whose purpose is to measure the water level in a water reservoir, located under the ground.

This project actually has a predecessor. Enjoy reading about it in this bit of history.

The transmitter

The first piece of hardware is a transmitter. It measures the water level with a waterproof ultrasonic sensor and sends the measurement result as a JSON object via RS232 to a possibly connected receiver.

The positioning of this sensor in my project is described in the physical setup.

Here are some pictures showing the transmitter in practice.

In the folder hardware/transmitter you'll find the hardware design as a KiCad project. Without Kicad installed, you can view

The folder software/WaterLevelTransmitter is an Arduino sketch, containing the software of the transmitter part of the project.

Read more about this piece of software here.

The receiver

The second piece of hardware is the receiver. It requests output from the transmitter and publishes is to whatever destination.

Here are some pictures showing the receiver in practice.

In the folder hardware/receiver you'll find the hardware design as a KiCad project. Without Kicad installed, you can view

About the receiver hardware:

  • the RS232 level converter is the same as used for the transmitter, this time it is powered from 3V3;
  • the character-based LCD screen to connect is a 2 rows of 16 columns type, using an HD44780 driver, connected via I2C @ 3V3, but powered @ 5V;
  • the processor board (chosen because of its WiFi connectivity) is a ESP32 DevKitC (with ESP32-WROOM-32D module).

The folder software/WaterLevelReceiver is an Arduino sketch, containing the software of the receiver part of the project.

Read more about this piece of software here.

Connecting the transmitter with the receiver

Transmitter Receiver
GND (J1.2) GND (J1.3)
TXD (J1.4) RXD (J1.2)
RXD (J1.5) TXD (J1.1)

Lessons learned

The temperature measurement

Condensation on the sensor

About

A project to measure the water level in a water reservoir, using a waterproof ultrasonic sensor

Resources

Stars

Watchers

Forks

Packages

No packages published