Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

Servo Speed Control

Having problems with speed control and couple other questions some one may have answers to.

1. EzB_Connect1.EZB.Servo.SetServoSpeed(Servo.ServoPortEnum.D3, 90). Does 90 mean 90% of power. If so it is very slow. I notice that in the servo Speed Control it uses 0-9. The lower seems to be the faster speed. Do I use 0-9 for the VB command?

2. How do I control the Hbridge control from VB? When I use EZ I have to adjust teh PWM on start up to get the robot moving, usually it has to be at 90 or above to get Thumper moving. But what to send to PWM to get Thumper moving under VB.

These are 2 seperate question and I cna probaably adapt if some one is using C code.

Thanks for the help.

AI Support Bot
Related Content
In the EZ-SDK are 50 or so examples in C#. The only difference between C# and VB is that VB is case insensitive. That means EZ_B must be EZ_B and not ez_b, etc..

You will find the answers to your questions there :). Tutorial 43 will be of interest to you.

Also, here is a link to the manual: http://www.ez-robot.com/SDK . You may find that link from the Downloads page.

Under the "SERVO" section, you will find this...



- The slowest speed for a servo (0)

- The slowest speed for a servo (10)

- The maximum value for a servo (100)

- The ideal center value of a servo (50)

- The minimum value of a servo (1)

- The value of a servo to disable

Method:EZ_B.Servo.SetServoPosition(EZ_B.Servo.ServoPortEnum, System.Int32, System.Int32)
- Set the speed and position of a servo

Method:EZ_B.Servo.SetServoPosition(EZ_B.Servo.ServoPortEnum, System.Int32)
- Set the position of a servo Uses the last speed specified

Method:EZ_B.Servo.SetServoSpeed(EZ_B.Servo.ServoPortEnum, System.Int32)
- Set the speed of a servo