Page 1 of 1

devantech sd84 servo controller

PostPosted: Thu Jan 05, 2012 1:17 am
by Cadburyceme
How can i use flowstone to program that kind of Servo controller if i can i will buy pro version but i'm a little confused right now and there are so many software developers in the world. i can't buy the ssc-32 because it's a project for the university and they provided us such thing. buy they allow us buy any kind of software solution with their budget...

so i'm waiting your response :)

Re: devantech sd84 servo controller

PostPosted: Sat Jan 07, 2012 1:59 am
by Embedded
I had a quick look at the data sheet.
http://www.robotshop.com/PDF/devantech-sd84-servo-controller-specifications.pdf

This it a basic serial com port protocol, so you can use it straight away from flowstone without any hard coding.

There are lot's of examples for similar devices in the FlowStone examples area, here are a few to get you going:

http://www.dsprobotics.com/support/viewtopic.php?f=47&t=356
http://www.dsprobotics.com/support/viewtopic.php?f=51&t=359
http://www.dsprobotics.com/support/viewtopic.php?f=40&t=353

The data in your case is in Hex so remember to set the hex input on the com port module to true!

eg:

To set ch1 to 1500uS (Center the servo) The command format is:

Sync1 = 0xAA
Sync2 = 0xA0
Sync3 =0x55
Command = 0x01
First Channel = 0x01
Byte Count = 0x02
Low Byte = 0xDC
High Byte = 0x05


So literally send out:

AAA055010102DC05