Does anyone know a good way to remove chatter from the output of a comparator circuit?
Current situation:
I have a sample of a digital pot and I was attempting to program it. I figured I could just use some manual analog switch on the input of a comparator circuit to provide the necessary digital high and low signals. The circuit is doing what it is suppose to do but there is some serious chatter (I think it is) on the input signal to the digital pot when I flip a switch. Granted I did connect the output of the comparator straight to the digital pot input.
Attempted:
I tried to add a filter to where the switch is (before the comparator) but it did not seem to help.
Can anyone help me figure this out? I appreciate it.
Dru
Current situation:
I have a sample of a digital pot and I was attempting to program it. I figured I could just use some manual analog switch on the input of a comparator circuit to provide the necessary digital high and low signals. The circuit is doing what it is suppose to do but there is some serious chatter (I think it is) on the input signal to the digital pot when I flip a switch. Granted I did connect the output of the comparator straight to the digital pot input.
Attempted:
I tried to add a filter to where the switch is (before the comparator) but it did not seem to help.
Can anyone help me figure this out? I appreciate it.
Dru