Servo variable speed, end point and sequence
Up to 8 servos at one time, each with different speed, end points and directions of travel. Also the sequence of operation can be set, following in order , simultaneous or a mixture of both.
Works with any servo, 60', full rotating and sail winch types. Calibrate each type for an end point. This sketch adds a button control for differing mixes.
A goal would be to add acceleration and deceleration for the speed.
Embed This Sketch
Use the following HTML code to embed the sketch code above in your blog or website.
<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:315096" frameborder="0"></iframe>
Embed The Serial Monitor
You can also embed the Serial Monitor section! Just use this HTML code.
<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>