Posts: 1
Joined: Wed Nov 22, 2017 8:38 pm

Programming a USB servo controller (not Pololu)

Wed Nov 22, 2017 8:53 pm

Hi all,

Hope someone can give me some pointers. I am an experienced programmer but have almost no experience in programming USB devices.

My project involves servo motors, and I have used Pololu Maestro successfully. However I want to break away with the Pololu monopoly and use a cheaper "generic" servo controller, such as this one here:

https://www.ebay.com/itm/Servo-Motor-Co ... 2749.l2648

This controller has a USB interface and is showing on my PC as a "USB Input Device". I successfully retrieved its VID and PID, but that's where I hit a wall.

The code that worked beautifully with Pololu, won't work with this one:

Code: Select all

string aqs = Windows.Devices.SerialCommunication.SerialDevice.GetDeviceSelectorFromUsbVidPid(usbVid, usbPid);
DeviceInformationCollection interfaces = await DeviceInformation.FindAllAsync(aqs, null);
DeviceInformation deviceInterface = interfaces.FirstOrDefault(i => i.Id.ToLower().Contains("mi_00"));
The interfaces collection contains no items.

So how should I go about communicating with this controller? Any pointers would be greatly appreciated.

-- D.C. Dweller
s-l1600.jpg (102.79 KiB) Viewed 83 times

Return to “Windows 10 for IoT”

Who is online

Users browsing this forum: No registered users and 5 guests