Section 1                         Servo Control with VB 6.0

That's the last version of my servo motor control control. Prepared on Visual Basic 6.0. I'm informed that there are many servo motor controlling programs which are coded in VB 6.0.Many examples,a lot of articles, stuffs  like " how to control a servo?" , "what's rotation, direction?" ,Industrial Applications which control for more than one servo.That seems a little bit confussing , isn't that?.So i've decided to code a servo motor control algorithm  just for my pleasure.

It uses mscomm activeX component for RS232 peripheral and transmits data begining from 0 hex to FF hex.You can see the pulse width and rotation value from text boxes.  Insert your required objects and copy-paste the codes to see the miracle :) 

No, not that fast.First you have to use PIC or some other MCU to get the data from PC.There are many PIC optimized asm codes to satisfy your needs.I'm not publishing the other one's codes here.  

 

See source code        

Hosted by www.Geocities.ws

1