Tell us about yourself!

Complete Your Profile
  • Optical Mouse Odometer for (Arduino) Robot

    Hi,So I got the code working, was wondering if there was a way to modify it so the position didn't "Reset" every second? Like, if I move the mouse from (0,0) to (120,0), so it will stay there until it reaches X reaches 127 upon which it rolls over. Then I could use some kind of counter when it rolls over. As opposed to resetting to (0,0) every second, which is what is happening now. I'm having a hard time knowing how to approximate the distance if it is constantly resetting. Hope this makes some sense. Also is there a commented version of the .cpp file? Trying to tinker around with it but I'm a little lost.Thanks!

    View Instructable »