Entoptic
Red Power!
You would need a meter to read it. Well, if it is great enough in magnitude, you can sometimes detect it by the smell of melting plastic, small fires, et al![]()
are we talking earthquakes or electronics!

You would need a meter to read it. Well, if it is great enough in magnitude, you can sometimes detect it by the smell of melting plastic, small fires, et al![]()

Should probably also be sure to toss a zener across the outputs if they direct drive the servos to protect them from inductive kickback.
I've never used the large servos before. Is there actually enough to worry about? if the servos are analog and there's no alternating current or frequency changes, would inductance even show up?
How would you actually measure it? Is it a fast event that qould require an o scope with a recording function or would a dmm with a hold be able to read it?
It's an inductive load. That energy isn't dissipated, it sits there in the E&M fields. We make use of the magnetic field to move the servo, after all.
That reactive power is still moving back and forth when you turn it off... coupling back into the coil can spike the DC lines pretty high.
This is why diodes are placed across inductive loads, to clamp that and prevent damage to the device driving them.
If you'd like a little jolt? Take a small 9VDC relay and a 9v battery. Place a finger across the side of the power terminals. Apply the battery. Remove the battery, keeping your fingers across the terminals.
You'll find that the kickback easily exceeds the ~28VDC breakdown voltage of your skin.
It's very brief, you need a digital scope for this.
Ok I did some googling and checked out the links but I am still confused on how to apply this to my sketch. Would you mind explaining where you would put these diodes on my crappy sketch?
Place about a 9v zener or similar across the power terminals of the servo.
That's it.

Nice Birkenstocks![]()

It takes a special kind of guy to wear socks with open foot shoes.
![]()
I love my berks! For house shoes they rule!It takes a special kind of guy to wear socks with open foot shoes.
![]()
for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees
{ // in steps of 1 degree
pos_opposite = 180 - pos;
myservo.write(pos); // tell servo to go to position in variable 'pos'
myservo1.write(pos); // tell servo to go to position in variable 'pos'
myservo2.write(pos_opposite); // tell servo to go to position in variable 'pos'
myservo3.write(pos_opposite); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
delay(15); // waits 15ms for the servo to reach the position
}
How about something like this?
Code:for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees { // in steps of 1 degree pos_opposite = 180 - pos; myservo.write(pos); // tell servo to go to position in variable 'pos' myservo1.write(pos); // tell servo to go to position in variable 'pos' myservo2.write(pos_opposite); // tell servo to go to position in variable 'pos' myservo3.write(pos_opposite); // tell servo to go to position in variable 'pos' delay(15); // waits 15ms for the servo to reach the position delay(15); // waits 15ms for the servo to reach the position }
And something similar for the returning loop.
Ok you are on to something because the adruino liked the command pos_opposite however I still cant get the right wing to work correctly. It moves to a position and then just sits there. The motors are making noise like they want to move but nothing is going on. The left side however is moving as intended.
I rewrote anything with pos for servo2 and servo3 to pos_opposite.
I would put the delay between the Pos and Pos_opposite calls, rather then after both of them.
Better yet, just make them two separate subroutines. That will make it easier to troubleshoot and if you want the left side do something different then the right.