Thumbnail

Horizontal Servo

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the Servo category tab.
  5. Press the Horizontal Servo icon to add the control to your project.
This servo skill allows you to drag the mouse horizontally (left & right) on the display to move the position of a horizontal servo. The horizontal servo will only move to the minimum and maximum limits you specify in the skill's settings. The limits are both set to 90 by default.

*Note: Like all robot skills, this does not save the last servo position used. To set a servo position when the robot connects, create an initialization script using the Connection Skill.

Main Window



1. Position Adjust/Display
Click and hold the left mouse button on this area to adjust the servo position. If you right click you can enter the desired position with the keyboard. It will also display the current servo position between 1 and 180 degrees.

2. Release Button
Pressing the Release button will release the servo from holding it's position. If the gearing allows you should now be able to move the output gear by hand.

3. Center Button
Pressing the Center button will move the servo to the center position between the maximum and minimum servo positions in the settings menu. Ex: Maximum position set to 140 and minimum position set to 10, center position would be 75.

Settings



1. Title Field
Enter a name for your horizontal servo skill.

2. Board Index Drop-down
Select the board number that your servo is connected to.

3. Port Drop-down
Select the digital port that your servo is connected to.

4. Minimum Position Adjust
Click and hold the left mouse button to adjust the minimum servo position value. Right click to enter it in with the keyboard.

5. Maximum Position Adjust
Click and hold the left mouse button to adjust the maximum servo position value. Right click to enter it in with the keyboard.

6. Multi Servo Edit Window
This window allows you to select multiple servos that you'd like to mirror movement of the master servo.

7. Invert Direction Checkbox
When checked this checkbox allows you to invert the direction that the servo moves when a position value is sent to it. Ex: When normally a 180 position value makes the servo move all the way left, with the inverted directed checkbox enabled the servo will move all the way right when 180 is sent to it.

How to Use Horizontal Servo


1) Add the Horizontal Servo skill to your ARC project (Project -> Add Skill -> Servo -> Horizontal Servo).

2) In the skill settings select the digital port that you have a horizontal servo plugged into.

3) Adjust the minimum and maximum servo limit values.

4) Back in the main window left click and hold your mouse button on the position display to move the horizontal servo.

Video



Requirements


A 3-wire GVS (Ground-Voltage-Signal) 180° Servo Motor.

Resources


Click here for a tutorial on how a servo works.

Click here for a tutorial on using a servo skill.

Related Content

tutorial
Sabertooth+Kagaroo+DC Motors As Servos

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
tutorial
Rotating Servo Calibration-Unscripted

Rotating Servo Calibration-Unscripted

Hey guys. Made this tutorial for people who had difficulty understanding the Ez-Robot tutorials, All unscripted.(This...
tutorial
Setting Servo Speeds And Initialization Script Tutorial

Setting Servo Speeds And Initialization Script Tutorial

This tutorial will explain what an initialization script is and how to use them in your EZ-Builder projects....
question

Servo's On Second EZB

I am running two EZB's on my project.  The second one has two servos connected.  When I run the script command getservo(1.12) or getservo(1.13) it...
question

Pimoroni Pan And Tilt HAT For Rpi 3 B+

hi i just purchased the pan tilt hat. i know it works because i tried the python examples. But how can i get ez-builder to recognize it? I do have the...
question
It's Not Just Me; Went To A Makerspace And Even The Latest Issue Of Servo Can't

It's Not Just Me; Went To A Makerspace And Even The Latest...

It's not just me; went to a makerspace and even the latest issue of Servo can't figure out the EZ Robot software. I...
question
New Servo Less Degree

New Servo Less Degree

i bouth a low profile servo.i want to use this for the turning waist. i can adjust the servo in servo profile,but no...
question
Strange Behavior Servo

Strange Behavior Servo

i notest a strange behavior when using window horizontal servo. when i check the invert direction box.i can move the...
question
More Servo Degree Possible?

More Servo Degree Possible?

i  am using servo from banggood.com they are very cheap.i can turn the main gear , alot further then 180 degree by...
question
I/O Ports Not Responding To The Ez Builder UI Servo Control

I/O Ports Not Responding To The Ez Builder UI Servo Control

I have an ezb v4 that has been on the shelf for several years. (worked when last used). I was on the shelf too so we are...