Search
Product Info
OpenServo
sku: ROB-09014
Description: This is our version of the OpenServo open-source servo controller board. It's meant to replace the existing controller board in any standard servo (~.78 inch servo width). With this board you can control a servo entirely with I2C/TWI commands rather than PWM, meaning that multiple OpenServos can be controlled with just two lines! The OpenServo firmware also offers some interesting control features, such as querying a servo with an unknown position, setting control gain discretely and on-the-fly, and even querying the destination of the actuator before it reaches it!
Documents:
Pricing
Comments
12 comments
Feeds
Currency
Display prices in
Feedback
If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.


















This would directly compete with CrustCrawler's AX and RX offerings, at a lower price point and offering hardware compatibility with existing servo hardware (brackets etc). I would buy it.
The good news though is that you must power this board with more than 6V. There's an internal 5V regulator for the logic, but the motor is powered by the raw input.
Please if anyone has gains that work with the "TowerPro" servo that sparkfun sells please post them. The only 'kind of' suitable parameters I've found is P-200 D~240, but as AK47 said, that leaves huge steady state error. Also MAKE SURE TO SET "SWAP_PWM_DIRECTION_ENABLED" or your servo will try to destroy its self.
Sparkfun, please a little support on this one, and please "Release" your CVS code module before you zip it up for the public.
Here is a simple method of manually tuning a PD controller: Set the derivative gain to zero, slowly increase the proportional gain until you get oscillations, then start increasing the derivative gain until the oscillations stop. If you want, you can increase the proportional some more and compensate with more derivative, but you will get diminishing returns and more jerky motion at some point. Also as d3smo said make very sure your signs/directions are right before increasing the gains too much.
Note that unless there is a constant load (torque) on the servo, any integral term will only mess it up (with delay and overshoot). That is because integral terms are only needed when a nonzero input (motor voltage) is required to have a stationary output, like in an oven, but that is clearly not the case for an unloaded servo. Increasing the proportional gain is the only way to remove steady-state error in this kind of system. I learned this the hard way with my own servo mechanism long before my first control theory class.
Looking at the photographs on your web-pages it seems that your PCB can be installed into a TowerPRO SG-5010. Any other servo, maybe something comparable (considering torque) to the 645 MG?
No offend meant, and best regards.