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?
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?