Servo - Relative Servos

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the Servo category tab
Step #5) Press the Relative Servos icon to add the control to your project


Similar to the regular servo controls (Horizontal and Vertical), this control will use multiple servos. However, the difference between this control and the others is substantial. This control allows you to specify a Master Servo. The slave servos will move into relative positions of the Master. All regular servo controls do allow multi servo, so this control isn't always necessary unless it's a special circumstance. The same logic that this control uses applies to all servo settings in ezbuilder.

This means if you move the master servo from any control, the slave servos will move to their relative positions. You can use scripting to Pause and Unpause this control - which will prevent the slave controls from moving.

If the ratio is 2, then the definition of ratio is applied to the slave servo from the master servo. 2 would be 2 times. That means multiplying something by 2 would be double the masters value. Here's an example...

If the master is in position 10 and the slave ratio is 2, the slave will be 20. If the slave min is 30, then the slave will be 30

Ratios or math multiplication can also be decimals using . (Point for decimal). That means you can have a ratio of 2.5, for example. 2.5 times 10 is 25.

Lastly, numbers can be negative values as well. This is done by putting a minus sign in front of the number. Such as -2.

So all slave servos move into a position relative to the master position * ratio. However, the slave position will never be lower or higher than its min/max, respectively.


Related Tutorials & Activities

Sabertooth+Kagaroo+DC motors as Servos

This tutorial shows how to use a DC motor as a Servo, using a Sabertooth+Kangaroo boards combination and EZ-builder [PDF]

Last Modified on 4/21/2016

Created by tevans

Related Products

HDD Servo

This is a heavy duty digital servo which can lift 19 kg/cm! The metal internal gears can withstand a high load. Designed for the ez-b v4, this...

Servo-motor Gripper

The compact grippers are powered by strong metal geared servo motors with foam gripping...

Lever HDD Servo-motor

This is a HDD (heavy duty digital) 19 kg/cm servo with a Clip'n'Play lever that rotates 180 degrees. The metal internals can withstand a high load....

Micro HDD Servo

This is a very strong and small metal geared heavy duty digital (HDD) servo. It has impressive strength and small size. Perfect for small robots...

Rotation HDD Servo-motor

This is a HDD (Heavy duty digital) 19 kg/cm servo with a Clip'n'Play connection that rotates 180 degrees. The metal internals can withstand a...

EZ-B v4/2 Developer Kit

Build your robot or IoT project from scratch. This kit includes the powerful ez-bv4/2 WiFi robot controller, vision camera, servos, battery holder,...

Related Articles: Vertical Servo