USB 16 Servo, Red Flashing Led

Hello,

I have a 16 Servo USB Controller. I have just written a program in VC++ to control it, which seems to work, other than when I send the turn servo on, to servo 0, in Pololu mode, the red led lighs and flashes. Here are the bytes I’m sending it

0 0x80
1 0x01
2 0x40
3 0x00
4 0x00

Any ideas?

John

Hello,

Looks like you have bytes 2 and 4 flipped.

- Jan

Hello, Great, that was it, thanks.

Is there any programatic way of reseting the device once the red led is on/flashing?

Unfortunately, there is not a simple way of resetting the controller. The only way is to is to send a reset command to the USB device, a CP2102 USB-to-serial adapter from Silicon Labs: http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/Interface/en/interface_documentation.htm. They provide a DLL in app note AN144 that includes the CP210x_Reset() function. Calling this function will reset the USB adapter, which causes the suspend line to go high, which resets the microcontroller on the servo controller.

- Jan