devantech sd84 servo controller

Discuss robotics applications using FlowStone here
Post Reply
Cadburyceme
Posts: 1
Joined: Wed Jan 04, 2012 7:43 pm

devantech sd84 servo controller

Post 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 :)
Embedded
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: devantech sd84 servo controller

Post 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
Post Reply