My plan is to attempt to silence a very noisy shower waste pump.
The shower is below ground level so has to be pumped
The shower fitting has two inlets hot and cold. Flow meters are fitted inline.
The shower fitting is a thermostatic mixer so the amounts of water flowing through the inlets varies as the temperature automatically regulates itself.
Water flow also changes depending on what setting you have it on either high low or something in between.
If water in the waste outlet drops to the point where the pump begins to suck air, it is incredibly noisy.
I want to use an arduino to ‘match’ the outflow of water from the shower tray with the inflow from the shower head so that a head of water is maintained in the shower waste pipe at all times to avoid the horrible sucking noise.
There are systems available which will achieve the above but they are expensive and in any case I though I’d have a go at making something myself.
Anyway back to the original question, I know you can control the speed of a large dc motor using pwm and a transitor.
The flow meters output is a regular pulse so what I want to know how would I go about reading the pulses from the flowmeter and then converting them into a pwm signal to drive the transitor? Is the above even possible?