Open Source Java for Pololu Maestro Servo Controllers

Hi All,

I’ve written some Java to drive the Pololu Maestro Servo Controllers and posted it on GitHub.

So far it supports the following functions, implemented using the Pololu Native USB protocol: set position, get position, set speed and set acceleration.

If you want to build the code then you should look at
If you just want to inspect the Maestro-specific code then look at

I hope that it’s useful,



Thank you for sharing! We have added a link to your post in the “Related Resources” section of the Maestro User’s Guide.

- Amanda

To GregE,

I am just getting started with the Maestro, using, I hope, Java on my Mac. I’ll look at your code to help with operational activities.

I do have a question. According to everything I’ve read, it is not possible to use the configuration GUI on the Mac. Did you use a Windows computer? I have Parallels and can run Windows 8.1. Did you use something like that?


Hi Greg,
I use Windows, so I can’t really help you with your Mac question about the configuration GUI.

Once you get past that hurdle and into Java development then please let me know how you get on. The library relies on usb4java, which claims to have the right native libraries to run on Linux, Windows or OS X, but I’ve only played around with it on Linux and Windows.

I’m occasionally updating the library but the main Pololu-related stuff should be fairly stable.
Good luck and please let me know how you get on or if you have any further questions.
Best regards,