Pololu Robotics & Electronics
My account Comments or questions? About Pololu Contact Ordering information Distributors

Get Position code to android OTG


I am looking for GetPosition code to implement in android for the Micro Maestro Servo. if anyone knows the command or code in android let me know.

thanks in advance.



Hello, Raviteja.

We recently added a link to an Android app that controls the Maestro over its native USB interface under the “Related Resources” section of the Maestro’s user’s guide. You can look at the app’s source code to see how it gets the servo position from the Maestro. Please note the Maestro’s Get Position command does not return the actual position of the servo, but the current pulse width that the Maestro is transmitting on the channel.

- Amanda


Thank you for reply Amanda.

I haven’t seen the code to get servo position in the given link. As you mentioned that it will transmit the current pulse width from the Maestro.