ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

PRO
Synthiam
#33  

Here is an example of how to init the servos correctly in a connection script


# Clear the servo speed for initialization
ServoSpeed(d0, 0)
ServoSpeed(d1, 0)
ServoSpeed(d2, 0)

# Move the servos into desired initialization positions
Servo(d0, 50)
Servo(d1, 30)
Servo(d2, 45)

# Set the servo speed for these servos which will be used from now on
ServoSpeed(d0, 4)
ServoSpeed(d1, 3)
ServoSpeed(d2, 4)
#34  

Thank you.

@djsures will a digital servo react the same way, in regards to the initial jolt.

#35  

I ask because, the initial jolt is more than just a small twitch...its big enough where it continues to destroy the wall-e eyes set up I have.

not sure what to do.

I have done the calibration script. and @rich script he mentioned a few pages ago....and still the initial battery jolt is killing my project.

thinking of scrapping the wall-e...and moving on to the r2

help? ideas?

PRO
Synthiam
#36  

Yeah it'll always do that no matter what kind of servo. This is because servos work on a pulse width of current. Meaning, it's not a digital signal that controls the servo - it's the length of an electrical pulse. So when you plug in a servo, you get a pulse of current - which the servo will respond too.

In short, it's a product of their behavior.

United Kingdom
#37  

The initial jolt should only be a very small jolt, can you do a quick video of the jolt you are getting? It shouldn't be enough to destroy anything.

Is there a safe position you could have the servos in so that a jolt in either direction wouldn't cause any problem? Say centre of the set positions?

#38  

thanks guys..... really appreciate the help....

@rich I've tried to set the min and max at 30 and 70 center being 50 I set the servo at center then i power down um[plug battery. when I re plug the battery I think the jolt is pushing the servo past the min setting of 30 I will make a video tonight.

I was also thinking (like you mentioned) Will the initial jolt always be the same?
like, will it always move in the same direction for the same amount of radius? if so, then I will try to set the servo as close as possible to that point and re connect the battery. to see if it minimizes the jolt.

@djsures and @rich Will a servo saver work? one with a soft spring? I think the purpose of the servo saver arm is to protect the servo from stripping, but I think in this case it should eliminate the jolt because the saver spring will absorb the jolt? what do you think?

@djsures what happened tot he magnetic servo saver in store.....I was thinking that would be perfect for my issue.

thanks again, I really don't want to give up on this wall-e I have the awesome set up....and can do wonders with scripts (due to @rich index) but the power up is killing my project.

PRO
Synthiam
#39  

The servo saver was discontinued by the manufacturer. It only worked on micro servos also.

What port is that servo connected to on the ezb?

#40  

hello,

using ports 15-19

I changed the ports.

set my min and max centered them. unplugged power, plugged back in and BOOM! only a slight twitch, YAY!

then I noticed all my servo controls drop to the lowest setting but the servo isn't at that setting. I hit the center button on each servo control (ill make a script for this) instead of sliding the bar to the center spot and BOOM! ALL SERVOS CENTER! with no massacre of the wall-e head. Only a second slight twitch, and im cool with that.

I tried this several times and I cant say that it always worked. on a couple of occasions the eye servos power jolt was huge, but for the most part it was very minimal.

I will post a video tonight. sorry for not posting one already....you know how it is....as soon as you get one thing going its way hard to stop "making progress"

thank you all for your help.