> -----Original Message-----
> From: Howard Simpson [SMTP:
hjsbra
KILLspamBIGPOND.COM]
> Sent: Monday, February 10, 2003 11:53 AM
> To:
.....PICLISTKILLspam
.....MITVMA.MIT.EDU
> Subject: [PIC]: Intrpt Bounce
>
> Hi all,
> I have a reed relay on the RB0 Interrupt. It's very slow, say a second
> on, and a few seconds off - to ground.
> RB0 is made to detect the interrupt on the falling edge, that's OK. A
> falling edge - jump to ISR - wait there if necessary till reed stops
> bouncing, then exit ISR.
> Problem occurs when reed opens again, a second or so later. The contact
> bounce creates a couple of rising and falling edges again, the latter of
> which trigger interrupts.
> Can't put delays in, because reed on and off times vary considerably -
> seconds to many, many, seconds, even minutes.
> I have used a 555 to create a one shot which works OK, just wondering if
> there was another way. Schmitt trigers capture the bounces too.
> Regards
> Howard Simpson.
>