Pulse Counter
Moderators: grovkillen, Stuntteam, TD-er
Pulse Counter
Hi
after building a DHT22 sensor and try the relay with succes, I try to get a Pulse counter (for my gas meter)
I created a Dummy counter on domoticz
i selected the pulse counter on ESPEASY, like this :
On GPIO2 and GND i plug a reed sensor. But with no result, can you help ?
after building a DHT22 sensor and try the relay with succes, I try to get a Pulse counter (for my gas meter)
I created a Dummy counter on domoticz
i selected the pulse counter on ESPEASY, like this :
On GPIO2 and GND i plug a reed sensor. But with no result, can you help ?
Last edited by Deennoo on 08 Sep 2015, 11:14, edited 3 times in total.
Re: Pulse Counter
Edit : ok i just learn that GPIO 1 Can't be use on SP1 version...got a wiring problem to...that workDeennoo wrote:Hi
after building a DHT22 sensor and try the relay with succes, I try to get a Pulse counter (for my gas meter)
I created a Dummy counter on domoticz
i selected the pulse counter on easyesp, like this :
On GPIO2 and GND i plug a reed sensor. But with no result, can you help ?
-
- Normal user
- Posts: 320
- Joined: 15 Apr 2015, 14:17
Re: Pulse Counter
Ok it works, and with a IR pulse sensor too.
Each pulse is Twice add :
1 for contact ON
1 for contact OFF
Each pulse is Twice add :
1 for contact ON
1 for contact OFF
Re: Pulse Counter
I'm back with this.
Still working on r20
Got a bounce problem using a Reed switch on my gas meter.
Reed switch is hoock to gpio 2 and gnd. Capacitor is on this line too
The same reed with a 433 chinese pir sensor don't do this.
Is there a way to fix this ? Juste by adding rules that 2 plus can't be closer than x millisecond
Still working on r20
Got a bounce problem using a Reed switch on my gas meter.
Reed switch is hoock to gpio 2 and gnd. Capacitor is on this line too
The same reed with a 433 chinese pir sensor don't do this.
Is there a way to fix this ? Juste by adding rules that 2 plus can't be closer than x millisecond
Re: Pulse Counter
A digital 'debounce' feature is planned for the next ESP Easy release. I can't guarantee that this will solve all pulse counting issues like these, but it will be worth a try...
Re: Pulse Counter
I just upload r29, samething
Great news thank you very much !
Will be the first to test !
Great news thank you very much !
Will be the first to test !
Re: Pulse Counter
Maybe will be not the first but test this this morning.
Looks to works, thanks to add the debounce delay !! on a gas counter gaz case 1000ms (1 seconde is enough).
Thank you Martinus,
Next step Add a pulse counter to my Water Meter with this hall round sensor (the only one i can put and who work on my counter) :
[attachment=0]192926.jpg[/attachment]
Looks to works, thanks to add the debounce delay !! on a gas counter gaz case 1000ms (1 seconde is enough).
Thank you Martinus,
Next step Add a pulse counter to my Water Meter with this hall round sensor (the only one i can put and who work on my counter) :
[attachment=0]192926.jpg[/attachment]
- Attachments
-
- 192926.jpg (69.13 KiB) Viewed 8888 times
Who is online
Users browsing this forum: No registered users and 26 guests