Hello: I am new to this forum. I am working with some high school students building a car to run in a competition. The car needs to go a distance and stop. We are using an Arduino Uno to control the car. We have a Velleman VMA03 shield controlling the motor and using the encoder below attached to the rear wheel for the distance feedback.
The encoder is hooked into pins 4 and 5 of the Arduino. We are having problems getting the proper counts out of the encoder. When we turn the wheel by hand the counts are close to 600 counts per revolution. If we tell the program to run 1200 counts the wheel runs about 15 seconds before it stops. The motor is running slow so we are not over speeding the encoder.
My background is Mechanical Engineering. I am good at the mechanical stuff and I am terrible at the electrical stuff. Any help would be great.