Asked — Edited

Servo Positioning Values

Afternoon All

I'm having trouble getting any positioning on my 180 degree servos. No matter what values I put in the unit does a complete arc. I can add speed control but that's about it. My goal is to use the servo to open a panel door. I could live with the complete ARC but would rather limit the range.

Any advice is welcome.

Thanks,

Daniel


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

Ecuador
#1  

Can you give us the model of your servo?

#2  

Hi Daniel,

How are you moving this servo? With a Movement Panel or script? Can you post a copy of your project? You'll find it somewhere in your EZ-Robot Inc folder and have a .EZB extension. Just use the "Attach File" tool in the lower right hand corner of your screen and upload it. I'd love to take a look and test it to see if there is anything I can see.

If your using a script this is an example:


Servo (servoPort, position)
Move servo to the specified position
Servo position is between 0 and 100
Example: Servo(D14, 25)

If using a Movement Panel make sure you have your ports inserted right.

Good luck, Dave Schulpius

Spain
#3  

For radio controlled aircraft with retractable landing gear, there are some specific servos with tours of: 180 degrees (all or nothing). These Sevos not allow variations in the rotation and can only move from 0 to 180 degrees without intermediate positions. I wonder if you're using one of those servos, to rule out other problems.

#4  

This is a standard servo that came in the EZ kit. Model is S08NF STL. I'm not using script but a movement panel. My current settings are below. No matter what locations I use (and I've tried all combinations) the servo still does a complete 180 arc.

Daniel

User-inserted image

United Kingdom
#5  

The control you are using is for a modified servo control not a standard servo control.

Click on project Add Choose Servo Select either Horizontal or Vertical servo depending on it's orientation

User-inserted image

Click on options and adjust the port, min and max values

User-inserted image

Alternatively you could use a script to open and close the door. You will need to figure out the servo positions but just adjust the positions I've used below (positions are the second part in brackets of the Servo() command)

Open Door


Servo(D4,100)

Close Door


Servo(D4,1)

#6  

Thanks Rich. So I calibrated and now the question is how do I activate it? I've used the control panels for my modified servos but that isn't available with this. I've reviewed the videos but am stumped. I hit center and release but get no movement.

Daniel

United Kingdom
#7  

Once you have the Horizontal or Vertical servo control added and set up all you do is click on the big number in the box and drag left or right for horizontal (or up and down for vertical).

Excuse the poor framerate (I need better screen recording software) but here's an example from start to finish.

P.S. A small tip and little known fact, in the video I right click on the servo positions in the config to bring up the list of positions rather than scroll through. The same can be done when changing the position on the control.

#8  

Thanks Rich.

Still no movement from the servo and I get a disconnected message when I click on center or release. I assume the center and release are how I activate, correct?

Daniel