I need help getting XL-5 to work with Serial Controller. Have had it working with other vendor’s servo controller. The module is good. It will power up with the other module. Have written 2D servo software control software. Works with Futaba servo, have been working with servo controllers for three years. Was hunting servo controller that could be reset from computer, has anyone built this combination before?
XL-5 will not power on and stay operational. Have changed out battery configuration. Used similar configuration with other product but still no go. Any one have any ideas?
Very odd, I’ve had no problems using the Pololu micro serial servo controller with a Novak Super Rooster ESC (different brand, but a similar speed controller to your XL-5, and quite powerful, but I wasn’t pushing it anywhere near it’s full potential). Sounds like a power or noise problem, especially since your servo works just fine with it.
Can you describe the failure behavior? For example, does it work fine at low speeds then stop working when you try to drive a motor faster, or under a higher load? What if you connect the XL-5 to a very small, low-power motor instead?
When you say you changed the battery configuration, what power connections have you tried, and what battery pack are you using?
And out of curiosity, what was the other vendor’s servo controller that this all worked with?
Sorry to answer with more questions, I know how frustrating it is when something simple should just work, but doesn’t.
On the separate matter of resetting the servo controller from your computer, I don’t know of any servo controllers that have a completely straightforward way to do this, but if you’re up for a little more soldering and programming you could hook up one of the unused serial handshaking lines, DTR or RTS (from your computer’s point of view), to the reset pin of your servo controller through a transistor for level shifting and possibly inverting the voltage. Alternatively, this would be really easy to do with a USB to Serial Adapter.
The VB4 program I wrote did not set the BCD length properly. I wrote a C++ program that listed the BCD return codes properly.
I am running the robot on B-Wireless and I did not check the fundmentals. You have to set the DCB structure length properly so that the structure is properly init’d. I went back to basics and found that the error. Below is code that I hope will help others save the 90 days that I lost hunting a coding error.