Button connection and wind speed measurement (pullUP or pullDOWN)

vecerapl
Posts: 4
Joined: Thu Jan 21, 2021 8:12 am

Button connection and wind speed measurement (pullUP or pullDOWN)

Postby vecerapl » Thu Jul 22, 2021 12:01 pm

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 2004 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 2004 times

ESP_Sprite
Posts: 8884
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Jul 29, 2021 1:56 am

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.

Who is online

Users browsing this forum: No registered users and 27 guests