EmbeddedRelated.com
Forums

Counting pulses from external interrupts(falling edge mode) .

Started by FINETECH February 1, 2011
On 2/5/2011 9:26 AM, FINETECH wrote:
> All..
>
> I would not use the delay in the ISR. I now use additional hardware such as a Schmitt trigger IC74LS14, and I've succeeded. Thanks All for your suggestions.

That will work.

I have not used 74LSxx parts since about 1986. I don't know why anyone
still uses them othe rthan that is what is taught in schools.

I'd use a 74HC14 ;)

If it is a very slow rising/falling input you can add some feedback on
an inverter to increase the hysteresis.
--
------
Scott G. Henion, Consultant
Web site: http://SHDesigns.org
Rabbit libs: http://shdesigns.org/rabbit/
------