Animatronic Talking Christmas Tree - Part 1

 by fjordcarver
Featured
In this Instrutable I will show you how to turn a regular cheap decorative artificial Christmas Tree into an awesome animatronic robot platform for the geek in the family.

In the second installment, I will show you how you can incorporate speech recognition.

It looks inconspicuously like a regular little Christmas tree, but then magically comes to life as a fun lovable talking robot!


Some things you might learn
  • How to animate just about anything with some imagination, an Arduino and some servos
  • How to control a servo with Arduino without using the servo library
  • Get your robot to receive serial commands
  • How to use Processing to send serial commands to your robot
  • Use the ttslib(text to speech) library in Processing to give your robot a voice
 
Remove these adsRemove these ads by Signing Up

Step 1: Gather Stuff


To make something similiar to this tree you will need a bunch of stuff and tools, and more importantly, a healthy dose of creativity and imagination.

Here is a list of the materials I used.
  • A small wireframe artificial tree - I got mine at the dollar store
  • x-mas tree covered wire - like the branches of the tree, also found at the dollar store
  • x-mas tree garland - also found in most dollar stores
  • a scrap of wood
  • a scrap of something thin and flat. card, wood, I used polysyrene
  • some craft paints
  • some styrofoam balls
  • craft foam sheet, white, small piece
  • garden wire, the kind that is coated in dark green plastic - dollar store
  • short piece of 1/4 inch copper piping, less than two inches - any small strong tube will do, a pen body even.
  • two servo motors
  • an Arduino (or a clone, I am using an RBBB)
  • a breadboard
  • hookup wire
  • two sets of Lynxmotion ball joints and threaded rod to match
  • A set of cheap battery operated Christmas lights
  • some male - male headers and some regular male headers
  • some Christmas decorations of a suitable scale for your tree.
Tools:
  • Hot glue gun
  • drill
  • hand  saw
  • x-acto knife
  • needle nose pliers
  • black marker
  • small philips screwdriver
  • pipe cutter
harrybeast says: Aug 13, 2012. 11:38 AM
were did you get the rbbb
dagaherz says: Dec 18, 2011. 6:41 PM
absolutely A W E S O M E ! ! !

(registered only to tell you)
fjordcarver (author) in reply to dagaherzDec 19, 2011. 7:39 AM
Thanks so much!!
acegoldstar says: Dec 18, 2011. 12:02 PM
Nice, almost like they ones they use to make.
fjordcarver (author) in reply to acegoldstarDec 19, 2011. 7:38 AM
Thanks.
techiebot says: Dec 18, 2011. 2:35 PM
Hi - and you've made a great, fun Instructable. Congratulations.

I am using a Mac running 10.4 - a power pc processor.

I have Mbrola working just fine with the three voices. What I don't seem to have is the Mbrola Tools that are in your code on this page. Did that unzip for Windows? Do I need an extra step to get it for Mac?

The other code is working just great! Congratulations again.
fjordcarver (author) in reply to techiebotDec 18, 2011. 2:58 PM
Mbrola tools is the windows version of the binary install, so if the processing sketches are running you have what you need.
If you liked this I think you will like part 2, coming soon.
Vote for me and maybe one day I will be able to try it on a Mac too!
Cheers, thanks for the compliment!
rrwood says: Dec 18, 2011. 6:15 AM
Great work!

I'd like to put up a pointer posting about this over at Wired Magazine's GeekDad blog. Would it be okay if I were to borrow a couple of your photos for the posting? Email me at gmail.com as "roy.wood" if you'd like to discuss....
fjordcarver (author) in reply to rrwoodDec 18, 2011. 8:24 AM
Please do, maybe link to the 'ible though. Share and enjoy.
If this is real and I see myself over on a blog at Wired.....well, it will certainly have me inspired to write up part two. Voice commands, feed reading and jokes.
askjerry says: Dec 18, 2011. 7:07 AM
Nicely done... but instead of a PC... you can get the Speakjet for the voice. You will have to putter around to get it to sound right... but it can also do sound effects and such. This way all you need is your small circuit board mounted in the base so it would be much more portable.

