Direct link to video: https://youtu.be/b2uUYiGrS5Y
To see whether there are any PCBs going spare have a look at the first pinned comment under this video!
So we now have a simple, one-chip hardware solution that guarantees no switch bounce from any switch, not just a rotary encoder. Just feed the output from here into the microcontroller of your choice and never worry about switch bounce again!
► Useful or interesting video? You can support my channel:
Buy Me A Coffee! https://www.buymeacoffee.com/ralphbacon
► The Rotary Encoder I use in this demo
Bourns Rotary Encoder Datasheet PEC11R Series
https://docs.rs-online.com/1baa/0900766b81273a19.pdf
► Calculating Maximum Encoder speed
https://www.linearmotiontips.com/how-to-calculate-maximum-encoder-speed-linear-and-rotary-designs/
► How to debounce KY-040 (a good read but not as good as this solution!)
https://www.best-microcontroller-projects.com/rotary-encoder.html
► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
• https://www.youtube.com/RalphBacon
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------