Page 1 of 1

NodeMCU + Pulse Counter ( Eltako DSZ12E-3x80A )

Posted: 08 Feb 2020, 21:47
by oetti
Hi,

i'm trying to setup a Pulse counter with NodeMCU, ESP Easy and the Eltako DSZ12E-3x80A, without any success.
I've played with the GPIO-ports, the Debounce Time, Mode Type and so on.
The values are much to high (10...100Imp/sec)!, and i'm not sure how to get this setup working.

Any help would be appreciated. Hopefully someone could put me back on track :-)

Thanks
oetti

Re: NodeMCU + Pulse Counter ( Eltako DSZ12E-3x80A )

Posted: 08 Feb 2020, 22:32
by TD-er
Do you need any debounce on these signals?
You can also halve the frequency and increase the pulse width to a duty cycle of 50% using a simple flipflop.
This will make sure the ESP doesn't have to handle very short pulse widths and also does have to handle half of the pulses.
It will also make the pulses on the ESP side much more clean.