Motor Control for Animatronic Head
Hello,
I am working on an Animatronic Head for Halloween this year. I want to use a RS-445PPA motor to control the head. The head will be able to rotate as if it's spine was the imaginary axis. The datasheet for this motor can be found here: www.mabuchi-motor.co.jp/cgi-bin/catalog/e_catalog.cgi?CAT_ID=rs_445papd. In order for the head to turn, the polarity of the motor must be changed. I wanted to use an SX 28 to do this but I am not sure how and I am also afraid that the motor will draw too much current and blow a pin on the SX. I don't want to have to use a motor controller but maybe I could use a relay or something. Can anybody help me?
-AJ
I am working on an Animatronic Head for Halloween this year. I want to use a RS-445PPA motor to control the head. The head will be able to rotate as if it's spine was the imaginary axis. The datasheet for this motor can be found here: www.mabuchi-motor.co.jp/cgi-bin/catalog/e_catalog.cgi?CAT_ID=rs_445papd. In order for the head to turn, the polarity of the motor must be changed. I wanted to use an SX 28 to do this but I am not sure how and I am also afraid that the motor will draw too much current and blow a pin on the SX. I don't want to have to use a motor controller but maybe I could use a relay or something. Can anybody help me?
-AJ
Comments
Here's the deal: That relay -- which will likely break your SX IO pin -- costs $3; if you put buffering in place (as you should -- see attached schematic) you're in it for about $4 for one channel of on or off control. An L293D costs $4 from Mouser and needs no additional components. Also, the L293D won't hurt your SX and will give you four channels of on/off or even PWM (proportional) control. You can combine two channels with PWM programming to give your motor speed and direction control, something you'll never get from a single relay. See the attached program for an example of SX software for motor speed and direction control.
Post Edited (JonnyMac) : 9/1/2008 11:13:45 PM GMT
Thanks for your kind comments.
That motor code is Mamba - Thanks
John Bond
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