Asked — Edited

I Have A Few Questions With My Ez Robot

Hello again,

Lately- I have been working on EZ builder with my EZ robot and have been quite stumped with 3 things.

  1. My robot doesn't track my face, it just quickly swivels the camera around and doesn't seem to focus on my face without looking away frantically. I have tried different things- but now it is getting a bit frustrating. I clicked the word "face" which is under the tracking bar. I have checked the "color" as well with no progress. I have tried "motion" and it just continues to look around. I would like someone to really break down all of these steps for me, because I would like to think that it's only user error.

  2. My robot's ultrasonic sensor was hot-glued on. I am wondering if it could be damaged from the surface of the hot melt on the back of the ultrasonic sensor to the robot. because of this, I ordered another one just incase. I had the wires soldered on to the sensor- black to "GND", the single white wire to "Echo" the non single white wire to "Trig" and the red wire to "VCC". I believe that is correct- as watched a video. Now that the sensor has been soldered, it doesn't seem to work- and I don't know how to test it. I went to the "add" panel and clicked ultrasonic. I set it for Radar and obstacle avoidance and neither seemed to work. if anyone could break this step down and help me problem solve this, that will be great!

  3. Lastly, I have figured out most of the programming for voice command. But I am not sure how to put more than one servo movement at a time- as I am trying to make my robot dance. It keeps saying "only 2 parameters allowed at a time"...I am unsure exactly what that means. It doesn't seem to allow me to put more than just one program; for example- (d5,65) I am not sure how to put more than one program for the same type of command.

Thank you very much for all your help, well make it through!


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

United Kingdom
#1  
  1. Check your inverts on the settings, when it doesn't track correctly the majority of the time it is down to incorrectly ticking or not ticking the invert box. Also ensure lighting is good. Turn on the debug messages and see what they say when a face is detected, try to determine if it's moving the wrong way or not.

  2. Hot glue is used a lot on electronics, it shouldn't have damaged anything. Ultra sonic sensors are a law unto themselves at the best of times, I avoid them where possible. Add the ultrasonic distance control and move your hand in front of the sensor to check it's working.

  3. Use multiple lines of code. Click on the icon to the right of the command box to open up the EZ-Script interface, you can put as many lines of code as you like in there, which will mean you can move more than one servo at one time...


# Move servo 1
Servo(D1,50)
# Move servo 2
Servo(D2,50)

Both will move at the same time.