Hand and Forarm

188 views
Skip to first unread message

goossens2009

unread,
Jun 26, 2017, 10:16:11 AM6/26/17
to InMoov



Hello,

Looking for latest Arduino code sketch for Hand and Forarm. I have completed assembly of the right Hand and Forarm, I am using Towardpro MG996R for the wrist and Towardpro MG946R for the fingers. 

When testing I am unable to get all servos to operate, only one finger moves, there are six servos mounted. I have attached a picture of configuration for arduino uno.

Thanks for your help



2017-06-26 09.04.10.jpg

gael langevin

unread,
Jun 26, 2017, 12:21:40 PM6/26/17
to goossens2009, InMoov
Hello,
Surely a power issue regarding your picture.
The Arduino cannot power all the servos. You need to add an external power supply.
Remember each servo is hungry for Amps. To give you an exemple, for to power the 6 servos of the hand, you should consider a power supply of 6V with minimum 3 to 4 Amps.
If you use the recommanded battery of 6V12Ah, you can power the whole robot.(hardware and BOM page)
If you use a 6V60Ah outlet power supply you can power the whole robot and plus.

Please follow these sketchs:
Images intégrées 2Images intégrées 1

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.
To post to this group, send email to inm...@googlegroups.com.
Visit this group at https://groups.google.com/group/inmoov.
For more options, visit https://groups.google.com/d/optout.

goossens2009

unread,
Jun 26, 2017, 1:56:14 PM6/26/17
to InMoov, gooss...@gmail.com

Thanks - Gael

Could you aslo send the Arduino code?



On Monday, June 26, 2017 at 11:21:40 AM UTC-5, gael langevin wrote:
Hello,
Surely a power issue regarding your picture.
The Arduino cannot power all the servos. You need to add an external power supply.
Remember each servo is hungry for Amps. To give you an exemple, for to power the 6 servos of the hand, you should consider a power supply of 6V with minimum 3 to 4 Amps.
If you use the recommanded battery of 6V12Ah, you can power the whole robot.(hardware and BOM page)
If you use a 6V60Ah outlet power supply you can power the whole robot and plus.

Please follow these sketchs:
Images intégrées 2Images intégrées 1

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-06-26 16:16 GMT+02:00 goossens2009 <gooss...@gmail.com>:



Hello,

Looking for latest Arduino code sketch for Hand and Forarm. I have completed assembly of the right Hand and Forarm, I am using Towardpro MG996R for the wrist and Towardpro MG946R for the fingers. 

When testing I am unable to get all servos to operate, only one finger moves, there are six servos mounted. I have attached a picture of configuration for arduino uno.

Thanks for your help



--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.

gael langevin

unread,
Jun 26, 2017, 5:20:34 PM6/26/17
to goossens2009, InMoov
You can use this code for the Arduino.
Make sure to set your min and max for each servo.


Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.
motionfullPalaisTokyo.ino

goossens2009

unread,
Jun 26, 2017, 5:33:28 PM6/26/17
to InMoov, gooss...@gmail.com
Thank you - Gael

I will try this.

goossens2009

unread,
Jun 26, 2017, 6:08:54 PM6/26/17
to InMoov
Gael,
Thank you for your help.
I downloaded the code for the Arduino and made the correct connections for the wire pins, I ran Verify with no errors, but when I run Upload I received errors. There is no response from the servos, nothing is moving. I am no Arduino expert, do you know what the problem is? I have attached photos of configuration.
2017-06-26 16.57.38.jpg
2017-06-26 16.52.51.jpg

goossens2009

unread,
Jun 26, 2017, 6:14:28 PM6/26/17
to InMoov
I forgot to attach picture of error


On Monday, June 26, 2017 at 9:16:11 AM UTC-5, goossens2009 wrote:
2017-06-26 17.10.05.jpg

gael langevin

unread,
Jun 26, 2017, 7:00:44 PM6/26/17
to goossens2009, InMoov
Hello,
From what I see on your connections pictures is that you are trying to power the five servos with only the 4 batteries. That is really under power regarding the Amps supply.
With your set up you can power only one servo or maybe two, but I'm not even sure about that.
Try connecting only one servo to start. The sketch has a timer delay which you can reduce:

  relax() ;
  delay(500000);   //for ex: delay(4000)
  restart() ;
  delay(4000);

Now regarding the Arduino sketch, did you already upload a sketch to your arduino before? Is the Arduino driver installed?
If you never uploaded a sketch before, you might want to follow a tutorial here:
https://www.arduino.cc/en/Guide/HomePage

It seems your board is not responding, did you select the correct board in the Arduino IDE? Correct COM port in the IDE and in device manager?

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+unsubscribe@googlegroups.com.

Mats Önnerby

unread,
Jun 26, 2017, 7:01:39 PM6/26/17
to InMoov
The error seems to be with the upload of the code to your Arduino.
There are some settings that need to be correct to be able to upload to the Arduino.
You can find them under Tools in the Arduino compiler.
Make sure that you have selected the correct board, in your case: Arduino/Genuino Uno
Also check that you use the correct port. The one you use should show up in the dropdown list. 
And that you use the correct programmer. It should be ArduinoISP

What version of the Arduino IDE/Compiler are you using ?

goossens2009

unread,
Jun 27, 2017, 5:49:33 PM6/27/17
to InMoov
@Mats Önnerby,

Thank you for your help. I believe you are correct that the error is with the upload of the code to the Arduino. But I don't know how to fix this.
Using Tools/Programmer drop down list, I do not see ArduinolSP, am I looking in the right place?
I have the correct board selected Arduino/Genuino Uno, and I have the correct port selected.
I am working with Arduino software IDE 1.8.3, do I have the correct software?

goossens2009

unread,
Jun 27, 2017, 5:51:03 PM6/27/17
to InMoov


On Monday, June 26, 2017 at 6:01:39 PM UTC-5, Mats Önnerby wrote:
2017-06-27 16.43.17.jpg

gael langevin

unread,
Jun 27, 2017, 6:09:37 PM6/27/17
to goossens2009, InMoov
Hello,
You can try to download an older version of ArduinoIDE. for exemple the 1.6.
I already had some issues with the version 1.8 to upload a sketch on some Arduino Uno.
Some weird bugs...

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



goossens2009

unread,
Jun 27, 2017, 6:14:54 PM6/27/17
to InMoov, gooss...@gmail.com

Thanks - Gael

I will download older version of ArduinoIDE 1.6



On Tuesday, June 27, 2017 at 5:09:37 PM UTC-5, gael langevin wrote:
Hello,
You can try to download an older version of ArduinoIDE. for exemple the 1.6.
I already had some issues with the version 1.8 to upload a sketch on some Arduino Uno.
Some weird bugs...

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-06-27 23:51 GMT+02:00 goossens2009 <gooss...@gmail.com>:


On Monday, June 26, 2017 at 6:01:39 PM UTC-5, Mats Önnerby wrote:
The error seems to be with the upload of the code to your Arduino.
There are some settings that need to be correct to be able to upload to the Arduino.
You can find them under Tools in the Arduino compiler.
Make sure that you have selected the correct board, in your case: Arduino/Genuino Uno
Also check that you use the correct port. The one you use should show up in the dropdown list. 
And that you use the correct programmer. It should be ArduinoISP

What version of the Arduino IDE/Compiler are you using ?

--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages