Servo control for articulating neck?

993 views
Skip to first unread message

Don Wind

unread,
Nov 29, 2017, 3:10:53 PM11/29/17
to InMoov

I'm using the nervo boards from the website, and noticed there is no connection for the articulating neck servos. Is it common practice to add another arduino for the articulating neck? Is there a web page or video that addresses the servo control for the articulating neck servos? Those servos are physically close enough to the arduinos to run an extra wire to a free pwm pin. Please advise me on how others are approaching this problem. Thnks again , Don

gael langevin

unread,
Nov 30, 2017, 4:36:35 AM11/30/17
to Don Wind, InMoov
Hello,
If you are building a full InMoov, the Nervo Boards have the pins for the neck and rothead, the second Nervo bard has the spare pins which can be used for the Rollneck (articulated neck)
We have implemented InMoov service for Rollneck to use only one servo and the other is a slave(like for the TopStomach servo). By default it is set on pin 30, which needs to be changed in the advanced section if you use the pin 12 of neck. You can also determine on which Nervo board you wish to connect the Rollneck servo(left or right)
https://github.com/MyRobotLab/inmoov/blob/master/InMoov/config/skeleton_head.config.default
[MAIN]
isHeadActivated=True

[ROLLNECKSERVO]
isrollneckactivated = True
RollNeckArduino=right
;RollNeckArduino=left or right

