drjohn2k
Greetings! I'm totally new at this so please bear with me. I'm hoping to use one servo to operate an animatronic puppet mouth (the jaw is basically going to be an upside-down mousetrap on a pole, with a stiff wire connected to the servo). Here is how I've tried to program the EZ-B so far (although I'm sure I must be overlooking some things):
Servo(D0, 1) Servo(D0, 18) Servo(D0, 1) Servo(D0, 18) and repeat
You get the general idea it's supposed to just open and close (eventually, I'll get a little more sophisticated with the mouth movement!). Anyway, the servo sort of jumps back and forth a little when I run the program, but that's about it. Also, I can't seem to be able to save the program after I shut down the EZ-B. Any help would be greatly appreciated. Thanks!
John
:)
Hey John!
That sounds like a fun project There are these eyes you might be interested in also. I came across them a while ago on ebay. They'd be really easy to use too
You will need to delay between servo set commands. Try this...
What you can do also for the mouth to be a little more interactive is try this script out...
That must be what I was missing. I will give it a try. Many thanks!
No problem John.. I also just thought of this..
With that code, it will move to a random servo position. That'll be pretty sweet because the mouth will partially open and stuff. But it will always close.
I tried it and it worked! I'll continue building the mouth and then build the face around it. Pictures coming soon, hopefully. eyeroll Thanks again!
Face? Oh my! This is starting to sound cool!