method to debounce / ignore noise on ADC
Posted: Wed Aug 10, 2011 2:47 pm
Hi,
Can anyone suggest a method of including debounce or noise/spike suppression on ADC inputs.
My design watches for an analogue signal voltage falling outside a mid rail 'ignore' window and reacts accordingly. I have overcome this programmability thanks to the forum and can include hardware filtering on board but I would like to be able to write into the code that a reaction is only valid if voltage is outside this window for more than say, 250ms.
Any simple way this can be done?
Dave
Can anyone suggest a method of including debounce or noise/spike suppression on ADC inputs.
My design watches for an analogue signal voltage falling outside a mid rail 'ignore' window and reacts accordingly. I have overcome this programmability thanks to the forum and can include hardware filtering on board but I would like to be able to write into the code that a reaction is only valid if voltage is outside this window for more than say, 250ms.
Any simple way this can be done?
Dave