UBTECH Alpha Servos UBT-12HC

How To Add This Control To Your Project

  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select the Install button below to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to EZ-Builder.
  5. Load EZ-Builder and press the Project -> Add Control button from the menu.
  6. Choose the Servo category tab.
  7. Press the UBTECH Alpha Servos UBT-12HC icon to add the control to your project.

Control the UBTECH Alpha Robot Digital Servos (UBT-12HC) with EZ-Builder. The servos must be powered appropriately, and connected to the EZ-B v4 or IoTiny with the respective port. Visit the Config menu of this plugin to view the port configuration.

The Virtual Ports (V0..V99) in EZ-Builder can be assigned to the UbTech servos.

- This plugin requires the RX signal wire of the servo be connected to TX of the selected UART or digital port (if Software UART is selected)

- Hardware UART is for the EZ-B v4 only. Do not use software UART on EZ-B v4. View the EZ-B v4 datasheet to identify the UART ports (0, 1, or 2). EZ-B v4 datasheet can be found here:

- Software UART should only be used with IoTiny

- The configuration menu also provides an option to select the Virtual Ports, which correspond with the ID's of the UBTech servos. If the UBTECH servo ID #0 is connected, select V0. #1 = V1, #2 = V2, etc..

- Default baudrate of UBTECH servos is 115,200

- Discussion on these servos is here:

User-inserted image

#47   — Edited
The UART port is the port that you select in the control. Read the manual at the top of this page to identify what UART you've selected. There's a link in the manual of this plugin for the datasheet to find the UART ports. 

*Note: do not use a software UART port on the EZ-B v4 with this plugin. Software UART is for IoTiny only!
Have you tested this yet? Use the latest plugin and test this please
I haven't done yet. For this  I have to isolate some servo without damaging the alpha , and use the ezb from another robot.  This requres some time .
I'll send a post as soon as possible.
#50   — Edited
Hardware issues for ubtech servos.

1)The  description for this plug-in refers to dynamixel  servos, that have 4 wires, with separate rx and tx .
Ubtech servos, instead,   have 3 wires only. Their communication is bi-directional, but  half duplex .  So the  servo  sometimes will try to force high and low the  communication pin, that's connected to the tx pin  of ezb v4 , that's  an output and  can't  be driven high or low  by the wire.  Can this work correctly ?

2) I want to avoid damaging the alpha or ezb with these tests.  I risk to short circuit the 7,4 V power pin  with EZB's uart  pin  !
I'd need  the right  connector for the servo, but  I couldn't find one.  It's not a JST. Its pitch is 2 mm . I'm afraid it's a proprietary  connector from ubtech.
I heard about AX connectors . I'm verifying if they are available and suitable  for the purpose. Can you help ?

Software issue.
I see 3 software uarts in the  plug-in configuration menu.  But ezb v4 has only one. I guess I must select  uart # 0.
#51   — Edited
1) no, dynamixel and your servos have 3 wires. The description connects the signal wire together to RX and TX. It's documented above with a diagram. 

2) i can't help with your wiring

3) no, the ez-b v4 has 3 hardware uarts. It's documented above in the manual. You can click to view the datasheet of your ez-b v4
1)My doubt was if hardware problems might arise connecting  ezb's  uart  TX pin  to  ubtech's unique  pin , that can receive , but can also  send digital signals  to ezb  TX port , that obviously can't receive , but , when non transmitting , is always outputting its own digital level,  i.e. 3,3 V.
If this is not a problem , I'll connect the ubtech control pin to TX of  ezb's uart.  as I did in my previous tests.

2) I hoped you or someone else knew the type of connector used. I'll go on looking for it. In previous tests I was near to burn out everything because of  a non solid connection  to the servo !

3)Sorry, I was wrong. I intended hardware uarts, the ones to use with ezb v4. And wanted to know which one of the 3 to configure ( I guess #0).