Float Control Demo by grzegorz.pijarczyk

Cloned from Sketch Float Control Demo by mwm

This sketch is missing a short description
# Feasibility Demo for the Float Control Project ## Roll as telemetry data We're going to hijack flight pack voltage on an aircraft system. Just read the roll angle from the gyro sensor (an MPU650 in a GY-521 board), convert that to a number between 0 and 1023, then output that via a D->A board to get a voltage. We really want a value between 0 and 9 volts, but may have to settle for less. We'll see. ## Servo control from the Arduino Add an RC servo reader to the arduino, and then read the PWM values and spit them back out. Make sure you implement a failsafe option. Test this, and see if you can still sail. ## Roll control Now we check the roll value, and let the sheets out when we get "to much" roll. Can we still sail?

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:163051" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>