รถเข็นของคุณว่างเปล่า!
![Interface Water Flow Sensor Using ESP32 Board Interface Water Flow Sensor Using ESP32 Board](https://static.cytron.io/image/tutorial/interface-water-flow-sensor-using-esp32-board/ESP32-Water-Flow-Featured.jpg)
Interface Water Flow Sensor Using ESP32 Board
- Idris Zainal Abidin
- 02 Oct 2019
- 9788
Introduction
There have several case where water usage can suddenly spike, just because of water pipe broken under the ground. The sad thing is you only noticed after you get the latest water bill. So in this tutorial I will share with you on how to interface water flow sensor with ESP32 board. Later we will develop notification system if the water usage exceeds certain value.
Video
This video is show on how to interface water flow sensor with ESP32 board.
Hardware Preparation
This is the list of items used in the video.
Sample Program
This is the sample program to measure water flow rate and the total water flow through the sensor.
https://gist.github.com/IdrisCytron/1b23265ede09577c19ef6acc27ee848d
Thank You
References:
- G 1/2 Water Flow Sensor Datasheet
- Working with Water Flow Sensors & Arduino
- ESP32 with PIR Motion Sensor using Interrupts and Timers
Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.
สินค้าที่เกี่ยวข้อง
G1/2" Half Effect Water Flow Sensor - YF-S201
THB414.20 THB557.90 THB387.10
40-Way 20cm Dupont Jumper Wire
ไม่สามารถใช้ได้
NODEMCU ESP32
ไม่สามารถใช้ได้