Award
Congratulations thetechguru, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Ezb4- How To Extend The Servo Ports

Assistance Requested

Help rickymahk2013 with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

rickymahk2013 claims to have checked these sources:
 
#1

Hi DJ,

Would you help to answer my question as below :

1. I'm making a robotic but it has over 23 servo ports. Is it need to buy one more EZB4 to extend the servo ports? if yes, how to connect and let the EZ-Builder to know the extend servo ports?

2. EZB4 can support the heavy duty servo (VDC 12V)?

3. Will it reduce the power if servo ports are full ?

Thanks for your attention.

Ricky Ma

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

@Ricky.

1. For an easy solution to add more servo ports to your robot project, yes, adding another EZ-B would be a better idea. It would be easier to connect together, and it will give you more ADC, i2c, UART and camera ports which you could use as well. In EZ-Builder, under the connection tab, you will see five fields to connect five EZ-B's.

To move a servo with multiple boards, in the servo controls, you can choose what board the servos are connected to. If you want to write scripts to move servos, this is how you would do it...

Code:


# A normal servo script connected
# to "Board 0".

Servo (D0,90)



Code:

# This servo is connected to "Board 1"

Servo (1.D0,90)



The "1." in the second script is the number of the board the servo is connected to. The same can also be done with servo speeds. if you click here, you can read a thread I started about using multiple EZ-B's.

2. You can use pretty much any servo with the EZ-B, so heavy duty servos will be fine. Providing you are using an adequate power source to power your 12v servos with correct voltage, and more importantly amps, it won't be a problem, but obviously 12v servos will use more power that a 7v servo. Click here to read a recent discussion about using adequate power supplies.

3. To your last question about the EZ-B full for servos, this would depend on how many servos would be moving at the same time. Members have had 24 7v EZ-Robot servos connected to one board and have had no problems. However having 24 heavy duty 12v servos moving all at once, I'm not sure about. If the servo inrush current (when a servo begins to move) is too great, it could trip the poly fuse in the EZ-B. Moving one or a few servos that you mentioned at the same time should not be a problem.

#3

You could also use an SSC-32 board to add up to 32 additional servos to your EZ-B. See http://www.ez-robot.com/Tutorials/Help.aspx?id=216

Alan

#4

Good point Alan. That one did slip my mind, and actually goes to answering a question I had recently about servo drivers.

Thanks. Smile

#5

@Alan.

I just had a look at the SSC-32 servo board and it looks like it's been discontinued and replaced with the SSC-32 USB servo controller. I take it this works the same way as the old one using the UART connection?

#6

The SSC-32 USB board works fabulous with the ezb... I have been using them with my inMoovs... As Alan mentioned there is support (ssc-32 control) already built into ez builder for them... You access the 32 servo ports on the ssc-32 using the virtual ports in the autopositioner...

There is also a tutorial I wrote floating around here on how to drive the ssc-32 from a script as well....

#7

@Richard.

Excellent stuff. Ordering one now. Thanks for confirming.

@Ricky.

Credit goes to Alan on this. His solution is simple to set up, connects straight to the EZ-B which frees up a lot of your digital ports, and is also a cheaper solution. Smile

#8

HI Steve G, Alan & Richard R,

Thanks everyone for your suggestion & information!
I will buy one more SSC-32U USB Servo Controller & EZB4 for my robotics!


Smile

#9

Would I know that how to connect the Hardware SSC-32U USB Servo Controller to EZB?

#10

I am looking for a diagram to follow that highlights the following:

1) Two (or more) EZB v4/2 linked together to take advantage of more ADC, i2c, UART and camera ports without having to connect to the EZB's over WiFi.
a) In other words, how do you connect two or more EZB's to a PC through USB? My robot has a dedicated Mini ITX motherboard w/8GB of RAM, 2.8 GHz Quad-core Processor and four USB 3 ports + two USB Type C ports.

3) The configuration has a camera connected to one of the EZB's camera ports (unless it is easier and more efficient to have the EZB v4/2 access a Web Cam connected to one of the USB ports on my ITX motherboard.

I have spent a day trying to find lessons and tutorials on how to accomplish the above, but am not seeing a complete picture.