Hi Dave
I did see this chip ..... However the price is unreal as to a couple of caps / resistors and a Schmitt.
Question :-Would I need the Schmitt as the Inputs on most uChips seem to have one built in ?
BR
Andy
Hi Dave
I did see this chip ..... However the price is unreal as to a couple of caps / resistors and a Schmitt.
Question :-Would I need the Schmitt as the Inputs on most uChips seem to have one built in ?
BR
Andy
Then perhaps how about an MAX6816 or MAX6817?
Dave Purola,
N8NTA
EN82fn
If you’re still talking about button input, Schmidt triggered inputs are only useful because you’re doing the debounce in hardware.
A Schmidt trigger input might help interpret a slope which is artefact of a capacitor you put there, but button bounce is square,
and alternates logic high and low, and is invisible to a Schmidt trigger.
We do this for logic, but when you’re looking at the port yourself, you ignore any high to low transition (or vice versa, depending how the button was set up)
for a duration after the last high to low transition you acted on. A software timer (loop counter) makes it a snap.
It will be much easier, if you use these switch clicks to charge an capacitor, and measure it's voltage with ADC after. You have only 10 steps, so it will work just fine, no debouncing, no schmitt triggers and other yada yada.
Bookmarks