Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By having R1=10k and R2=380k the results have definitely improved. The result is a much smoother curve, but we some oscillations are still present in the curve. The circuit could be further improved with the use of a schmitt trigger.

Circuit 5: Using

...

the non-inverting schmitt trigger

The model used for the non-invertive schmitt trigger was the 74LVC1G17SE-7 single schmitt trigger in a SOT-353 package

Button

Image Added


Image Added

Strange, there is a lot of noise during the falling edge of the output.

II repeated the test using C1=1000pf and 0.2uf but the results were the same:

Image Added

Image Added

I suspect that either, the configuration for this circuit is incorrect or the model of the op-amp I was testing (74LVC1G17SE) was inappropriate for this application.

Circuit 6: Using an inverting schmitt trigger

The inverting schmitt trigger was made using a TLV314IDCKR Op-amp. The schematic shows the configuration:

Image Added

R1=R2=R3=2.2M, Vref=VCC=5v, VEE=GND

This configuration is an asymetric schmitt trigger configuration with two seperate voltages for HIGH and LOW respectively.

For this debouncing circuit, C1=0.1uF

Button

Image Added

Image Added

Toggle

Image Added

Image Added

Definitely a far cleaner signal than the previous configurations. It should work reliably for any switch input. I decided to try different resistor values for the debouncing circuit. So far the results are almost identical:

Button

Image Added

Image Added

Toggle

Image Added

Image Added

Image Added

Image Added