Originally shared by Miser Technologies
Time for another update on the Avatar ESP8266 weather station. In this article I discuss counting the pulses from the Sparkfun Weather Gauges. The pulses are counted using the micro controller IRQ lines but the signals have lots of ringing, I talk about the debounce logic added to the IRQ handling code to filter this out, without filtering out real pulses.
https://www.miser-tech.com/2016/05/esp8266-weather-guage-irq-debounce-step-1-7/