shigha
Junior Member level 1
- Joined
- Apr 13, 2013
- Messages
- 19
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,283
- Activity points
- 1,392
Iam doing a sensor based system. The sensor Iam using is ultrasonic sensor and it produces an AC output of around +9vpp output when it meets an obstacle. I want to use this signal as a source for the interrupt in microcontroller INT0. Please give suggestions on how can i use it?
The microcontroller should perform the interrupt routine whenever the signal comes. How to configure the interrupt? In the default mode, interrupt works only if a ground signal is given. I know that I can change it to the reverse mode too. But can a microcontroller directly respond to an ac interrupt or works only with dc interrupt?
The microcontroller should perform the interrupt routine whenever the signal comes. How to configure the interrupt? In the default mode, interrupt works only if a ground signal is given. I know that I can change it to the reverse mode too. But can a microcontroller directly respond to an ac interrupt or works only with dc interrupt?