Moderator

3689365189?profile=original


This is a Blog I decided to start chronicling my experience in the hopes that I might make it easier for newcomers to get involved with these amazing machines we call UAVs!


First let me tell you a little about myself. I live in the Adirondack Mountains of upstate New York, in the United States. I'm shown above with my new Senior Telemaster. (Anyone who has followed any of my posts knows the lengths I have gone to to obtain this plane. That's another story!) I am a Network Administrator with a Composites Manufacturer providing Manufacturing capabilities to medical, industrial, and recreational vendors. I have a background in CAD, and CNC Machining. I have had a lifelong love of aviation since I was a small boy growing up in the suburbs of Boston Massachusetts I have always had an interest in electronics, computer programming, and model aviation. First came Radio Control.in about 1989 I started flying a Great Planes PT-40 I purchased at the local hobby shop. Next came an introduction to robotics about 2 years ago with a kit my son got of the Parallax BOE-BOT. This led me to the Arduino platform. Then last January my brother-in-law (a really good guy) gave me a gift certificate to Sparkfun for my birthday! When browsing Sparkfun's web store I came across the ArduPilot, the rest is my experience chronicled here.


First lets talk about my choice of airframe. I wanted a large, stable platform, with a large interior. My "mission" was aerial photography/videography, OK lets face it really I just want to have fun! Anyway , you need to look at what you want to do with your project when deciding on the proper plane to purchase. If you are looking to burn holes in the sky, then a high wing trainer isn't a good choice; if however you want a gentle stable flyer to take aerial photos (as I did) then a high wing trainer is a good choice Many people here like the Multiplex Easystar. The choice is yours but take some time and decide what your "mission profile" is and then seek the advice of others if you aren't familiar with a particular model. While I'm talking about the airframe let me make a basic recommendation, when we all learned to ride a bike, we didn't hope on a 10 speed and just take off down the street never looking back. Rather we started with a beginners bike, and training wheels.If you haven't flown Radio Control before, do yourself a favor and contact your local club and find yourself an instructor. You'll be glad you did!


3689365065?profile=original


Shown in the picture above are the two main boards of the ArduPilot system. On the left is the ArduPilot board on the left, and the ArduIMU+ V2. The ArduPilot is the "brain" of the system that integrates all the sensor data, from sensors such as the ArduIMU, and what output is necessary to obtain the desired performance from the aircraft. The IMU is an option as opposed to using thermopiles. Both systems monitor the attitude of the aircraft by sensing the aircraft' orientation in space. The sense I got was that the IMU provided better stability than the thermopiles in mountainous terrain (such as where I live).




3689365214?profile=original

. Shown here to the left is the uBlox GPS module.

This module has proven to be very popular, and in my experience very easy to work with. If you've spent any

time reading threads around here you'll probably realize

it does have a few weak points, the antenna connection

is very fragile; so care must be taken to make sure to protect it. The connector on the back of the module is

also very fragile so care should be taken with it as well.

You can see the uBlox adapter, sold at the DIY drones

store, hidden behind the uBlox module. I would suggest using some hot-glue to hold the two parts firmly

together.


Crash protection is highly recommended with this very fragile item. I have heard several methods of protection, including shrink wrapping the parts together, However I have also heard reports of reduced numbers of satellites

obtaining a lock as the temperature rises, so it's important now to insulate it too well.


There are a several supported brands and communications protocols to choose from. With a wide range of features and a wide range of price as well Another important thing to consider is sampling rate, most GPS units come with sampling rates in the 1Hz to 10Hz range. At the low end 1Hz, a slow moving RC car might be able to use a sampling rate this low, but it's not very practical for a plane, at the 10Hz end you could have good data for a fast moving plane. For me 4Hz was great for a slow flying high wing trainer. The choice yours.



3689365081?profile=original

No matter what hardware you have, you'll need to consider how to mount them in your airframe. I wanted to have a system I could adjust.

The ArduIMU needs to be parallel to the ground in level flight. Unfortunately it's not easy to calculate exactly where that will be without some actual flight testing. Most planes will fly at a slightly positive AoA (Angle of Attack), therefore the ArduIMU would need to be mounted at an equivalent NEGATIVE angle in order to be parallel to the ground.


The picture on the left shows the installation of my mounting system in my Senior Telemaster. At the back you can see a long strip of Velcro, this acts as a hinge for the plate to pivot on. The 4 Velcro tabs are to attach the removable AP system panel from the mounting plate. The socket head cap screw at the front of the mounting board allows the adjustment of the pitch, positive or negative, of the mount.


While not necessary to make an adjustable mount I think it will allow me some greater degree of precision. If you are using something like a Multiplex EasyStar, it wouldn't make sense to go with something this elaborate.




3689365121?profile=original


This picture above shows how I protected my uBlox module with a foam cradle. Notice the cable connected to the uBlox adapter, it goes AFT to the main payload bay where it is connected to the ArduIMU.

The picture below shows the assembly after it was slid in place between the battery tunnel and the fuselage side.


3689365096?profile=original


3689365151?profile=original


This picture shows the battery monitor adapter, and associated cable I made to attach to the battery monitor on the Ardu Shield V2. If your not going to use the optional telemetry you can ignore this item, as it's unnecessary.


Because I am using a 6s1p LiPo battery pack whose nominal pack voltage is 22.2 volts, well over the 15 volt maximum input to the Ardu Shield V2 board, I needed a way to modify reduce the voltage "seen" by the analog input (AN5).


