Instructables
Picture of Talking Animatronic Robot Head
Img_4155.jpg
Img_4185.jpg
(Robot Contest Entry Catagory = 18+)

This instructable is about a talking animatronic robot head I built, which I call Robot Head 2.  To get an idea of Robot Head 2's functionality, click on the short video below or you can copy and paste the following link in your browser:

http://www.youtube.com/watch?v=AhPnrvdMArM

Robot Head 2 is a fairly complex animatronic.  I built him from scratch using the following items:

- plywood
- wooden knobs (for the eyes)
- doll eyes (the kind that move when you shake them)
- screws, nuts, bolts, & various other hardware items
- 1/8th inch brass rod
- misc. pieces of metal cut & bent to shape for various things
- latex (for the lips)
- various servos (the kind used in model cars & airplanes)
- wire -- lots of wire!
- one servo controller (MiniSSCII)
- powered computer speakers
- many, many electrical connectors of various configurations
- a large trunk
- wooden box (found at a thrift store)
- a clip-on lamp
- power strip
- an old cooling fan unit salvaged from a computer
- several extension cords
- a pair of old sunglasses
- a single-board computer (RAPU)
- compact flash card (used in the RAPU)
- one micro switch
- one plastic box (to house the RAPU)
- hot glue
- heat shrink tubing & electrician's tape
- varnish, paint, brushes, and rags to clean up the mess!

Tools used included:
- drills & drill bits
- bandsaw
- scroll saw
- wire stripers
- soldering gun & solder
- heat gun
- hot glue gun
- hammer, scredrivers, pliers, etc.

I had no plans when I began this project, other than a previous head that I built as a prototype (Robot Head 1 -- now disassembled).

The head stores in a trunk that I customized, and then mounts on top of the trunk when it is in use. 

This is a fairly complex project, but if you break it down into major goals, it becomes more doable.  So, the approach I will take is to tackle the head itself, the electronics, the other components, and the trunk it travels in and mounts on.
 
Remove these adsRemove these ads by Signing Up

Step 1: The Head

Picture of The Head
Img_4164.jpg
Img_4158.jpg
Img_4165.jpg
Img_4162.jpg
Img_4163.jpg
I built the head from 1/2 inch plywood.  First I made a cardboard head and jaw, and experimented with the design to ensure I could get the movement I wanted, make sure all the servos would have room to fit, and figure out the pivot points for the jaw and the head tilt.  This is where a laser engraver/cutter would have been very beneficial.  It would have been nice to be able to do all the design in a CAD program, then laser the design onto the wood.  But without one, I had to resort to my usual trial & error!

In each photo below I have tried to provide sufficient documentation on the role of each servo, and you can see visually how each servo connects to the component it controls.  Just do a mouse-over on each box to see the description / explanation.

Once all the wooden parts of the head were cut out and test-fitted with servos, I put a couple of coats of polyurethane varnish on the wooden parts.

Step 2: Electronics

The heart of Robot Head 2's electronics is the servo controller and the RAPU.  The servo controller takes serial signals from the RAPU and translates them into servo movements.

The RAPU takes programs I've written on a pc and stores both the movement commands and the audio portion.  The RAPU was not entirely necessary.  I could have used a pc to do this task, but that would have required me to either carry a laptop with me when Robot Head 2 travels.  I chose to go with the little single board computer for efficiency.  I program each routine on a pc, then download it to a compact flash card on the RAPU and run it from there.

All power supplies and the powered computer speakers are housed in the black wooden box beneath the head.  Although you can't see it in this photo, a fan in the box immediately beneath the head continually pulls cooling air through here to dissipate any heat buildup.

I cut holes in the front of the power supply box to keep the speakers from sticking out too far, and fastened them in with hot glue.  In the last photo below, you will see a small piece of wood with a slot in it just above the center of the speakers.  This is where I mount the spotlight.

Step 3: The Spotlight

Img_4186.jpg
Img_4175.jpg
Img_4176.jpg
The spotlight is more than just for illumination.  Because I can control its on/off position via programming, I can also use it to augment a routine.  For example, if I want to include the sound of thunder in a routine, I can also flash this light on and off to mimic lightening.  Although I generally have it come on at the beginning of a routine, sometimes I turn it off or flash it for effect.

The spotlight is made from a cheap clamp-on light which I tore apart and attached to a piece of "mystery metal" I found in my shop.  At the other end I attached an angle brace, which allows me to mount the light by sliding this angled bracket into the slot I built above the speakers (shown in the 2nd photo).

This light is controlled by a servo that opens/closes a micro switch that is in the box in the third photo.  I built this switching unit to control the light and one other thing (to be decided in the future).  I could have built this inside the power supply box, however it was sort of an afterthought.  So, I made it removable for packing and traveling.

