Murugesh_89
Full Member level 5

Hi,
I am getting a square wave input as shown below which i need to be counted.

I am giving this to external interrupt of microcontroller. Since in the negative cycle i am getting noises as shown in red color, i am getting multiple interrupt WHICH IS NOT FIXED VALUE.
The frequency of wave is 0 - 500 Hz.
What should i do in HARDWARE so that i can get single pulse and hence single interrupt?
Thanks,
Murugesh
I am getting a square wave input as shown below which i need to be counted.

I am giving this to external interrupt of microcontroller. Since in the negative cycle i am getting noises as shown in red color, i am getting multiple interrupt WHICH IS NOT FIXED VALUE.
The frequency of wave is 0 - 500 Hz.
What should i do in HARDWARE so that i can get single pulse and hence single interrupt?
Thanks,
Murugesh