[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
jaw=10
eyeX=60
eyeY=50
neck=20
rothead=30
rollneck=20

[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
jaw=25
eyeX=100
eyeY=100
neck=160
rothead=150
rollneck=170

-------------------Advanced---------
[SERVO_PIN] jaw=26 eyeX=22 eyeY=24 neck=12 rothead=13 rollneck=12

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



2017-11-29 21:10 GMT+01:00 Don Wind <dtwi...@gmail.com>:

I'm using the nervo boards from the website, and noticed there is no connection for the articulating neck servos. Is it common practice to add another arduino for the articulating neck? Is there a web page or video that addresses the servo control for the articulating neck servos? Those servos are physically close enough to the arduinos to run an extra wire to a free pwm pin. Please advise me on how others are approaching this problem. Thnks again , Don

--
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.

Roger

unread,
Aug 17, 2019, 12:15:00 AM8/17/19
to InMoov
Hi Gael, 

I'm trying to get the articulating neck working following your script but not going anywhere since spending hours and hours, 

I had attached screenshots of MRL and also images of the neck, 

the problem is the rollneck does turn (one motor is turning clockwise and the other motor turning anticlockwise but the head is not moving left and right, on pin 12 of the right arduino

I tried to move the articulating neck in MRL (but the head does not move up and down ) on pin 12 of the left arduino...., 

Please let me know as what I'm missing or what I done wrong , 

I'm confused alot, 

also, attached is the config of the head I used...., 

Thank you for your help!
 
Kind Regards, 
Roger


To unsubscribe from this group and stop receiving emails from it, send an email to inm...@googlegroups.com.
IMG_5196.JPG
IMG_5197.JPG
IMG_5199.JPG
IMG_5200.JPG
rollneckpin12right.jpg
headneckpin12left.jpg
skeleton_head.config

Roger

unread,
Aug 17, 2019, 1:17:09 AM8/17/19
to InMoov
Hi All, Gael, 

Below are two video links which describe the issue I'm having with the neck:



Thank you for your help, 

Kind Regards, 
Roger


On Thursday, November 30, 2017 at 8:36:35 PM UTC+11, gael langevin wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to inm...@googlegroups.com.

Ash InMoov

unread,
Aug 17, 2019, 5:24:52 AM8/17/19
to InMoov
Hi Roger,
The neckpiston must not turn, just put a screw here...

Ash InMoov

unread,
Aug 17, 2019, 5:48:23 AM8/17/19
to InMoov
Sorry, i can’t put a photo,
Put a screw between neckpiston and neckplatehigh
But before, you must adjust or caliber your servomotor

gael langevin

unread,
Aug 20, 2019, 3:38:52 PM8/20/19
to inm...@googlegroups.com
Hello,
I will confirm what Ash is saying.
First make sure your side RollNeck servos are mounted this way:

RollNeck_servo.png

On your video and pictures, I can see you have mounted one of the side RollNeck servo the wrong way.

Then you need to put screws on each pistons to make sure the ball doesn't rotate inside it's socket, otherwise it will never work.

RollNeck_servo2.png


Then in your head config you need to modify this, but looking at your posted images, it seems you did it already:
[ROLLNECKSERVO]
isrollneckactivated = True
RollNeckArduino=right

This is to make sure the pin 12 for RollNeck is used on the right Arduino.
And the pin 12 for up and down Neck is used on the left Arduino.

Roger

unread,
Aug 20, 2019, 9:48:11 PM8/20/19
to InMoov
Hello Gael, Ash, 

Thank you for your reply on my issue, and you even placed the photos, that's so awesome, so clear

(because I was going to ask you if I should place the screen there (where you circled) and your photos spoke it all. 

it looks like a small screw you put there on the piston, if I put in a M3 short screw , will that be ok? 

just want to make sure I'm not breaking the ball while screwing it in, 


I look forward to your reply and thank you as always!

Kind Regards, 
Roger

gael langevin

unread,
Aug 21, 2019, 3:25:30 AM8/21/19
to Roger, InMoov
Yes 3M is the correct diameter.
Note that there is a whole to receive the screws in each ball, which defines the position of the piston.

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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inmoov/8fe19f58-eaba-4b2d-a4d2-e4bcebbe7b0d%40googlegroups.com.

Roger

unread,
Aug 21, 2019, 5:13:25 AM8/21/19
to InMoov
Hi Gael,

Thank you for your confirmation of the screw size and also
The hole as well, you made it very clear, I'm going to
Try it out and update here.

Thank you for your help always!!

Kind Regards
Roger

Roger

unread,
Aug 28, 2019, 12:11:12 AM8/28/19
to InMoov
Hi Gael, 

I followed your instructions , putting a screw on each piston and then assembled them back again, fixed 
the servo position too. 

I have attached 3 images, please let me know if it looks correct or not, 

However, one photo (attached) called Inmoovbackofneck  ,  I have highlighted some parts in red circle, 
I spent the whole night last night trying to get it straight or perfectly balance the "neckplatehigh" on the pistons) but I couldn't, 

any advise to get both of the back two pistons in a balance position please (or making the neckplatehigh part looks balanced? I had highlighted the unbalanced part in the picture. (I had also set the servos 
to all 90 degrees first before I attach the pistons to the servo)... 

Thank you for your help as always!



Kind Regards, 
Roger



To unsubscribe from this group and stop receiving emails from it, send an email to inm...@googlegroups.com.
InMoovbackofneck.jpg
InMoovfront.jpg
InMoovside.jpg

gael langevin

unread,
Aug 28, 2019, 2:13:07 PM8/28/19
to Roger, InMoov
Hello,
Make sure these two parts are lued to gether and aligned straight.
I have put two ugly red arrows to show the two parts.
photoArrow.jpg
If these parts aren't glued together, it is very difficult to align the head, because it constantly change the NeckPlate of position.
Note that achieving a perfect straight head is almost impossible, because of the whole concept.
Save your nights for sleeping.
:)

Gael Langevin
Creator of InMoov

To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inmoov/aaad618e-c102-44dc-9c31-e65dda416bfb%40googlegroups.com.

Roger

unread,
Aug 28, 2019, 11:42:38 PM8/28/19
to InMoov
Thank you very much Gael and for your detailed explainations
And diagrams, I get it now and tonight I can go to bed earlier :)
By the way your arrows are nice , not ugly at all, I use the free greenshot on google as well for them.

I can move on to testing the shoulders and arms now:)

Thank you for your help as always,
Kind Regards
Roger

Roger

unread,
Aug 30, 2019, 11:47:33 PM8/30/19
to InMoov
Hi Gael, 

Would like to let you know that the neck is moving now besides the eyes is always looking to the right, not sure why..., 

Thank you for your help as always! Loving InMoov and this project! 


Kind Regards, 
Roger

gael langevin

unread,
Aug 31, 2019, 4:03:08 AM8/31/19
to Roger, InMoov
Great news for the Neck!
I had created a gesture to check the Neck tilting, but I can't remember if I had add it into Manticore.
The voice command is: "check your neck" or "please check your neck".

The eyes staying to the right side can be the result of various things:
1-Your servo was not set at 90 when the eyes were centered during assembly.
2-You need to modify the config file to adjust the mappings of the eyes.
3-The mechanism is stiff (too tight) for the servo to operate fully.
4-The servo burned out.

I noticed in your video that the jaw is staying open when talking, which shouldn't be.
Maybe it's only a matter of software configuration.
Check your head config file and modify this line:
MouthControlJawMax=100
modify to this:
MouthControlJawMax=180

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inmoov/fe8ac470-2c04-4ece-97a4-9241ed53e2fd%40googlegroups.com.

Roger

unread,
Aug 31, 2019, 4:46:55 AM8/31/19
to InMoov
Hi Gael,

The voice command definitely sounds awesome and yea for the
Eye, the advices are great, I will definitely have a check up
On them and fix

Thank you for your help as always,

I also have issues trying to get the omoplate (shoulder part)
Into its rest position which I will post it up soon


Thanks
Kind Regards
Roger

Reply all
Reply to author
Forward
0 new messages