Motorized Iron Man Mark 6 Helmet WIP

Re: Motorized Iron Man Mark 6 Helmet

This is very interesting and original. Have yet to see it done with gears. Please keep us informed this is great idea and hope it works out!
 
Re: Motorized Iron Man Mark 6 Helmet

very ambitious.
where theres a will, theres a way.

i think there could be a problem with delay and speed between the moving parts to move out and move in together in sync, which will require many different gear ratios and teeth
 
Re: Motorized Iron Man Mark 6 Helmet

A little update: I got the wiring done but I accidentally downloaded the wrong driver software for the controller, so once I get that fixed it should be good to go. :)
(I will post the material I used when I know they work)
 
Last edited:
Re: Motorized Iron Man Mark 6 Helmet

It looks like someone beat me to it, I hope you guys are still intersted.
So the materials I used are
Arduino Nano
HC-SR04
2 gear motors
400-point breadboard
TB6612FNG motor driver
jumper wires
And a link to show you how to put it all together
MeanPC - Arduino, MSP430, Robots and hobby electronics.: How to use the TB6612FNG motor driver with the Arduino for noobs

I only know JAVA programming so the code is a compilation of the ones I found on-line and my own little if-statement
Code:
// combined code from 
//http://www.meanpc.com/2012/10/affordabot-4-uploading-code-and-first.html
//http://trollmaker.com/article3/arduino-and-hc-sr04-ultrasonic-sensor
//define all pin numbers
const int  PWMA =10;
const int  AIN1= 6;
const int  AIN2= 7;
const int  PWMB= 11;
const int  BIN1= 8;
const int  BIN2= 9;
const int trig = 7;
const int echo=8;
void setup() 
  {  
  pinMode(PWMA,OUTPUT);
  pinMode(AIN1,OUTPUT);
  pinMode(AIN2,OUTPUT);
  pinMode(PWMB,OUTPUT);
  pinMode(BIN1,OUTPUT);
  pinMode(BIN2,OUTPUT);
  pinMode(trig, OUTPUT);
  pinMode(echo, INPUT);
    Serial.begin(9600);
  }

void loop() {  
double distance=distanceToSensor();  // calls the distanceToSensor method and sets it the the variable distance
  if(distance>=3){ // if distance is greater than 3 centimeters it calls the goforward method opening the helmet
  goForward();
  delay(2000);// waits 2 seconds
  }else{ // if it is less than 3 centimeters it calls the goBackward method to close the helmet
    goBackward();
    delay(2000); // waits to senconds
  }
  }
//method to open helmet, does not need to return anything
// these two are copied from meanpc
void goForward ()
  {  
  digitalWrite (AIN1,HIGH);  
  digitalWrite (AIN2,LOW);  
  analogWrite(PWMA,234);  
  digitalWrite (BIN1,HIGH);  
  digitalWrite (BIN2,LOW);  
  analogWrite(PWMB,255);  
  }
//method to close helmet, does not need to return anything
void goBackward ()
  {  
  digitalWrite (AIN1,LOW);  
  digitalWrite (AIN2,HIGH);  
  analogWrite(PWMA,233);  
  digitalWrite (BIN1,LOW);  
  digitalWrite (BIN2,HIGH);  
  analogWrite(PWMB,255);  
  }
  // this method cannot be void or else it cannot return anything
  // I set it to double so it can return a decimal
  // copied from trollmaker, but I edited it a little
double distanceToSensor()
{
  long duration, cm;
  digitalWrite(trig, HIGH);
  delayMicroseconds(1000);
  digitalWrite(trig, LOW);
  duration = pulseIn(echo, HIGH);
cm = (duration/2) / 29.1;
   return cm;
}

It compiles no errors but when I upload it to the arduino the computer says it is out of sync, even though I downloaded the driver software- Any advice?

Also a build related question, I wanted to harden the helmet but I cant use fiberglass and bondo. So I was wondering if Apoxie sculpt would work, has anyone tried this?
 
Re: Motorized Iron Man Mark 6 Helmet

No one is still interested?
Let me rephrase my question- do you think apoxie sculpt is a good hardener for a cardboard helmet?
My way with words is bad.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

Why not fiberglass and bondo? Cardboard won't take damage from the resin,it will act just like normal paper...
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

did you get your Arduino error fixed?
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

A helmet that closed/opened like that would be insane - keep us posted
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

Extremely ambitious. Altho, if this gets done, It'll literally be the most cool helmet on planet Earth.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

Thanks for the idea teragon.
MrTropical, I cant use fiberglass and bondo, I'm only 15 my mom wont let me, plus its snowing where I live.
xlp7, I have not fixed it yet.
I have been reading concerns about this idea, and I can assure you I have already thought of these and come up with a solution.
For it being time consuming, the thing that took me the longest so far was the helmet.
I have thought about hair being caught and I do have a solution for that.
Also it takes up as much space as the motorized faceplate components do.
I was hoping people would use or improve on this idea and add it to the faceplate to make a fully functional helmet like it is in the movie.
I am just trying to say it is not an on the fly idea, it's well thought out.
 
Last edited:
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

hi-

regarding Arduino error...

how are you trying to upload you sketches? usb? FTDI cable?
Can you get the basic BLINK sketch to upload/work?

What board setting do you have chosen in the IDE? (correct serial port too?) :)

just trying to cover the basics.. so you can get up and running on you project. :)



regarding the project itself..

the only part I see as an obstacle would be the circular parts that are rotating over the 'ears'.. is moving those 'inwards' toward the head.. as they would need to take up some room inside.. and probably have the 'track' itself built into the piece..


2 x servos per 'ear'
1 x servo for the face plate (at least many are using 2)

I have seen some build use the same servo for face plate to also move the jaw.. might be worth looking into.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

hi-

regarding Arduino error...

how are you trying to upload you sketches? usb? FTDI cable?
Can you get the basic BLINK sketch to upload/work?

What board setting do you have chosen in the IDE? (correct serial port too?) :)

just trying to cover the basics.. so you can get up and running on you project. :)



regarding the project itself..

the only part I see as an obstacle would be the circular parts that are rotating over the 'ears'.. is moving those 'inwards' toward the head.. as they would need to take up some room inside.. and probably have the 'track' itself built into the piece..


2 x servos per 'ear'
1 x servo for the face plate (at least many are using 2)

I have seen some build use the same servo for face plate to also move the jaw.. might be worth looking into.

thanks for the help, I am using a usb and when I try to upload the program I get this error avrdude stk500_getsync(): not in sync resp=0x30.
I have the correct ports selected, the computer automatically downloads the driver software, but its the wrong one, I don't know how to stop it.

As for the ear pods moving, with the way my project is designed you could put a small screw on the ear and a nut on the gear so when the gear moves the screw will rotate in and out.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

ahh... I believe it to be a driver problem then.

what is it installing?
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

I haven't got a clue, I read on how to install the correct one though. I just don't know how to stop it from installing the wrong one.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

I have Windows Vista, I am trying to install VCP driver
found here Virtual COM Port Drivers
But when I plug it in it either says usb drive not recognized or a little icon comes up saying its installing a driver.
I really appreciate the help.
 
Re: Motorized Iron Man Mark 6 Helmet (not the faceplate)

I have never heard of that software I dont think..

read the link posted above.. it should explain how to test your com port/device to ensure what is what.. as well how to install proper drivers.
 
Back
Top