po2le
08-29-2008, 12:48 PM
My Basic Stamp:· BS2 on homework board, with· PIC16C57C and manual entitled, "What's a microcontroller?"
I'm using the 'COUNT' command to count pulses from a prebuilt·non inverting Schmitt Trigger, 74HC7014, (Phillips semiconductors).· The input to the Schmitt is a two ended pulse with neg. going half and a pos. going half.· The pos. part of the pulse sometimes has a sharp neg.·spike about a fourth of the way through the pulse.· The Schmitt trigger does a fair job of squaring and cleaning the input, except it will follow the sharp neg.·spike and give an extra output pulse.· This extra pulse is counted by the BS2, which results in a faulty count.·
Is there a way to get the BS2 to ignore that short extra spike?
I thought that Schmitt triggers were supposed to ignore spikes and blips, but this one doesn't.
I'm using the 'COUNT' command to count pulses from a prebuilt·non inverting Schmitt Trigger, 74HC7014, (Phillips semiconductors).· The input to the Schmitt is a two ended pulse with neg. going half and a pos. going half.· The pos. part of the pulse sometimes has a sharp neg.·spike about a fourth of the way through the pulse.· The Schmitt trigger does a fair job of squaring and cleaning the input, except it will follow the sharp neg.·spike and give an extra output pulse.· This extra pulse is counted by the BS2, which results in a faulty count.·
Is there a way to get the BS2 to ignore that short extra spike?
I thought that Schmitt triggers were supposed to ignore spikes and blips, but this one doesn't.