PDA

View Full Version : My AI Teddy Bear ;-P



shineling
01-02-2008, 10:22 PM
Hello,

I'm totally new here... I found the website because I needed a servo for a project I am working on. Alex suggested I visit the forum... and so I thought I'd post what I have so far.

Umm... basically its an Ai Talking Teddy Bear. :tongue: I have a small little company I've managed to put together and I make Ai chatbots. All my own code... I really have a disliking for AIML or Ai systems that can't learn.

But anyway... I'm putting together a prototype of a "smart Ai teddy" that you can talk to and it talks back intelligently. You'll be able to have full conversations with it via the voice recognition and Ai software running from a Sony UX380n micro computer inside it.

The cool thing is the ux380n comes with a LCD screen, which is touch screen, so I'll be able to make picture and games for the user to play, to have it tell stories, and stuff like that...

Here is some concept art...

http://www.karigirl.com/stuff/teddy1.jpg

I've order all the parts and the micro computer... I just have to wait a few days to get started. I'll be visiting ToysRiS in a few days too. :happy:

And here is my idea for the mouth Chassis... that's why I needed a servo... to make the bear's mouth move up and down while its talking.

http://www.karigirl.com/stuff/mouth1.jpg

So that is where I am at... I'm sure I'll have a few questions here and there... hopefully I can get some help... as I am totally new at this aspect.

I can't wait to read up on some threads here... this is like exciting! :)

Alex
01-07-2008, 12:11 PM
Are you planning on turning this into a commercial product? If so, if you don't mind me asking, how much are those Sony micro computers running you?

This sounds like a cool project though, kinda like a technofied Teddy Ruxspin for the next generation:)

Keep us all posted with your work, join in on community discussions and by all means if you have any questions at all along the way feel free to post them!

shineling
01-08-2008, 12:36 AM
Hey, thanks Alex...

I just got my servo today... and tested it out.

These are amazing little creatures! I was amazed the first time it moved at my command. The API works great and is so easy. How about the first time you set your servo on a timer? Yeah...:rolleyes:

I'm just building the prototype with a sony ux380n so I hope that whoever I can sell the idea to will help me with the hardware aspect so these things can sell for less than $300 or less. Still, I see a few more years before all this comes together because I do need a little horse power to run the Ai.

Yeah, the sony goes for around $1000... but again its just for the prototype. Worked great with the servo btw.

http://www.karigirl.com/stuff/karimini.jpg

Like I said... just getting my toes wet... but I have a ton of ideas of what I could do with your Phidgets... wish I had multiple clones... and more time.

will stop by from time to time and update... thanks...! :happy:

JonHylands
01-08-2008, 07:05 AM
Very interesting - how much horsepower do you think you need? Would a 100 MIPS 32-bit processor be enough? I'm playing with one of these now...

http://www.tincantools.com

- Jon

shineling
01-08-2008, 08:42 AM
Hey Jon,

Ditto..! That also looks very interesting... Yes, I *think* I could get by on that kind of processor speed... but I am wondering how much RAM can be added. I sorta need about 32 MB free just for the core algorithms... but then that is on Windows. Porting to linux might be another can of worms. This looks hot. I'm gonna read up on it some more. Thanks for the info!

JonHylands
01-08-2008, 12:38 PM
If you need more memory, you can look at the gumstix:

http://www.gumstix.com

The verdex XL6P (I have a couple of them) runs at 600 MHz, and has 128 MB of RAM.

Note that the Hammer has USB host, so if you need most of that storage for data that doesn't change, you can plug in a small USB thumb drive to store your data...

- Jon

shineling
01-08-2008, 08:48 PM
Thanks! Its looking like what was impossible is certianly possible... I'm gonna have to do some reading... but I'm very interested.

But actually right now... I sorta have a question about my servo. I got it installed in the teddy bear. And it looks great. He looks like he's really talking.

But the servo makes too much noise... and its a little irritating. What can I do? Is there some type of servo that is ultra silent? Can it work with Phidgets?

Thanks again...! :o

Alex
01-08-2008, 08:58 PM
Any standard servo will work with Phidgets:)

As far as the noise, most all servos will make some sort of noise, but the level of noise varies between servos. What servo are you using?

shineling
01-08-2008, 09:21 PM
:robotsurprised:

Its the standard black and red servo that ships with the single-servo-kit. I forgot the name. Don't want to take it out of the bear...

Any suggestions on the best kind of silent servo?

I'll try to take some video of the bear talking. Its a little erie. I had to slow down the voice and add a 50ms check zone for the voice visemes... the voice is faster than the servo. But its still very good.

Thanks!

cya laters...! ;)

