Welcome to RatRodNation.com, it is great to meet everyone. If this is your first time to the site, please go into the forum and read the "How to use the forums" section, located under the "Introduce yourself to the Nation" section.
0 Members and 1 Guest are viewing this topic.
How are you going to actuate the various facial features? The linkage looks like you plan to use servos.Also what kind of control are you planning to use? Remote control? Arduino? Other?
that truck is really nice looking you did a great job on it
#include <Servo.h> Servo myservo2; // create servo object to control a servo Servo myservo4; // a maximum of eight servo objects can be created, I'm controlling 4 in this codeServo myservo7;Servo myservo8;int pos = 0; // variable to store the servo position int x; // used for countingvoid setup() { myservo2.attach(2); // attaches the servo on pin X of the Arduino Uno to the servo object myservo4.attach(4); myservo7.attach(7); myservo8.attach(8);} void loop() { for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees { // in steps of 1 degree myservo2.write(pos); // tell servo to go to position in variable 'pos' myservo4.write(pos); myservo7.write(pos); myservo8.write(pos); delay(15); // waits 15ms for the servo to reach the position } delay(25); for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees { myservo2.write(pos); // tell servo to go to position in variable 'pos' myservo4.write(pos); myservo7.write(pos); myservo8.write(pos); delay(15); // waits 15ms for the servo to reach the position } delay(25); for(pos = 0; pos < 180; pos += 1) //move one servo at a time { myservo2.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo4.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo7.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo8.write(pos); delay(15); } delay(25); for(pos = 180; pos>=1; pos-=1) //return one servo at a time { myservo2.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo4.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo7.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo8.write(pos); delay(15); } delay(25); for(pos = 0; pos < 180; pos += 1) //move one servo at a time { myservo2.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) //return one servo at a time { myservo2.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo4.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo4.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo7.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo7.write(pos); delay(15); } for(pos = 0; pos < 180; pos += 1) { myservo8.write(pos); delay(15); } for(pos = 180; pos>=1; pos-=1) { myservo8.write(pos); delay(15); } delay(25); }
Most regular servos use a standard analog PPM signal to operate. But some brands do vary in how they are driven. Digital, I2C, Serial, Zigbee, Wifi, RF, etc are used by different brands for different applications. Me, I would use regular analog servos like this one LINK as they are cheap and proven technology. This exact one should be good enough. A cheap radio like this one LINK should work. You really don't need fancy features, just enough channels to make it move. Shop around for the best price. So to answer your question, a regular RC radio will work with regular analog (PPM) servos. But not all servos will work with a regular RC radio. PPM = Pulse Position ModulationHere's a link to a servo tester LINK which is a cool tool to have when messing with servos. Plus at $4 who cares if you only use it once or twice.On the code above. It moves all 4 servos 180, then back to 0. Then it moves each servo one at a time to 180, then back to zero. Then loops. I forgot to add that to my previous post. I wrote it for a Halloween project. Me, I would go the Arduino route over using an RC radio. Because its nothing to add a flip switch to your dash to send 12v to the Arduino which makes the face move, then when driving shut it off. Arduino's and servos use nothing for power, so you should be able to leave it run for hours during a show without killing your car battery. Or just add a small battery to power it separate. But its your project so either way. Oh and I'm also a programmer.
@BobYou can get faster servos, but they cost a little bit more. But before you throw money at them consider the fact that you can make your face parts move faster by linkage advantage. So you might test with a regular servo, then try a different length arm for faster movement before buying faster servos.
No you should power them with a step down power supply. Something like this LINK Its an issue of filtering noise over simply dropping voltage. And actually I use this power supply more frequently than all others LINK But you have to solder this one together as its just a bag of parts and a bare PCB.Also I watched your video, the completed face is pretty cool. Once you get the servos installed you might consider some LED lighting on the face/eyes. Ebay has really cheap cut to length water proof LED strips. I've used them everywhere on countless projects. They are totally worth the money spent.
....and he just looks so dam happy! -lolBut seriously, I'm pretty picky on ratrods. Most of them I just don't relate to. This one is pretty amazing even without the animatronic skull head. Amazing job, sir.