Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware Debouncing for Encoder #21

Open
ztnel opened this issue Oct 12, 2022 · 0 comments
Open

Hardware Debouncing for Encoder #21

ztnel opened this issue Oct 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request hardware hardware schematic capture and layout

Comments

@ztnel
Copy link
Owner

ztnel commented Oct 12, 2022

Brief

To improve switching debouncing performance and reduce firmware complexity it is best to add a simple hardware debouncing RC circuit inline with the SW input signal from the rotary encoder. A simple RC circuit as depicted below can circumvent switch bounce vi capacitor charge and discharge. The switching time should be chosen to be ~20ms based on some industry best practices:

image

Further Reading

https://www.digikey.com/en/articles/how-to-implement-hardware-debounce-for-switches-and-relays

@ztnel ztnel added enhancement New feature or request hardware hardware schematic capture and layout labels Oct 12, 2022
@ztnel ztnel self-assigned this Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hardware hardware schematic capture and layout
Projects
None yet
Development

No branches or pull requests

1 participant