Speakjet: http://www.speakjet.com/

Another idea is to use the Radio Shack sound playback module... you would only have one phrase... but if triggered by an IR sensor when someone walks by... it could be a lot of fun.

Jerry
fjordcarver (author) in reply to askjerryDec 18, 2011. 8:19 AM
This is true, but I also have made the tree voice interactive. It tells me the time when I ask, the weather, and also tells jokes. I will be releasing an Instructable on how I have done this soon. Getting things working is quick, getting things cleaned up and organized to write about is more difficult. I have also been unsure as to how much to include.
Check the video on the last step if you want to see another animatronic I made telling jokes. It is a cool implementation in my opinion, as it is actually working with the person. So when it tells a knock knock joke, it is waiting for a response from you at each step.
I have wanted to play with a speakjet for a long time, and can think of many fun uses for one. To expensive for my blood though. I like to make things on the cheap or at least with what I already have.
check fjordcarver on youtube I have also done the IR sensor trigger with a zombie that says one of four things and activates a smoke machine.
Thanks for the input, great ideas that I will probably one day use to write another 'ible.
domestic_engineer says: Dec 15, 2011. 6:03 AM
love it!
I write for a blog called Geek Crafts, and I just included your awesome talking tree.
http://geekcrafts.com/robotic-christmas-tree/
fjordcarver (author) in reply to domestic_engineerDec 15, 2011. 6:39 AM
Cool! Thanks!
SHIFT! says: Dec 15, 2011. 12:56 AM
See THIS is why Christmas Trees always scare me. You think they're nice and jolly but they're secretly watching you. Waiting....
fjordcarver (author) in reply to SHIFT!Dec 15, 2011. 5:35 AM
....and they know when you have been naughty
sunshiine says: Dec 14, 2011. 9:00 PM
Thanks for sharing this awesome project. Very good instructions. Have a great day!
Sunshiine
fjordcarver (author) in reply to sunshiineDec 15, 2011. 5:34 AM
Share and enjoy!
janw says: Dec 14, 2011. 11:28 PM
I see a variable 'articulation' in you code with some numbers behind it. How does that work?
fjordcarver (author) in reply to janwDec 15, 2011. 5:34 AM
articulation is the string that is sent to the serial port. The Arduino interprets this and turns it into action. Example, if Arduino receives a 3, it will open the eyes. 7 turns the lights on, 6 off, 1-2 operate the mouth.
janw says: Dec 14, 2011. 11:23 PM
Great project and a super instructable!
ChrysN says: Dec 14, 2011. 6:23 PM
That looks awesome! Nicely done.
fjordcarver (author) in reply to ChrysNDec 14, 2011. 7:28 PM
Thanks!!:)
Robot Lover says: Dec 14, 2011. 4:50 PM
This is great! I love it so much! I will have to make one, too late this year. I will build it for next Christmas!
fjordcarver (author) in reply to Robot LoverDec 14, 2011. 5:12 PM
Cheers, thanks so much!
By the new year i will have posted the other half, (I decided it was too much to include) speech recognition. I wanted to also show people how to use the minim library to play mp3s (Christmas songs) and have him animate with them.
I was struggling with where to end it. But I felt it was a complete lesson as is. We'll see how the masses judge it.
Post a picture on my 'ible if you do please. Still haven't had that happen. (a post of a project on one of mine)
I was very excited about this one....as you know
fjordcarver (author) says: Dec 14, 2011. 4:31 PM
Cheers!
canucksgirl says: Dec 14, 2011. 4:30 PM
Hilarious! the voice is soooooo robotic, but I love it. what a great entry into the Advent Calendar.

Thanks for sharing. Great job!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!