Skip to content

Blynk flow sensor water meter to measure water consumption using Blynk, NodeMCU and Water Flow Sensor (I used YF-S201B).

License

Notifications You must be signed in to change notification settings

pkarun/Blynk-Flow-Sensor-Water-Meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blynk Flow Sensor Water Meter

Blynk flow sensor water meter to measure total water consumption.

Requirements

1) Blynk App
2) Water Flow Sensor (I used YF-S201B)
3) NodeMCU

Installation

Open settings.h and change Bynk Auth code, Wifi settings, server settings and flow calibration.

Hardware Connection

NodeMCU to Water Flow Sensor Connection



Flow Sensor to NodeMCU


Yellow Wire (Signal Pin) to NodeMCU D2 Pin
Red Wire to NodeMCU 3.3V Pin
Black Wire to NodeMCU Gnd Pin

Software Setup

1) Download and install the Blynk Mobile App for iOS or Android.

2) Scan the QR code at the bottom of this page to clone the screenshot below, or create a new project yourself and manually arrange and setup the widgets.

3) Email yourself the Auth code.

4) Download this repo and copy the files in to your sketches directory. Open the sketch in Arduino IDE.

5) Go to the settings.h tab. This is where all the customisable settings are. You should be able to change almost everything from there before compiling.

Screenshot

Blynk flow sensor water meter screenshot

Scan QR Code on Blynk App

Blynk flow sensor water meter QR Code