Iron man motorised faceplate electronics tutorial!!!

think of something/a way YOU'd like to control it.. and maybe someone will chime in with a solution for it..

some I have seen:

accelerometer
button/switch
magnet/reed switch
tilt sensor
RFID
bluetooth
 
Started working on the electronics because it's to cold to glass

Here is proof of concept video of the eyes and helm servo.
Feb 20, 2013 4:20am | Facebook

Here is the flicker and on Proof of concept, still have to work on the timing and still deciding if I want to trigger it via an accelerometer or a hall switch... Thoughts?
Feb 20, 2013 3:42pm | Facebook

also I'm kinda new to servos, I notice that when the servo holds goes to a position it hums and gets warm, I figured because it is constantly "holding" it's position. How do you guys combat this? do you guys just stop writing to the servo?
 
in my experience.. I just write/send the position to the servo..

(not sure how you have things set-up.. but perhaps a limit switch?)
 
My code has the loop keep writing the position to the servo. Do you guys just let the mechanical resistance hold it in place? Sorry I'm a newb lol
 
(noob here as well.. no worries!) :)


I guess I dont understand.. from my experience.. I wrote/sent a value (position) to the servo and thats where it 'stays'.
 
That flicker and fade is real nice!!! My servos actually buzz when they reach resting position too. I researched on google and a few sources claim that it's a normal occurrence. Nice to see other peoples takes within this thread :)
Love it!
 
I notice that when the servo holds goes to a position it hums and gets warm, I figured because it is constantly "holding" it's position. How do you guys combat this? do you guys just stop writing to the servo?

My servos actually buzz when they reach resting position too. I researched on google and a few sources claim that it's a normal occurrence.

I've used some servos in a few of my costumes now and was advised by my my brother inlaw who is an engineer (works with servos daily), that the "hum" or "buzz" should be avoided at all costs if you want your servos to last. It's due to the positioning in your code - you are overshooting the values and forcing the servo to work against the resistance (end position). If you have them programmed correctly, they should not make any noise at rest.
 
1.) Is the servo under load? (ie: the faceplate attached?) or free?

2.) What is the code you are using to 'control' the servo? (Are you using the servo library?... if not..why not?) :) (is code in first post? which one?)
 
I've tried lots of different values at both ends in my code and they still buzz no matter what.

This thread was one of my sources. It references the difference between analogue and digital signals being responsible for the buzzing.

Servo noise, chatter buzzing etc. - RC Groups

sir i think the servo motor is taking a lot of stress when it buzz i udjust the angle of mine in the faceplate and flaps that was the same problem to me it drains the battery quickly. you can use servodetach(); but the best thing to do is adjust the angle.
 
sir i think the servo motor is taking a lot of stress when it buzz i udjust the angle of mine in the faceplate and flaps that was the same problem to me it drains the battery quickly. you can use servodetach(); but the best thing to do is adjust the angle.

As written in the post you quoted. I've tried many different angles. Please reference the link I also posted in that comment. Can anybody confirm what the guys are saying in that thread,

X197 I'm currently using your modification of my own code. I've tried altering the angles in your version and my own. Buzzing persists. Please read the comments in the link I posted I'm my last comment.
 
By the way, it's great to see all of you enjoying this thread and getting involved, sharing ideas and knowledge.

The motivation to post your own thoughts is what this thread is all about.

As has been pointed out by myself, and quite lovingly by xi97, I'm also a noob at all this. I'm learning just as much as you guys are. Together were making progress though. My helmet is almost complete now, but my suit has tons more work to do on it and my time limit is close to zero so its become apparent that its highly unlikely my helmet will ever see these electronics installed. Which is a shame. But lets soldier on together so the countless people viewing this thread will be able to benefit from it. If any of you out there have already used anything from this thread PLEASE post your results. I'm unsure I'm ever going to see the results in my own build now but it would be nice to witness someone benefiting from this.
 
I looked over the link.. (didnt really say much IMHO.. lots of opinions bot ways)



also.. Im not sure what code you are referring to...

I didnt 'modify' anyones code.. I wrote everything from scratch.. using an infinite state machine approach (ie: no delays, multiple condition/state checks..etc).... I dont see that in first post...? (making sure double checking what code you are using is all... I dont care what one you use as long as it works for ya!) :)

Did you answer if the faceplate IS attached? (ie: under load?)

maybe the gears/torque just isnt enough?

I have tested my code/approach on other hobby servos (no load, free load testing).. and I do NOT get any buzzing sound..


my 'guess' is the same as everyone elses.. adjust the angle that closes its to stop before 'completely closing/opening' and see if it still persists..

more of a 'controlled' experiment... move it only up/down 25 degrees or so.. FAR from fully open and FAR from fully closed..

or try the servoDetach(); command and see if it kills the buzz after you are 'in position'
 
Last edited:
good question..

Im fairly certain the hinge system is NOT doing any sort of 'holding'..

but I though the servo would lock/stay in the position you wrote it? (does detach do this? return to 0/close position or something?)

I have never used the detach() servo function before...

I knwo the metal geared servo's stay in place.. (but not sure if detach() is ever used/called)

(ie: TheRealStark uses a metal geared servo, and it stays)
 
My components are not attached to load yet, still just sat lonely on the side, hooked up to breadboard in prototype situation. I don't know if this is the same for michaudtime.

Sorry for the incorrect screename reference. Its been a long time. The mod of my code was by guitarkizta. Second code in first comment of this thread, as credited to him.

I will try tiny movements when I'm back at home. Not aware of the "servodetach" command. My assumption is surely this must work to stop the buzzing, considering its nature. More learning to do I suppose.
 
But if the faceplate is in open position and you detach the servo, the faceplate will not stay open! Or is the hinge system holding it without power on the servos?


The servos I use hold whatever position they are in via the gears whenever power is removed. Assuming the "servodetatch" command just removes power and signal from it, they will remain in the same state. However, as is the nature of my code, once power is reinstated, they will return to zero, effectively closing the faceplate.

Given that theory, I really like the sounds of that command.
 
Last edited:
Back
Top