The battery monitor circuit on the Ardu Shield V2, uses a voltage divider to drop the voltage down to a value AN5 can read without causing damage to the board. Using the formula: Vout = (R1 / (R2 + R1 + "X") * Vin, I was able to determine the value of "X" necessary to bring the voltage down to 5 volts. For me that was 164k ohms. This is only necessary if you are using a voltage greater than 15 volts at full charge. Always calculate based on the full maximum charge, not the nominal rated voltage.


3689365326?profile=original


In this picture I've added the Ardu Shield V2. This enables us to add the differential pressure sensor (black box in the middle on the left) for airspeed sensing, and the battery monitoring capability with the voltage divider. It simply rests atop the ArduPilot board. I haven't installed the pitot tubes yet, but the will go out on the wing at least one prop diameter out on the wing. It's important to note here that you should install both the active and the static tubes outside the airframe, and out of the disturbed airflow behind the prop. If you are using a pusher such as with the Multiplex EasyStar you can simply install these in the nose of the aircraft.


Many people using fast moving airframes with IMUs don't bother using the airspeed sensor, however in slow moving airframes, or airframes that fly near stall speed, the Ardu Shield is recommended.



3689365355?profile=original

Here in the picture on the left you can see the ArduIMU on the left, the ArduPilot (red board) on the right, and the Ardu Shield on top of the ArduPilot.


They are all isolated from vibration using two different types of foam. You can see a 1/4" thick layer of neoprene foam on the bottom, and a 3/4" pocketed closed cell blue packing foam.


The idea is that the different foam densities protect the electronics from vibration at different frequencies.That's the idea at least, we'll see how well it works in practice.


At the top of the payload bay you can see the battery monitor cable coming from the forward compartment visible at the top of the photograph. Towards the front on the right hand side, you can see where the momentary push-button reset switch is installed through the fuselage side.








3689365264?profile=original



This picture shows how the adjustable mount is used to level the cradle the IMU is mounted in. First I check to see that the wing saddle is
level, then I move the level to the cradle, and adjust the mount to
bring the mount level with the wing saddle.



Well, that's it for now! In Part Two, I'll install the pitot tube in the wing, load the code, run through some ground tests, and finally begin some flight testing!


Good luck with all your projects,


Nathaniel






.

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • link for the connection http://diydrones.com/profiles/blogs/arduimu-with-magnetometer 

  • Moderator
    Albert,

    Hey thanks for the interest. I'm tied up at work this week preparing for a trip. I will be gone till after Labor Day, returning September 7th. I expect if the weather cooperates I might be able to get all the content I am planning on having sometime in the week following that. I plan on discussing integrating a telemetry system using x-bee modules, and the installation and use of a pitot tube with the ArduPilot Shield's differential pressure sensor.

    Thanks again,

    Nathaniel
  • when will part two come out?
  • Moderator
    John,

    Ah yes now I remember! Thanks for jogging my memory, that one took a little searching. I was trying to map what pins weren't being used on the IMU at the time....something I'm still looking at.

    Nathaniel
  • Posted by Nathaniel Caner on June 22, 2010 at 3:09pm in ArduIMU
    Send Message View Discussions
    Simple question....there was a picture posted in a discussion here a awhile back showing the ArduIMU+ V2 connected to both the SPC1000 pressure sensor and the HMC5843 magnetometer. I've been searching for it for about an hour, can't seem to find it. Anyone able to point me to the right discussion?

    Reply by Nathaniel Caner on June 22, 2010 at 4:27pm
    Found it here pg 2 Reply by Yves Gohy on May 2, 2010 at 6:29am
  • Moderator
    John,

    Yes, thanks, that's what I thought but I must have missed where that came up. Can you point me to where I "dragged" that information out of someone.....I'd like to see it! As to your lockout/tagout procedure I'm all for it. I use Deans ultra plugs with all my hardware, and have been thinking of shorting a male plug and putting it in line, exposed to the outside to act as a switch for power. I don't know of any light weight switches that can handle the high amperage we subject them to without melting (60 Amps or more) :(

    Regards,

    Nathaniel
  • Hi Nathaniel,

    It's a familiar working term for magnetometer (also used sometimes for magnetron) as in "R&R the maggy". Hey, about your concern for running up the motor when calibrating the stick travel for the ESC, I use a LOTO (lockout/tagout) switch on any motor 300W or over for safety and just lock it out when working on it on the bench or while calibrating the ESC so the motor draws no power!
  • Moderator
    @John Thanks for your kind comments! I have one question.......what's a Maggy?? Yes I am going to put lightening holes around the area where the GPS is installed.

    @Jani Thanks for the suggestion! So far I haven't soon any problems with the foam case, however I don't care to find out the hardware, so....I will modify the case to give more exposure to the helix antenna.

    Regards,

    Nathaniel
  • Developer
    Nathaniel, as an friendly hint, I would not put that EPE foam so close to helix antenna. I will affect a lot on GPS antenna tuning and in worst case it can shortcircuit those antenna. In generally GPS receiver works on 1575.42 Mhz freq and placing different materials around/under/ontop of GPS antenna can alter that freq more than 5 Mhz. So you will loose a lot of it's sensitivity. And like said, on worst case you can short whole antenna which means you create a massive stress to your GPS receiver.

    Worst material that I have seen while been testing those reflections is normal really thing clear packing tape. Placing that on top of GPS antenna basically feeds back all freqs to GPS receiver and if you let it go long enough it will fry your receiver.
  • Hi Nathanial,
    X-L-N-T work! Small suggestion - there was some talk in the thread of UBLOX temperature sensitivity - put lightening/cooling holes in the inside wall of the GPS compartment!?! Also, thanx for using your Ambassador-like communication skills to finally drag out of someone where the hookup info is for the Maggy!
This reply was deleted.