Page 1 of 1

Button connection and wind speed measurement (pullUP or pullDOWN)

Posted: Thu Jul 22, 2021 12:01 pm
by vecerapl
Hello,
I am currently working on the wiring diagram for restart, HIGH button and interrupt wind speed measurement. For those buttons, a 10K resistor together with a 100nF capacitor is enough. For wind speeds I will use a resistance lower than 1K. I want to ask if I'm right. I'm basically doing this for the first time.
I will be very happy for help from skillful craftsmen.
schema.jpg
schema.jpg (32.53 KiB) Viewed 2290 times
But what I find out is that the parallel connection of the capacitor with the button is wrong. The capacitor is shorted. So which scheme will be correct?
THIS?
schematic_new.jpg
schematic_new.jpg (47.98 KiB) Viewed 2290 times

Re: Button connection and wind speed measurement (pullUP or pullDOWN)

Posted: Thu Jul 29, 2021 1:56 am
by ESP_Sprite
Hm, I initially thought the cap is 100nF, like the other three, which makes sense for debouncing or getting rid of HF crap... but it's 5uF. That makes it a lowpass filter that probably smoothes all the pulses from the anemometer into nothing.