Posts | Comments

Planet Arduino

Archive for the ‘ardruino’ Category

Jan
15

Some Thoughts on Integrating my Raspberry Pi

ardruino, esc, Raspberry Pi, servo, xBee Comments Off on Some Thoughts on Integrating my Raspberry Pi 





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









Dec
04

ADXL 335 Accelerometer for Leveling?

Accelerometer, ardruino, auto levwling Comments Off on ADXL 335 Accelerometer for Leveling? 

Re blog from Arduino.cc

Netduino Forums


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;
Nov
28

smARtDUINO – Do it yellow…Interesting Arduino form factor http://smartduino.com/

ardruino, form factor http://smartduino.com/, xBee Comments Off on smARtDUINO – Do it yellow…Interesting Arduino form factor http://smartduino.com/ 

smARtDUINO – Do it yellow…

Interesting Arduino form factor http://smartduino.com/ these are a great form factor for embedding in aircraft and models

http://smartduino.com/kickstarters-video/





Nov
16

Scratch built foam jet Arduino Xbee controller fitted to the wee Jet with 90 mm EDF

ardruino, Turnigy, Turnigy 20 ESC, xBee Comments Off on Scratch built foam jet Arduino Xbee controller fitted to the wee Jet with 90 mm EDF 

Please see Prop Much Better Than EDF










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
Nov
16

:) IT FLY’S :) Maiden flight of Yellow Plane Hextronic DT850 Turnigy 2200mAh Xbee Arduino Controller

2200mah, ardruino, fpv plane, maiden flight, XBee Pro 60mW U.FL Connection - Series 1 Comments Off on :) IT FLY’S :) Maiden flight of Yellow Plane Hextronic DT850 Turnigy 2200mAh Xbee Arduino Controller 

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 kv Turnigy 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. 

I ran the  D4023-850 on a Turnigy dlux 30A SBEC but the Turnigy L3010C-1300kv needs more Amps so I have a H-KING 50A Fixed Wing ESC which seems good at full load only gets warm.

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.

Once the plane is proven I have a 1/3-inch SONY CCD Video Camera (PAL) and 5.8g 200mw FPV Wireless AV Tx & Rx Set for the FPV setup I tested the TX & RX with another camera and they seem to perform more than aquatically. 

Experimenting with material options for the wings looking for a target weight of 400 grams or less for both wings. Please see calculations
Also I have added gyro stabilization which looks good on ground tests.This video on flitetest.com shows a stabilizer in flight.

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 







  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook