I recently bought a dc motor with a hall sensor encoder on it . I have searched many tutorials but still do not know how to program it to spin 360 degrees with a button. I am using this dc motor with encoder attached http://www.jayconsystems.com/metal-gearmotor-37dx57l-mm-with-64-cpr-encoder-100-1.html. The motor encoder specifications are in the PDF file. I will use a 12volt 300 ma power source for the motor. I am using an arduino uno for this project. What would I have to write to have the motor turn 360 degrees?
Motor Encoder.pdf (311 KB)