Germany
Asked — Edited

Control Ubtech Alpha Servos With The Ez-B V4?

Hello, I have a question .

I have these servos in my robot and have now bought the EZ-B V4.

But if it does not get to work, can the Ez b control these servos?

The servos are all connected and the controller only has 1 cable

greetings

User-inserted image


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

Author Avatar
Australia
#49  

Hi DJ,

Great news the script works, tested on ubtech servo's for alpha 2 and the Jimu robot set

thank you so much for taking the time to create a plugin for these servos I really appreciate it

Nick

Author Avatar
PRO
Synthiam
#50  

Okay, can you try something for me? I’ll need to know the range. The documentation says it’s 120+position. The maximum value is 255.

So does that mean the position is between 120 and 255?

Can you remove the GetRandom() and change it to some values to find the max and min positions values for me?

Author Avatar
Australia
#51  

both servos can move from 0 - 252

Author Avatar
PRO
Synthiam
#52  

Interesting, so adding +120 to the desired position from the documentation is incorrect?

Author Avatar
Australia
#53  

yes it appears so, I inputed the values directly into $data[4] anything above 253 actually comes up with an error

Author Avatar
PRO
Belgium
#54  

is there a tutorial how to do this what you did with the servo nick777 ?

Author Avatar
Australia
#55  

Hi Nomad,

all I did is connect the positive and negative of the servo to D0 and the control wire to TX from uart0

Author Avatar
PRO
Belgium
#56  

ah i can use D23 too the control wire is the signal white wire ?too TX