Code and Schematic here:
https://www.geekeeceebee.com/Dual_Encoder.html
Follow on Twitter: https://twitter.com/GCeebee
0:00 Intro
0:18 Backlash overview
0:56 Control Scheme and Diagram
1:33 Hardware Setup
2:02 Arduino Code
6:23 Hardware Test
**Note: Amazon Affiliate links below help me.
Components List:
Arduino Mega (Uno wont work) (Affiliate Link: https://amzn.to/3chIiqY)
DC Motor with Optical Rotary Encoder(Affiliate Link: https://amzn.to/3cz5b9j)
L298N Dual H-bridge Motor Driver (Affiliate Link: https://amzn.to/3B3Wu0F)
500CPR HEDS Encoder
1X Rotary Potentiometer(Affiliate Link: https://amzn.to/3uYzXyI)
DC Power Supply (6-12V)(Affiliate Link: https://amzn.to/3aOTYkr)
Jumper Wires and Breadboard (Affiliate Link: https://amzn.to/3oeCzEz)