Inconsistent Pulse device
Moderators: grovkillen, Stuntteam, TD-er
Re: Inconsistent Pulse device
I tried different debounce time. I found that the best one depends on the rate of flow of the water.
For exemple at constant high rate of flow, 1 second debounce time give exactly the same amount of liter than the water meter.
But if I reduce the rate of flow, the number of liter increases abnormally.
For exemple at constant high rate of flow, 1 second debounce time give exactly the same amount of liter than the water meter.
But if I reduce the rate of flow, the number of liter increases abnormally.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Inconsistent Pulse device
I use 100 mSec for debounce time. Could you try it too?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Inconsistent Pulse device
Dit it. No good as soon as it starts, it measures 5 liters (10/2) instead of 7.
Re: Inconsistent Pulse device
This sensor is not like a switch, but gives a proper square wave signal.
It probably uses a Hall sensor and a magnet.
This means the debounce should not be needed at all.
It could be there is some issue with the plugin, I haven't looked at its implementation yet, on how it is using this debounce feature.
Edit:
I was just thinking about these sensors. Is it possible the flow sensor is acting a bit strange when starting/stopping the flow?
For example rotating back/forward when starting/stopping, or at a low flow rate?
It probably uses a Hall sensor and a magnet.
This means the debounce should not be needed at all.
It could be there is some issue with the plugin, I haven't looked at its implementation yet, on how it is using this debounce feature.
Edit:
I was just thinking about these sensors. Is it possible the flow sensor is acting a bit strange when starting/stopping the flow?
For example rotating back/forward when starting/stopping, or at a low flow rate?
Re: Inconsistent Pulse device
Thank you for your help.
It was not designed to be a switch, but using the switch setting with ESPeasy gives very good result.
I don't think it's a all sensor, I have joined the picture of the sensor, it seems to be an ILS switch.
If the sensor goes backwards, I see it on the mechanical meter and this is not the case.
The flow is of course not constant, but for sure nothing seems abnormal.
It was not designed to be a switch, but using the switch setting with ESPeasy gives very good result.
I don't think it's a all sensor, I have joined the picture of the sensor, it seems to be an ILS switch.
If the sensor goes backwards, I see it on the mechanical meter and this is not the case.
The flow is of course not constant, but for sure nothing seems abnormal.
Re: Inconsistent Pulse device
I have an additional question about the debounce time.TD-er wrote: ↑14 Jul 2018, 08:08 This sensor is not like a switch, but gives a proper square wave signal.
It probably uses a Hall sensor and a magnet.
This means the debounce should not be needed at all.
It could be there is some issue with the plugin, I haven't looked at its implementation yet, on how it is using this debounce feature.
Edit:
I was just thinking about these sensors. Is it possible the flow sensor is acting a bit strange when starting/stopping the flow?
For example rotating back/forward when starting/stopping, or at a low flow rate?
I use a flow meter with hall sensor.
Not exactly this one, but something similar: https://www.magnetventile-shop.de/daten ... -5-30l.pdf)
Now I have crashed my ESP8266-01 and changed it to another one. So I want to use this opportunity and make the calibration new. But I'm not sure to have teh correct debounce time. You write this type of meters with hall sensors don't need debounce time, so I have to set it to 0? I set it to 1ms, mode type Falling after I get the two measurements of my sensor by the oscilloscope for maximum and for very low flow (see attachements). Do you think it will work?
- Attachments
-
- Wasserzähler_Garten_Minimum.jpg (66.47 KiB) Viewed 9690 times
-
- Wasserzähler_Garten_Maximum.jpg (65.61 KiB) Viewed 9690 times
Re: Inconsistent Pulse device
I think it will, but like I said, I will have a thorough look at both P001 and P003 to see how both can be improved.
It should work just fine with a very low de-bounce effect. That will also filter noise picked up by long wires.
It should work just fine with a very low de-bounce effect. That will also filter noise picked up by long wires.
Re: Inconsistent Pulse device
Thanks. I think that this summer is already over for wateing, but I want to be prepared for next year.
Re: Inconsistent Pulse device
I know there is at least one user of ESPeasy that's just starting his summer of watering strawberries. So I will try to get these things fixed before his strawberries dry out completely
Who is online
Users browsing this forum: Bing [Bot] and 27 guests