Hi, I have a circuit board with a 4-channel op-amp that is amplifying a signal using one of the channels. I'm feeding the amplified output to an Arduino and using an external interrupt to find the falling/rising edge.
But I'm getting bouncing on the edge as there is noise in the amplified signal. The signal is a sine wave between 0.1hz to 30hz or thereabouts.
I'd obviously like to eliminate the bounce, and I'm assuming I can setup a Schmitt trigger using one of the extra channels. The amplified signal ranges from about 0.5v to 3.5v, and I already have a voltage divider at 2.5v on the board that I can tap into.
How would my debounce circuit look like? And I'm assuming I need a capacitor-resistor pair that would have to match my sine wave frequency range to debounce it just right?
But I'm getting bouncing on the edge as there is noise in the amplified signal. The signal is a sine wave between 0.1hz to 30hz or thereabouts.
I'd obviously like to eliminate the bounce, and I'm assuming I can setup a Schmitt trigger using one of the extra channels. The amplified signal ranges from about 0.5v to 3.5v, and I already have a voltage divider at 2.5v on the board that I can tap into.
How would my debounce circuit look like? And I'm assuming I need a capacitor-resistor pair that would have to match my sine wave frequency range to debounce it just right?