Comment on help needed to understand this diagram of a water flow sensor (from a boiler)
tofubl@discuss.tchncs.de 2 months ago
These flow sensors are usually hall effect sensors, with two or four magnets attached to a rotor with a little water wheel. When water flows, the magnets turn and creates somewhat of a PWM signal at the output (actually it’s high level when magnet is there and low level when magnet is not there or vice versa). Measuring the pin with a slow multimeter, this would indeed give you approximately half the supply voltage when water is flowing, depending on a few other factors. So- readings sound sensible to me. To note that if the rotor stops with a magnet close to the hall effect sensor, you will read 5V (or VCC) at the output, but always VCC/2 when flowing.
Most of these sensors employ an open collector output stage, but that doesn’t need to bother you with the readings you’re getting, I think.
tofubl@discuss.tchncs.de 2 months ago
Read your post again, and your readings are of course not in line with what I laid out. Are you measuring the sensor in-system?
If you are, the sensor might indeed be faulty. If you aren’t, you probably need a pullup resistor on the output pin.
diyrebel@lemmy.dbzer0.com 2 months ago
Yeah, if by /in system/ you mean connected to the board. I didn’t mess with anything other than to stick my probes onto the wires. The boiler is not switching on to heat water and it acts just as if it is not detecting that water is running. So a broken flow sensor was one of the theories. And since the readings seem quite off from what’s expected I guess buying a new sensor is the right move.
Once I get it removed I’ll see if it looks like I can rebuild it but I don’t expect that to go well. I may not have to waste it though. Considering the at rest voltage is double the running water voltage, it’s still detecting water running. It’s just not giving the right voltage. So one idea is maybe I can repurpose this to turn on a shower light when the shower water is running.
If I had an electronics background I would probably try to do a makeshift gadget that converts 0.66 V to 2V and 1.33 V to 0 V. Then I wouldn’t need a new sensor (which could cost €100… i’ve not checked locally yet but online prices are looking terrible).
tofubl@discuss.tchncs.de 2 months ago
With better tools, it would be easier to troubleshoot more precisely. An oscilloscope would help you understand what’s going on, for example.
From what you describe, I’m actually starting to suspect the other end (the controller?) to be the problem.
One idea you could try before buying anything is to disconnect the sensor, supply it with 5V and ground (double check with data sheet!) and see what’s happening on the output when there is flow. If you don’t measure anything, as I would expect since the pin alternates between a floating state and ground, you then add a 10k or 50k ohms pullup resistor between 5v and output and measure again, and should get the levels you expected to see in the first place.
Don’t know if you’re comfortable doing this, but maybe you can find somebody to help you out?
diyrebel@lemmy.dbzer0.com 2 months ago
It shows 5V on the diagram but I don’t think that’s precise. I measured the red wire at 4.68v which is around what the guy in the video got in his test. Since the board is part of the circuit I suppose I cannot rule out the board as a problem. Testing the sensor in isolation will be rough going because it’s a proprietary joint. So I would have to get a tight rubber hose and fit that onto a garden hose. For powering it I have a switchable ac adapter with a 4.5 V setting. Or I can maybe get 5V off a USB charger or ATX PSU from a PC. My multimeter does not have a frequency function but I can see from the video that it would be useful for this so I might look for 2nd hand multimeter at the next street market, though that will set me back a week (OTOH might be worth it if it helps diagnose this in a way that helps avoid buying the wrong part).
diyrebel@lemmy.dbzer0.com 2 months ago
It shows 5V on the diagram but I don’t think that’s precise. I measured the red wire at 4.68v which is around what the guy in the video got in his test. Since the board is part of the circuit I suppose I cannot rule out the board as a problem. Testing the sensor in isolation will be rough going because it’s a proprietary joint. So I would have to get a tight rubber hose and fit that onto a garden hose. For powering it I have a switchable ac adapter with a 4.5 V setting. Or I can maybe get 5V off a USB charger or ATX PSU from a PC. My multimeter does not have a frequency function but I can see from the video that it would be useful for this so I might look for 2nd hand multimeter at the next street market, though that will set me back a week (OTOH might be worth it if it helps diagnose this in a way that helps avoid buying the wrong part).
tofubl@discuss.tchncs.de 2 months ago
Oh and be careful if you do end up trying it.
There’s no safety risk in what I described, but reversing the power supply might very well fry the device.