khanna_gunjan
Member level 3
- Joined
- Jul 18, 2006
- Messages
- 64
- Helped
- 9
- Reputation
- 18
- Reaction score
- 7
- Trophy points
- 1,288
- Location
- Nürnberg, Germany
- Activity points
- 1,699
How do i avoid Jitters
Hello,
In one of my application, i am trying to read a Output Voltage of a reed contact in the microcontroller and i am using an opto-coupler for the purpose. The problem is that before the contact is properly closed, there is these jitters there ( with jitters i mean closing and opening of the contact at a very fast rate, before it finally stablizes).
Can anyone suggest me a simple solution to avoid these jitters with few components. Also, i would like to mention that the output of the opto-copler is then read by the microcontroller and which can only generate an interuppt when it sees the falling edge of the signal and i tried to use an RC circuit at the output of the opto-coupler .. but with the slow charging and discharge time the controller is not able to detect the falling edge of the signal..
Please suggest. thanks
Gunjan
Hello,
In one of my application, i am trying to read a Output Voltage of a reed contact in the microcontroller and i am using an opto-coupler for the purpose. The problem is that before the contact is properly closed, there is these jitters there ( with jitters i mean closing and opening of the contact at a very fast rate, before it finally stablizes).
Can anyone suggest me a simple solution to avoid these jitters with few components. Also, i would like to mention that the output of the opto-copler is then read by the microcontroller and which can only generate an interuppt when it sees the falling edge of the signal and i tried to use an RC circuit at the output of the opto-coupler .. but with the slow charging and discharge time the controller is not able to detect the falling edge of the signal..
Please suggest. thanks
Gunjan