Thumbnail

Ubtech Alpha 1 Bluetooth

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 Third Party Robots category tab.
  7. Press the Ubtech Alpha 1 Bluetooth icon to add the control to your project.

Control UBTech Alpha robot via bluetooth and control servos. The Virtual Servos in EZ-Builder will control the UBTech Alpha robot servos.

Use the configuration button on this control to configure what servos are to be used. The Vx servos in EZ-Builder correspond to the servo IDs of the UBTech Alpha robot. For example...
- V1 controls servo ID #1
- V2 controls servo ID #2
- V3 controls servo ID #3
- and so on...

In the configuration window, select the servos you wish to control on the Alpha. 

Control Commands
When editing scripts in other controls, use the Cheat Sheet or right-click in the editor to see available ControlCommand of this control. You may connect, disconnect, and control LEDs.

Instructions
1) Connect your PC to the alpha 1 robot via Bluetooth

2) Load EZ-Builder and add this this plugin to your project

3) Select the COM port for the alpha 1 robot and select CONNECT

4) Use the configuration menu of this plugin to select the servos you wish to control. Place a check in the box beside each servo to control

5) Now that you have the control configured, you may use any controls in EZ-Builder that support servos to move the Alpha UBTech robot. This includes Auto Position, Camera, Joystick, and more....

#40   — Edited
blue.EZB

This is the program i'm using to test the plug in. There is an action that  should move servo n.1 between  1 and 180 and then repeat for ever.
But it doesn't repeat this exact sequence for ever. After one cycle,  positions aren't  always the same,  for example they are  45 or 135,  sometimes  180, and even pauses seem to be  different in each cycle.
The  message sent  to a  servo for going  to a specific position seems  not to have  always  the same effect.
Remember  also that, if you switch off the robot for some reason,  EZB crashes and the PC must be restarted.
#41  
Hi DJ.
I'm sure  you are busy on many issues, but  I hope , when it'll be  possible for you,  you'll go back  working on this  one .
Synthiam
#42  
I'm not sure what else can be done. It seems the servos only respond when they want to respond. I'll try another update with experimental settings as usual, and see if that helps. But unless they update the documentation for the robot, i'm shooting in the dark.
#43   — Edited
I understand, there's lack of information about  bluetooth protocol. lt's a non  promising work.
#44  
@DJ. A new idea.
We have experimented direct command of servos with  bluetooth plug-ins, but they  don't work correctly. As you said, and i agree, further trials  to drive  servos directly are shots in the dark.
We might try another path, i.e. using ezb software and also  ubtech software, but  only to move the servos. 
The procedure could be:

1) Actions   are programmed using ubtech PC software. This creates a special ubtech file containing action information.
The file is  saved in the PC with its name , and sent to the robot via USB as usual with this robot .
2) The execution of the action is usually started or stopped  by a bluetooth tablet.  EZB could do the same thing , using the bluetooth protocol  command called  "implementing the action list" that sends  to the robot, via bluetooth, a string with the action file name.
3) A iotiny on board might perform, under ez-b control, other functions alpha can't  perform (sound, camera, etc.)

I'd  make such experiments .  Do you agree ?
I need some tool  to send (and receive) bytes via bluetooth (by ezb or PC).  Please  help with this.
#45  
Referring to my previous post, can you help providing or suggesting some tool to send (and receive) bluetooth messages for my experiments ?