I'm working on a rover.I'm using it with Raspberry Pi as my microprocessor.And can anyone tell me that whether i need an encoder with it.

1 Answer 1


You can grab the raw mouse data from /dev/input/mouse0. Library to access these is evdev. Its accessible it with python, or C/C++.
For more Information see https://stackoverflow.com/questions/5060710/format-of-dev-input-event.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.