For the input switch from Moes SQ-WIFI-D01 dimmer (https://letscontrolit.com/forum/viewtop ... 133#p40133), I need to detect the 50Hz input on GPIO13.
Is the P003-Pulse-Counter-Plugin able to count it ? Or does the timing of ESPEasy-rules not allow this frequency ?
Even better... Has someone a rule to recognize short- and longpress with a ~50Hz input ?
Pulse counter plugin able to recognize 50Hz input
Moderators: grovkillen, Stuntteam, TD-er
Re: Pulse counter plugin able to recognize 50Hz input
I think you will run into either a very slow running ESP with likely a lot of WiFi connection issues, or a crashing one when supplying 50 Hz to the pin setup for the Pulse Counter.
Why do you need to detect 50 Hz input?
It sounds like net frequency, so I think you may be looking for something a bit more simple to implement whatever you would like to achieve.
Why do you need to detect 50 Hz input?
It sounds like net frequency, so I think you may be looking for something a bit more simple to implement whatever you would like to achieve.
Re: Pulse counter plugin able to recognize 50Hz input
Yes, that's what I've noticed. The ESP seems very slow and the web-interface doesn't available.
Why...? Because the Moes QS-Wifi-D01 dimmer has this input schematic:
https://user-images.githubusercontent.c ... 6874d3.png
And I didn't want to change anything at the circuit, if it's not necessary. Currently I've smoothed the input (GPIO13 to GND) with a 10µF capacitor. It seems to work...
Why...? Because the Moes QS-Wifi-D01 dimmer has this input schematic:
https://user-images.githubusercontent.c ... 6874d3.png
And I didn't want to change anything at the circuit, if it's not necessary. Currently I've smoothed the input (GPIO13 to GND) with a 10µF capacitor. It seems to work...
Re: Pulse counter plugin able to recognize 50Hz input
That would have been my suggestion too.
I assume you have it on the GPIO side? Otherwise you're feeding a polarized capacitor with negative voltage and that's quite dangerous.
Re: Pulse counter plugin able to recognize 50Hz input
Yes, directly to GPIO13
Who is online
Users browsing this forum: No registered users and 110 guests