The switch box mounts on the back of the robot head's base and attaches to a servo control cable that sticks out of the back.

On the back of the unit I've also labeled some of the other connection/control points, including the serial connection (goes to the servo controller from the RAPU), the audio-in port (also connects to the RAPU), the master on/off switch, the main power input (goes to the power supplies), and the exhaust fan.

Step 4: Setting up the Robot Head

Img_4173.jpg
Img_4182.jpg
Setting up the robot head is reasonably simple.  The first thing I do is remover the robot head and all its accessories from the trunk and attach it to the top with two locking bolts (photo 1 & 2).  These endure the mounted head will not fall off in case someone gets careless around it.

Next, I attach a power strip to the back of the trunk.  All incoming power will come through this strip.

I then attach the RAPU unit to the back.  A bracket on the wood case simply slides into a bracket I have mounted on the back of the trunk.  Then I plug in the RAPU power supply, and plug in the serial connection and the audio cable into the back of the case that holds the other power supplies.  Since the serial communications used by the RAPU only use two wires, I made my own serial cable from an old telephone cord.  That way I was able to use a phone jack instead of a 9 pin serial plug & socket.  The audio wire is then plugged in (I used a stereo phone jack and cord.

Next, I plug in the power cable that powers all the power supplies in the power supply case (it is the cord with the yellow plug).  The last thing I do is attach the spotlight and the spotlight servo switch, plug the power strip into an outlet and I'm ready to go!

Near the upper right of the 3rd photo you will see a white plug dangling down.  This is an additional serial connection to power a 2nd animatronic device (like the small one in the video).  I only use this when I'm using a 2nd device -- otherwise it just dangles in the back.

I also have two security plates mounted -- one on the power supply box and one on the trunk.  If I have to leave the robot head unattended in a public place, I use a laptop lock to secure the unit.

Step 5: Making the trunk

Picture of Making the trunk
Img_4155.jpg
Img_4157.jpg
Img_4190.jpg
Img_4193.jpg
Img_4191.jpg
Modifying a trunk to hold everything was a challenge in itself.  I started with a new trunk, and continued to play around with modifications until I was satisfied that  it would provide a safe "home" for Robot Head 2, and would hold everything I need to make him come alive!

In the 1st photo I have shown where all the components are stored.  EVERYTHING, including a big yellow extension cord that I sometimes need fits inside the trunk.  Pretty much every bit of space is used, including the space provided by the lid.

The 4th photo shows the inside of the trunk with the head removed.  At the back of the trunk I hot glued a "custom" piece of semi-ridged foam (from a shipping box).  This keeps the movable part of the head from flopping around when it is being transported. 

On the left and right sides of the trunk's opening, you can see some black painted wood reinforcement.  I thought the original trunk was not quite ridged enough when the lid was opened, so I added these pieces to add stiffness. 

At the bottom is a shelf.  This gives me enough clearance to house the robot head and to have an area underneath for storage.

This trunk came with a fairly weak set of wheels, so I removed them and added industrial casters.  The casters at the rear are in a fixed position and the front casters swivel. 

In hindsight, I wish I had done more planning for the trunk.  While I am happy with the way it ultimately came out, I went through numerous renditions before I got it right. 

And finally, you probably noticed a lot of stickers on the trunk.  These are duplications of old travel stickers I found on the internet.  I printed them, laminated them with clear film, attached double-sided carpet tape to the back, cut them out, and stuck them on.  I figured they would sort of give the trunk a nice, interesting look.

Step 6: Programming

Picture of Programming

The subject of programming the head is a bit too detailed to go into on an instructable, but here is the process I use.

First, I begin by writing the dialog in Microsoft Word.  Next, I use a text-to-speech utility to convert the written dialog to a spoken dialog.  The end result of this process is an mp3 file.

Next I use an audio editor to add in any sound effects that I want to use with the dialog (phone ringing, siren in the background, knock at the door, etc.).  Once I have the audio file completed, I then use a program that allows me to position each servo while both hearing and visually seeing the audio file.  It generally takes me about an hour to program a minute's worth of movement.  Interestingly enough, programming the mouth's movement is not the most difficult part.  The most difficult part is programing all the other movements, because when a person talks, there are a lot of subtle movements that go along with their mouth movements -- all of which become a person's expression.

For example, when you ask a question, you might raise your eyes slightly and simultaneously turn and raise your entire head.  If you go back and view the video listed in the introduction you will see what I mean.  All these slight, subtle movements is what makes the animatronic look like he has real expressions.

Once I finish all the programing of the servos, I then download both the servo control file and the mp3 file as a single control file onto a compact flash card.  I then put this card into the RAPU, and Robot Head 2 comes "alive!"

There are a lot of web sites relating to animatronics.  If you're interested, Google is your friend.

Step 7: Having fun.....!

I had a lot of fun designing and building this animatronic talking head.  In addition to taking him to parties, he's also been to a family reunion (where he talked about his own ancestors -- they were powered by steam, you know), he has spoken to 1,000 sales managers at a sales convention, and he has been at a number of schools, where he usually talks to them about technology.

I guess my favorite place to take him is to elementary schools.  Kids literally sit on the edge of their seat while Robot Head 2 performs.  With kids, he always starts out by telling them a little about himself (usually a funny story), then he talks to them about technology (generally via a story about some gadget he owned or used, or knew of personally), and then finishes by encouraging the kids to study hard in school.  When he is finished, he tells them goodbye, yawns, then closes his eyes and begins snoring loudly!

I hope you've enjoyed this project.  It may seem a bit overwhelming on the surface, but keep in mind all that makes up any animatronic  is sound and movement.  In terms of building one, it is good to start simple (my very first one had one servo), then build up to more complicated undertakings. 


camcam08923 days ago
What I want to know is where you got that cool circuit board wall paper or whatever it is
knife141 (author)  camcam08923 days ago
It was a background drape at a national sales meeting, and was provided by a graphics company. I have no idea of its source.
64001 year ago
to Mr.knife141 >> I am very interested in what you have created. presumably can you share how to make the robot and the robot code? please help me

thx
knife141 (author)  64001 year ago
How to make the robot is documented in the instructable. I would suggest you go back and read the words as opposed to simply looking at the photos. As for the code, I explain the approach I took in one of the steps of the instructable. The actual code would be meaningless to you, because it is entirely dependent on the dialog and and the movements required by the particular dialog.
6400 knife1411 year ago
What references do you use?

thank you
jtehshiz1 year ago
Knife141, could you build a program like Siri, it'd be quite complex but I'm willing to pay
knife141 (author)  jtehshiz1 year ago
I have no interest in building such a program, but I think Apple has one.
64001 year ago
to Mr.knife141 >> I am very interested in what you have created. presumably can you share how to make the robot and the robot code? please help me

thx
I want to build animatronics for a living what do I go to school for
knife141 (author)  MechAtronicsMan1 year ago
Sorry, can't really help you with that. I am self-taught when it comes to animatronics. Someone on staff in the computer science and/or engineering department at university could probably shed some light on the subject. Good luck!
shika222 years ago
can i have the code plz
This is awesome. Did you make a video? If so I would love to see it. Great job!
knife141 (author)  Kaptain Kool3 years ago
A video was included in the introduction (it is beneath the photos). I also included a link to the video in youtube in the text of the introduction.
Oh!! I see it now. Thanks!
djsfantasi3 years ago
HI, how do you get your demonstration dates? Do you advertise or is it through word of mouth? I want to take my animatronic, Peter Penguin, on tour.
knife141 (author)  djsfantasi3 years ago
I do a lot of volunteer gigs with Robot Head 2 -- mostly schools, church activities, etc. Doing some freebies tends to get the word out. Elementary schools are a great place to start. Find a teacher and let them know you're available (free of charge) to give their students a demo when they start a unit on inventors, or science, simple machines, etc. If you're interested in eventually getting more exposure, leave each student a photo of your device with some contact info.
Great idea! Thanks. I used to do a lot at the elementary schools when my kids were young and my sister is now a teacher there. I think that will be a good place to start.
knife141 (author) 3 years ago
Thanks for the kind words! I change the sound file based on the routine. Sometimes I give him a British accent, or U.S. accent, man's, woman's, etc. I thought about making his head a bit more "realistic," but decided it would be a better challenge to keep the head simply out of wood and use the movements to generate expressions. It's a bit harder, but in person people are really surprised that a simple wooden head can appear to have expressions. Thanks again for the comments.
To reply to someones comment hit the reply button in the bottom right corner below the comment, otherwise the commenter will not receive your reply.

Nice instructable!!
knife141 (author)  DrWilson3 years ago
Thanks for the info. Just learned something new!
No problem :')
knife141 (author) 3 years ago
A video was included in the introduction (it is beneath the photos). I also included a link to the video in youtube in the text of the introduction.
Nanovirus3 years ago
This was fantastic. The quality is actually quite stunning. Despite the really scary appearance I think that this could really go somewhere. Fill in the models with some kinds of fabrics or other malleable materials a little more appealing to kids.

Great work!

p.s. Didn't like how preachy the sound file was though.