Iron Man Electronics / Microcontroller

Xyranthin

New Member
Hey guys

Ok, so I have always been really bad with electronics and circuits and the like so I was originally going to just buy all the mechanics for my iron man armor off of someone. But... my wife objected and wanted me to at least try it for myself before I threw in the towel. So I bought an arduino micro controller and a ton of parts and am in the process of teaching myself how to code it.


So here is my question. I want my faceplate to open and eye lens to turn off when I tilt my head up and faceplate to close and lens to turn on when I tilt my head down from that position. I only want the head-tilt-down-to-close effect to activate when the faceplate is already open.

I have it so that the microcontroller understands the information from the accelerometer and opens/closes accordingly but I can't figure out how to get it to understand the two different states the helmet can be in so as not to try and 'close' the faceplate when it is already closed or vice versa.

Any advice out there?
 
Send Honus a pm he's pretty much th' electronics authority when it comes to costume animatronics and arduino also ya might need a XBee radio. Im sure he can help ya better than i can. good luck.:popcorn
 
Could you post your code and list the hardware you are using? I don't understand how it can try to close when it's already in that state since it's only reading tilt position. You may need to establish threshold limits in your code so that it can only move at a particular defined accelerometer reading. You might also check out the Arduino forums for help at arduino.cc
 
Could you post your code and list the hardware you are using? I don't understand how it can try to close when it's already in that state since it's only reading tilt position. You may need to establish threshold limits in your code so that it can only move at a particular defined accelerometer reading. You might also check out the Arduino forums for help at arduino.cc


I figured it out literally the day after I posted this thread. It was my first time trying to write code and I was over thinking it and had included a couple lines that didn't need to be there. Once I deleted those it ran :) Guess I just needed to leave it and come back later with fresh eyes.

Thanks for your willingness to help though Honus!! I can almost guarantee I will be asking you for advice in the future lol This stuff is confusing at first but pretty cool once you figure it out
 
Back
Top