Got to get the Pi going soon I once worked on an IDU for a helicopter so I'm thinking along those lines for the interface
The Pi can run the display which I have I want to find a way to piping video to the display in real time and overlaying all the symbols and controls depending on mode
I use adafruits ADXL335 board. I have a resistor and capacitor filtering the 3v reference going into the AREF pin, that's it. 3 axis directly to the analog pins. I use a shielded cable to connect the accelerometer to my duemilanove. I think it was from an extra serial cable I had laying around. No software filtering, very basic. You need to use 3v reference to get 1/2 degree resolution. If you use the 5v reference it works out to be around 7/8 degree. I have my board mounted flat. X is left right, Y is forward back, Z is up down. If you have the board mounted different then the LR & FB formulas need to be changed. I used the AN-1057 application note from analog devices to figure out the dual axis calculations.
float LR = 0.00; // left-right angle float FB = 0.00; // front-back angle int Xaxis = 0; // fresh data from accelerometer int Yaxis = 0; int Zaxis = 0; int Xcal = 506; // calibration data, zero g int Ycal = 506; int Zcal = 518; void setup() { analogReference(EXTERNAL); // uses 3.3v from accelerometer for reference voltage } void loop() { Xaxis = analogRead(2); // read analog inputs Yaxis = analogRead(1); // average & filter readings Zaxis = analogRead(0); LR = (atan(((Xaxis-Xcal)/Xres) / ((Zaxis-Zcal)/Zres))) *57.2957; FB = (atan(((Yaxis-Ycal)/Yres) / ((Zaxis-Zcal)/Zres))) *57.2957;
Yellow Jet 758 Grams with remaining Coroplast 2 X 7.4 V 1300 mAh batteries Arduino Nano RX Xbee with antenna, servos and misc hardware. Chamfered the top on the leading edges. All control surfaces cut and hinged. ESC mounted Lots of Jets http://www.rcgroups.com/forums/thumbgallery.php?do=showattach&u=151599&page=5 Space 1 Jet builder On RCgroups http://www.rcgroups.com/forums/member.php?u=151599 On 14.8 Volts its pushing almost 500 Grams, not so bad thrust mapping is as follows. 100 Grams 1.9 A 27.6 Watts 156 Grams 3.0 A 42.9 Watts 197 Grams 3.9 A 55.1 Watts 257 Grams 5.5 A 76.0 Watts 296 Grams 6.7 A 90.9 Watts 340 Grams 7.9 A 105.5 Watts 432 Grams 10.7 A 138.1 Watts 492 Grams 12.5 A 155.7 Watts
Currently revising the design to reduce weight and have bigger wing chord base on advise from DIYdrones with slightly shorter wings.
AUW 1521 Grams Wing loading 14.83 oz/ft² power to weight 270 Watts per Kg should perform much better than Yellow plane one.
I'm changing from the D4023-850 Out Runner Motor to a higher kvTurnigy L3010C-1300kv Tests show significant improvement in static thrust 1700 Grams. I also have a Turnigy D3542/4 1450KV in reserve If I need more grunt, got 2 Kgs from this wee beasty on the test rig.
Decided on HobbyKing 929MG Metal Gear Servo's which seem like nice devices, I have trashed most of the cheapies I had in various mishaps.
The Murata Piezo Gyro's are mounted on a dead HobbyKing Multi-Rotor Control Board I acquire the analogue signals from the gyro's with the Arduino Nano and the calculations for the control surface correction are done in there and sent to the servos.
If any one out there has any helpful advise please feel free to comment/contact?
I was so pleased to see her fly in the hands of an experienced pilot
Maiden flight of Yellow Plane flown by a local pilot Richard to avoid instant crash I would cause. A little tail heavy but flew pretty well on a gusty day, I'm told control was good. Ended in a crash but not too badly damaged, learned a lot. I'm just chuffed if flew looks pretty good on such a windy, which is pretty standard for the south island this time of year.
My scratch built FPV platform. Took around 30 hours to build mostly Corriboard with some ply, aluminium and carbon fiber spars. Total material cost around 50 US$. Got a DT700 (see tests data here) which hopefully will be an adequate power source. Its a modular design based around an armature, so wings and tail etc are bolted on and can be exchanged for testing parts and ideas. Have a pair of KM3 wings and the Corriboard ones shown below. Please see the spread sheet here Yellow Plane Data More Links The RX Build Power Tests More Test Data Xbee's and Arduinos Controller using Tiny CLR Xbee Helpers Based around a stiff wooden armature and two aluminium tail spars the wings are removable for transportation. According to my calculations the wing loading is 15.5 Oz/Ft² at a flight weight of 1700 Grams. A glass fiber nose has been molded and is curing now which is around 80 grams, which will contain the FPV gear and the main battery. Home brew Arduino Xbee remote control
About
Planet Arduino is, or at the moment is wishing to become, an aggregation of public weblogs from around the world written by people who develop, play, think on Arduino platform and his son. The opinions expressed in those weblogs and hence this aggregation are those of the original authors. Entries on this page are owned by their authors. We do not edit, endorse or vouch for the contents of individual posts. For more information about Arduino please visit www.arduino.cc
You are currently browsing the archives for the ardruino category.