226-Better-Rotary-Encoder---no-switch-bounce
226-Better-Rotary-Encoder---no-switch-bounce copied to clipboard
An improved sketch to cater for switch bounce, courtesy of Marko Pinteric
226 Better Rotary Encoder - no switch-bounce
An improved sketch to cater for switch bounce, courtesy of Marko Pinteric (https://www.pinteric.com/mped.html)
Link to video: https://youtu.be/sQNPAsZKnDw
A superior Rotary Encoder sketch? And a new Multimeter requirement?
► JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/cgh
00:00 Welcome Back
00:47 JLCPCB PCBs including PURPLE
01:26 About Rotary Encoders
02:09 Sad news about my Multimeter
05:25 Multimeters on the Internet
08:56 Rotary Encoders
12:46 Marko Pinteric's alternative method
15:05 Demo and Code discussion
22:51 Optical Rotary Encoders (no switch bounce)
► Video #19 Rotary Encoders with Interrupts
https://youtu.be/J9cDEef0IbQ
► Demo Arduino Sketch in my GitHub
TBC
► Technical paper by Marko Pinteric explaining his code 👍
https://www.pinteric.com/rotary.html
► Jack Ganssle's two-part article about switch bounce
Part 1 - http://www.ganssle.com/debouncing.htm
Part 2 - http://www.ganssle.com/debouncing-pt2.htm
► MULTIMETERS
Review of ANENG 9002 Multimeter, by Darren Walker
https://www.youtube.com/watch?v=JdaM5EC39Rk
ANENG AN9002 Bluetooth Digital Multimeter 6000 Counts £19.11 ($25.99)
https://www.banggood.com/custlink/G3mYBF0Bvo
Banggood UNI-T UT61E multimeter, 22000 count £52.18 ($70.099)
https://www.banggood.com/custlink/KKvyBt0jfu
AstroAI DM6000AR, 6000 count, good reviews just £25.99 ($35.99)
https://amzn.to/3z6Orvq
► ROTARY ENCODERS (KY-040)
Banggood Rotary Encoder (single) plenty of others there
https://www.banggood.com/custlink/m3mhBH4a7z
Amazon Rotary Encoder link (UK site) KY-040 5 pieces
https://amzn.to/3gJNZgv
► 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
------------------------------------------------------------------