Hey guys,
i wanna use a wemos d1 mini esp32 to build a water meter. Currently i am facing the problem that it’s counting pulses without any attached sensor. Did i do sth. wrong in my config? Internal filter mode i tried with “edge” and “pulse”. Same behavior.
Hey Tom,
thanks for your response. I guess you mean like that, right? I can’t use this option. Pulldown gives me the error “Only GPIO16 supports pulldown.” and pullup isn’t supported on ESP8266.
Which you use depends on how you connect the switch.
I would recommend the pull-up version. That way it is a lot harder to put a dead short on the 3.3V line if something goes wrong with your cabling to the reed switch.