Close

Got the fin movement fixed

A project log for Arduino rocket stabilization system [UD: 7/14/17]

Arduino powered rocket stabilization system for mid to high power rockets that gets rid of the pitch over and subsequent downrange flight

arseniodevArsenioDev 08/16/2014 at 22:300 Comments

Today I decided to fix the issue of opposite servo pairs actuating in opposite directions which would result in a uncontrolled spin and subsequent destruction of airframe. It only took a few modifications totaling in 10 additional lines of code. This site was extremely helpful in explaining the servo drive code for opposite servo pairs.

Null1.write(valNull);
Obfuscated = valNull;
Null2.write(180-valNull);
Obfuscated = valNull;

What this does is take the opposite servo and drive it 180 degrees in the opposite direction of the reference servo.

     https://vine.co/v/MYTFtwMKeUM (video of it in action)  

Discussions