DIY ESP32-Based Smart Water Flow Meter using Arduino and IoT Cloud

Published  August 26, 2024   
S Staff
Author



Overview

Water is one of our most precious resources, vital for all forms of life on Earth. Despite its importance, water wastage is a significant issue globally, contributing to water scarcity and environmental degradation. Efficient water management is crucial in addressing this challenge, and technology plays a vital role in it. By monitoring and managing water usage, we can significantly reduce wastage. As a first step in addressing this, we have designed an IoT based water flow meter. 

It is powered by the ESP32-S3 SoC from Espressif. We have used an ESP32-S3 Wroom 1 module for the project which will be much easier to handle when assembling the PCB. the device itself is battery powered and the custom PCB contains the necessary battery charging circuitry to recharge the internal battery. The battery charging circuit is based on the MAX1898 single-cell battery charger chip from Analog Devices. For powering the ESP32-S3 we have used the ADP1706 ultra low noise LDO, and for the reset circuitry we have used the ADM803 power supervisory chip. We have also included a provision for a 1.28” round TFT display for any future upgrades. The flow meter can be directly attached to the top of the flow sensor.

Code File

PCB Gerber File

Components Required

Value Manufacturer Digikey Part Number Datasheet Link    Quantity
UBOOT CIT Relay and Switch 2449-CS1213AGF160CT-ND   Datasheet 1
RESET CIT Relay and Switch 2449-CS1213AGF160CT-ND   Datasheet 1
0.1uF Samsung Electro-Mechanics 1276-1935-1-ND   Datasheet 3
10uF Murata Electronics 490-10692-1-ND   Datasheet 4
1uF Murata Electronics 490-10018-1-ND   Datasheet 2
SS14D onsemi SS14CT-ND   Datasheet 1
ADP1706ARDZ-3.3-R7 Analog Devices Inc. 505-ADP1706ARDZ-3.3-R7CT-ND   Datasheet 1
MAX1898EUB42+T MAX1898EUB42+T MAX1898EUB42+TCT-ND   Datasheet 1
USB_C_Receptacle_USB2.0 Amphenol ICC (Commercial Products) 664-12402012E212ACT-ND   Datasheet 1
Conn_01x03 TE Connectivity AMP Connectors A100035-ND   Datasheet 2
B2B-PH-SM4-TB(LF)(SN) JST Sales America Inc. 455-1704-ND   Datasheet 1
LED Red Harvatek Corporation 3147-B1911USD-20D000114U1930CT-ND   Datasheet 1
LED Blue Harvatek Corporation 3147-B1911NB--20C005314U1930CT-ND   Datasheet 1
S8050 Micro Commercial Co MMSS8050-L-TPMSCT-ND   Datasheet 1
10K Panasonic Electronic Components P10.0KHCT-ND   Datasheet 3

10R
Panasonic Electronic Components P10.0HCT-ND   Datasheet 1
33R Panasonic Electronic Components P17467CT-ND   Datasheet 2
5K1 Panasonic Electronic Components P5.10KHCT-ND   Datasheet 2
1K Panasonic Electronic Components P1.00KHCT-ND   Datasheet 1
100K Panasonic Electronic Components P100KHCT-ND   Datasheet 4
1.4K Panasonic Electronic Components P1.40KHCT-ND    Datasheet 1
SLW-66527511-SMT-TR CUI Devices 2223-SLW-66527511-SMT-TRCT-ND    Datasheet 1
AO3401A Alpha & Omega Semiconductor Inc. AO3401-ND    Datasheet 2
ESP32-S3-WROOM-1
Espressif Systems

1965-ESP32-S3-WROOM-1-N16R8CT-ND
  Datasheet 1
ADM803SAKSZ-REEL7 Analog Devices Inc.
505-ADM803SAKSZ-REEL7CT-ND
  Datasheet 1