United Kingdom
Asked — Edited

Operating Servos Using The Developer Kit

Hi, I have a home-made robot with 6 servo motors that I want to animate using ports D0D6 of a Developer kit. I’d like to have the option of moving all the motors at the same time, but cannot get RoboScratch or Blockly to move any of them. I can see the blue light is on and the camera is sending a signal to my laptop.

Unfortunately, I can’t find a way to select the port using RoboScratch so I’m trying to use Blockly, but this returns an error saying I am not connected to EZ_B. I am right in sticking with Blockly, or is there another method of animating these motors I should use?

If so, please advise which tutorial(s) I should be watching.


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

PRO
USA
#1  

First things first. If it is returning that you are not connected to the EZB, you must do that first. Watch the video below and make sure you are connected via wi-fi.

PRO
Synthiam
#2  

Check out the learn section from the menu at top of this website. Press learn and select your product. There’s plenty of tutorials to get you started. Have fun!

United Kingdom
#3  

Thanks for your help. I can now see that I am connecting.

Unfortunately, I have tried using the JD & Six "Example Projects" (along with numerous tutorials), but as I am jumping straight in with the Developer Kit I am not having any success moving any of the motors.

Is there a specific Developer Kit set of tutorials?

PRO
Belgium
#4  

barnardsb

are you connected ? or connecting.there's a diff.

#5  

I would recommend that you not us a script for JD to try to move your servos for the first time. Start by connecting and verify that you can get connected. I think you are since you can see the camera image. Then add a single servo control and see if you can move one servo. Once you can prove that, moving multiple servos will be easy.

#6  

Try operating a servo without a script to Test, with a New blank file. Open ARC and connect, light on EZB will change from blinking to steady after connection. Hit NEW At the top hit Project Hit Add Hit Servo Hit Horizontal or Vertical Hit the small gear Icon and select a port NOTE: Servos will not move unless the Min & Max are adjusted for this test. Set Min to a lower # than 90 that is safe for your robot. Set Max to a higher # than 90 that is safe. If you can move a servo with this test, then try a script. This is also a safe way to learn your Min. & Max settings, before trying Scripts.

PRO
Synthiam
#7  

You cannot use a sample project of a robot that you do not have. There will be missing hardware which will lock up the ezb and require a reboot.

Use this manual page: https://synthiam.com/Tutorials/Lesson/49

United Kingdom
#8  

Thanks very much. Lesson 49 was very helpful.

Which number tutorial should I move onto next to show me how to program all 6 motors to move independently but at the same time?

PRO
Belgium
#9  

barnardsb

see lesson/49 all the way below.it say gait.you chould have that window in your project.

United Kingdom
#10  

I don’t wish to create a standard moving style, I merely want to code it so that all 6 motors to move independently, but at the same time. Thereby creating an illusion that the robot is alive.

Rather than using Blockley or RoboScratch, is there a virtual joystick type method of programming that I can use?

PRO
Synthiam
#11  

Random movements? Random would be super easy with a Blockly or ezscript loop.

But.... I’d use the Auto Position control. Read about it and follow tutorials here: https://synthiam.com/Tutorials/Help.aspx?id=180

PRO
Synthiam
#13  

For random movements use a little Blockly program like this video below...

Here's a screenshot... User-inserted image

PRO
Synthiam
#14  

What do you mean by virtual joystick? You can use a real joystick: https://synthiam.com/Tutorials/Help.aspx?id=43

Otherwise I guess you can use the servo touch pad if you don’t have a real joystick: https://synthiam.com/Tutorials/Help.aspx?id=150

All servo controls let you move as many servos as you need. Look here: https://synthiam.com/Tutorials/Lesson/49

United Kingdom
#15  

Thanks very much for all the help. This is a tremendous help and has given me loads to look into.