Jonny999999 / waterpump

Firmware for an esp32 controlling a 4kW waterpump
https://pfusch.zone/regulated-waterpump
0 stars 0 forks source link

Flowsensor: ISR triggers at noise - unusable (idle flow-rate 200k) #7

Open Jonny999999 opened 4 months ago

Jonny999999 commented 4 months ago

When flow sensor in actual setup (long cable, VFD idling) the liters constantly count up, randomly it stops tough. image image expected about 2 new pulses but counted > 200

ideas

Jonny999999 commented 4 months ago

Ignoring too fast pulses in 22c63f57ddb264824f6d8cbb9522e0553f503e7c unexpectedly improved things significantly!

Liter value seems realistic, needs further testing though

Jonny999999 commented 4 months ago

Designing Low-Pass Filter:

Sensor 12 Pulses per liter
Pump max flow is 180 l/min (calculate using 200) => f_max = (12*200)/60 = 40 Hz