Serial Bus Servo driver
VonSzarvas
Posts: 3,448
Has anyone worked on the Serial Bus servo protocol for P1 or P2?
This sort of thing:
https://www.linkedin.com/pulse/introduction-serial-bus-servo-feetech-servo-abby
Before I start from scratch on a P1 driver, it would be good to collaborate if there's any prior work out there?
Edit: This is the actual servo I'm working with: https://www.waveshare.com/wiki/ST3215_Servo
Comments
I've written P1 and P2 code for Dynamixel actuators (full objects used in commercial apps), and have a experimental for a lower-cost alternative called the LX-16A.
-- https://www.amazon.com/gp/product/B073XY5NT1
In both cases the communications is half-duplex serial.
Your servo looks like a variant of the LX-16A. With the P1, you have to deploy a cog. With the P2, you don't have to when using inline PASM (though there is a very short delay waiting for the response).
I use a FET interface with the Propeller so that I can work with 3.3v or 5v serial from the device. I even made a P2 accessory board that includes a connector that works with Dyanmixels and LX-16As.
A few moments later...
I found a post on Reddit -- the ST3215 is not the same as the LX-16A. I have attached my P1 and P2 objects for the Dynamixel so you can see how I handled the half-duplex serial in each case. You'll have to modify for the ST3215 protocol.
Thanks Jon- that's a great head start.
I'll share back what I can get going with the ST3215.