I have a Micro serial Sevro controller and I trying to control it via rs232 from a pc program VB6 or PowerBasic or for now Polilu’s serial transmitter program. I do have the PC’s rs232 TX connected to the Micro serial Sevro controller’s rs232 input and gnd to gnd. Using Pololu mode (jumper open)
Is there a VB6 example any place?
The user guide explains the basics but does not show the order the commands need to be run.
I assume I have to start at command 0
Start byte = 0x80, ID = 0x01 (servo 0 ), command = 0x00 (Set param’s) servo Num = 0x00 data 0x0f : servo on, forward, range 15
Next I guess I have to do command 0x01
Start byte = 0x80, ID = 0x01 (servo 0 ), command = 0x01 (Set speed) servo Num = 0x00 data 0x40
Next is the position so I need to choose a position command 2,3,4 or 5 depending on what I want to do
Does this sound correct?