Thumbnail

Horizontal Servo

How to add the Horizontal Servo robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Servo category tab.
  5. Press the Horizontal Servo icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the Horizontal Servo robot skill.

How to use the Horizontal Servo robot skill

This servo skill allows you to drag the mouse horizontally (left & right) on 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 its 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
This field contains the title of the horizontal servo skill. You can change it if you'd like. *Note: Changing the title here will also change the title in the controlCommand() associated with this 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 the 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 Tutorials

Related Questions

question

All Servos Jerk When First Used After A Release (Not Power Up)

I haven't seen this one before but there's a lot I haven't seen. lol. I'm using EZ Robot HDD servos for my first time. I've always mostly used analog...
question
Horizontal Servo

Horizontal Servo

Horizontal servo control, now it will not let me save when I change the values ? same with the vertical servo control
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...
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
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
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

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 ARC to recognize it? I do have the ez...
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
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...

ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.