Connect a water heater flow sensor to Arduino for mini project

Hi, recently i am trying to create a small water heater for my kids project using Arduino Mega and till now i added heating element, relay, temperature sensor, but for water flow sensor i have an extra flow sensor of my tankless water heater. So, i want to use it for this but i am confused about its pinout and can i use it, if someone know about it please help me.


if that doesnt work suggest me a good and cheap flow sensor for arduino

Hello jerryadam

Did you read the data sheet of the flow sensor shown?

1 Like

Among the problems you will have is no data sheet for that flow sensor. Short of extensive testing there is no way to get the average mean K Factor for that sensor.

The K-factor is the number of pulses per volume (by unit of measure) calculated by dividing the frequency of electronic pulses by the flow rate . The K-factor of a turbine flowmeter is unique to that individual device, although batch produced meters are likely to have very similar, although not identical, K-factors.

I am seeing plenty of inexpensive Flow Turbines on the market. Know your inlet and outlet pipe diameters You want straight pipe in and out of your flow sensor the length of which is based on pipe diameters .

The sensor used in this thread or similar should work for you. You need a sensor which will work in your temperature range. The code in the linked thread will not be of much use as it is directed at a totalizer function and not a rate function.

Ron

There may be a problem of nomenclature here, as you don't explain what you actually want to do.
A flow sensor is normally understood to be device for measuring flow, i.e. quantity or rate. It is typically identified with a "pulses per litre" label.
I'm betting the device you allude to is merely a flow switch which merely closes a circuit in the event of water flowing through it.

That looks quite like the flow sensor in my tankless water heater. It went TU a while back, so I got to look at it. It had a little turbine inside which I suspect tickled a Hall effect sensor. If you look in the end of yours, I bet you will see turbine blades.

Red = positive (the one in my water heater runs on 5v dc)
Black = ground
White = signal, which may or may not need a pull up resistor

Give it a try. If it is just for a "toy" water heater (what's THAT?), then pinning down the pulses per volume could be as simple as putting a quart or a gallon of water though it and counting the number of pulses.

One addition: when picking a flow sensor, make sure it can handle the temperature of the hottest water you may want to use.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.