This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using external interrupt

Hi
I am using ultra sonic sensors to detect any obstacle and i have connected their response to extenal interrupt0 of 8051. The problem is the sensors are very sensitive they trigger the interrupt even if there is an object very far.
I want that external interrupt should trigger if it gets contineous pulse from sensors for 1 second. (I think it is called debounce operation). Is their any way i can do this.
Thanks for your help

Parents
  • I agree that the issue here seems to be more fundamental than the microcontroller. Have you ever read about pulsed(range finding) radar or sonar? A lot of work is done to remove clutter from the return signal. The detection is synchronous and gating the transmitter and then later the receiver allows range discrimination based on gate delay time. If you're using a CW transmitter( more appropriate for doppler radar) and the receiver is continuously active it means that at any moment you are looking at a signal which contains information from a continuum of ranges.

Reply
  • I agree that the issue here seems to be more fundamental than the microcontroller. Have you ever read about pulsed(range finding) radar or sonar? A lot of work is done to remove clutter from the return signal. The detection is synchronous and gating the transmitter and then later the receiver allows range discrimination based on gate delay time. If you're using a CW transmitter( more appropriate for doppler radar) and the receiver is continuously active it means that at any moment you are looking at a signal which contains information from a continuum of ranges.

Children
No data