I'm new to both this forum and electronics and would appreciate some help with getting started on a problem.
I have the waveform below coming from an anemometer that delivers pules with wind speed.
As you can see, there is a lot of noise on the pulses and it ranges from approx 1.8V to 3.2V.
I need to be able to count the swings using an ESP32.
Where should I start to clean this up and change the range from 0V - 3.3V to read and count with a GPIO input? I'm guessing some kind of filter but I'm not sure where to begin with that.
I only need to count the large pulses, not the noise pulses.
Any help will be much appreciated.
Ash
Use proper LC filter as suggested by Debasis Parida.
I think you may need phase compensation after the lc filter. However, that can be configured using op-amp.
What is the spec of the anemometer.
Since you have scope facility, can you measure the noise frequency? It is the first thing that is needed.
Also please provide the peak to peak voltage of the spikes.
Debasis Parida
Joined August 22, 2019 125Thursday at 12:29 PM
Hey Ash, for reducing the noise at the output, you can try using a Low pass filter at Sensor output. Next to change the range of the signal, you can use a comperator circuit and set a reference value above which all the output value will be HIGH, else LOW. for your case the reference value will be 1.8 volts.Hope this helps!!!