* 2 non-contact wheel encoders with 20 PPR resolution attached to back wheels * Battary pack with 5 AA NiMH cells attached to the microcontroller * Battery pack with 8 AA NiMH cells attached to the motor shield * Attached additional equipment includes: * This sketch is designed to be used with the DFRobot Baron 4WD robot. * Created by Steve Cline on 17 December 2017 The results are quite inconsistent and I am thinking I may have some logical errors in my code.Īny suggestions are greatly appreciated. I have created a sketch shown here to try to accomplish this task.
I am relatively new to Arduino and trying to use some simple wheel encoders to develop a sketch that will correct wheel power values based on the encoder values.