I am trying to build the inmoov hand and when trying to use the servos to make gestures they would not move. I have looked at all the videos of how to set up and connect an arduino to MRL but nothing would work this is the servo set up i am using. I did take all the wires that are attached to pwm and attach them to Analog.

mclemens7

7 years 9 months ago

I did connect it again and it sounded like it was working but there was not enough power going to it. I am using one power supply that holds 4 AA batteries.

Hi 

I see the schematics and they look OK. 

I don't really understand what you did here:  "I did take all the wires that are attached to pwm and attach them to Analog". 

I was hoping that you would take for a picture ( or a few ) of your setup with servos, breadbord and the Arduino. Sometimes a picture says more that 1000 words. 

/Mats

 

you need to use digital pins for the servo motors.  Analog pins will NOT work.

Try just 1 servo first, keep it simple.  see if these steps help you 

 

1. Copy and paste the MRLComm.ino sketch from the arduino service in MRL and load it on the Arduino using the Arduino IDE.

2. connect the yellow wire of the servo to digital pin 7.  

3. connect the ground pin to the ground pin of your power supply.

4. connect the red pin to the positive wire on your power supply.

5. connect the ground wire of your power supply to one of the ground pins on the arduino.

6.  launch MRL

7. start an arduino service.

8. in the gui, select the proper com port for your arduino

9 start a servo service in myrobotlab.

10. attach the servo to pin 7 of the arduino service you just started.

11. move the slider left and right.. your servo should move.

 

hope this helps.  good luck!

 

so i did what you told me and i connected everything but it didnt work so i took the ground wire and put it to the reset pin and it worked. is that the wrong place to put it? if so where should i put it becasuse nothing else worked

I agree the basic arduio and servo in runtime no longer work. I was working on my new Azul arm and could run the servos from runtime using version 1387 and mrl 34 (maybe mrl 33 who can keep track) .  Changed to the latest and cannot seem to connect or run anything.

sent No worky

harland