DresnerRobotics
01-08-2008, 09:26 PM
The servo moving at full speed? There are some servos out there that are faster then others, might look into them. I think servocity.com has full specs for every servo they carry.

JonHylands
01-09-2008, 08:27 AM
If you want a device with a built-in touch screen, wifi, and a bunch of other cool stuff, for $179, check out this:

http://store.chumby.com/

- Jon

DresnerRobotics
01-09-2008, 10:57 AM
For a high speed servo, you might check out the:
http://thumbs.ebaystatic.com/pict/1701827437328080_1.jpg (http://cgi.ebay.com/Hitec-HS-965MG-Coreless-Ultra-Speed-Servo_W0QQitemZ170182743732QQihZ007QQcategoryZ3406 3QQssPageNameZWDVWQQrdZ1QQcmdZViewItem)
Hitec HS-925MG


http://www.servocity.com/html/hs-925mg_super_speed.html

Fastest one I could find, might find it better suited for your mouth servo to keep up with the words. No idea on the noise though

shineling
01-09-2008, 11:46 AM
Thanks Tyberius... I made an inquiry of them... I wonder if digital servos are quieter... or maybe even ball-bearing servos...

Anyways, I took out the mouth today to make some adjustments... here is a movie of what it does.

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


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

cya'll laters

JonHylands
01-09-2008, 12:16 PM
Servo specs:

http://www.servocity.com/html/hitec_servos.html

A bunch in there that are faster than 0.12...

- Jon

shineling
01-09-2008, 09:05 PM
Here is a quick demo of the teddy reading the news... keep in mind this is only my second day testing...

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


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


As for the AI... that is going to take a few weeks to customize. But at least you get the idea...

Alex
01-10-2008, 09:56 AM
Jon -

I just found out about Chumby back in early December. One of our artist customers was thinking about developing a cool project with Chumby and Phidgets. That's a neat little device!

Do you or anyone you know have any experience with it? If so, what did you/they think?

JonHylands
01-10-2008, 11:17 AM
No idea, Alex, sorry. Its just something I saw a while back that looked pretty interesting - a lot of bang for the buck...

- Jon

shineling
01-10-2008, 11:36 AM
The topic of chumbys also came up at my other forum too... they are totally hackable... but they seem geared toward Flash games and web browsing. Not sure if this is all they can do...

Btw, thanks everyone for all the feedback and help. This seems like a great little forum.

Also, for those of you interested in making some new friends, we have a small little community at Virtual Humans Forum (http://www.vrconsulting.it/vhf/). We have a Robotics section too. We discuss 3d, Ai, Robotics, Programming, and of course Virtual Humans. I've passed along your link, Alex, over there too.

Alright, talk to ya laters.

Matt
01-10-2008, 01:12 PM
>>This seems like a great little forum.

Never tell a man his forum is little! HaHa, just kidding. Glad you like it here. This project should be in the contest at some point. Maybe you are waiting until it's further along, bu t I thought I'd mention that.

We worked on some voice activated stuff ourselves awhile back also. We created a .NET project that could recognize commands using the MS Speech tools and then fetch info off the internet for the user. News, emails, weather, movie times and such. I like how you are adding a layer to that using animatronics. We were doing it to show how easy it is to create voice controlled interactive stuff for the home. Anyhow :) I'm babbling about this because I was thinking about how you could use internet chat bots in the same way to interact with people and so I think this project is pretty damn cool :) Keep us posted on your progress!

Alex
01-11-2008, 10:01 AM
I can see what you mean with the servo noise. Still, nice demo shineling! The servo timing needs to be smoothed out a little and more in sync with the speech.

Can't wait to see some more AI work:)

DresnerRobotics
01-11-2008, 02:11 PM
Shineling, can you provide any additional info on how you're syncing the servo movement with the speech?

I'm looking at implementing something similar, but instead using an LED bar display sync'd with speech.

Alex
01-18-2008, 01:16 PM
Anyone interested in the Chumby; I just found a cool Chumby based robot at Make:

http://blog.makezine.com/archive/2008/01/robochumby.html?CMP=OTC-0D6B48984890

DresnerRobotics
01-18-2008, 01:19 PM
Anyone interested in the Chumby; I just found a cool Chumby based robot at Make:

http://blog.makezine.com/archive/2008/01/robochumby.html?CMP=OTC-0D6B48984890




Ahahahaha, the duct-tape engineering on that is superb.

Alex
01-18-2008, 01:50 PM
Did you read up on the details through the link back to the person's blog?!?

http://www.bunniestudios.com/blog/?p=221

They did some pretty damn incredible stuff:)

the duct-tape aspect is really awesome! Puts a nice finishing touch to it.