Introduction: Black Box

Picture of Black Box

This black box tracker records magnetic and GPS heading as well as 3 axis GPS location, barametric altitude, and 3 axis tilt and acceleration. This allows for a wealth of information for both video overlays and for reviewing manoeuvres once you are on the ground.

Here is a video of the testing of an early prototype:

https://www.youtube.com/watch?v=POogGO4eM0E

For this project you will require:

- A study container

- Paperbacked foam board

- MediaTek LinkIt

- GPS Antenna

- Standard LinkIt Battery

- 9-axis + barometric sensor "boodle"

A huge thank you to instructables, autodesk, MediaTek, and Penolopy Bulnick for sending me the Link It One used in this instructable.

Check Out Our Other Accounts! Like, Subscribe, and Follow to keep up to date with our latest projects. :-)

Just4Fun Media FacebookJust4Fun Media InstagramJust4Fun Media YoutubeJust4Fun Media TwitterJust4Fun Media TumblrJust4Fun Media Website

Step 1: Cutting the Base Plate

Picture of Cutting the Base Plate

The first step is build a stable base to mount all of the components to. I used paper backed foam board left over from an architectural model but cardboard, balsa, or plastic board will also work.

I pressed the lid of my case into the foam to create an impression then cut it out with a utility knife. I made the piece of foam fit tight enough to friction fit into the lid.

Step 2: Wiring

Picture of Wiring

Now connect the GPS antenna, Battery, 9-axis Sensor, trigger switch, and insert a blank FAT formatted microSD card into the LinkIt.

Step 3: Layout

Picture of Layout

Lay out all of the components neatly onto the foam board and trace the components as well as marking any screw holes. Then make pilot holes in the foam using a pin.

Step 4: Mounting

Picture of Mounting

Select screws that will pass through the component without penetrating all of the way through the foam. I have found that the best place to find small screws for mounting components is electronics, I salvaged most of my screws off of old printers. For components without screw holes I used rubberized mesh, as it will not conduct electricity, and screwed the mesh down the the foam.

This rigid mounting will prevent false sensor readings due to movement of the components.

Step 5: Coding and Data

Picture of Coding and Data

To read any of the data from the 9-axis sensor you will need to get the libraries from the git hub repository here:

https://github.com/Seeed-Studio/Grove_IMU_9DOF

Some general notes for setting up the sensors are:

The default I2C address is 0x68

Each of the value types (gyroscope, accelerometer, and magnetometer) are transmitted as their own 16bit integers

To find the vector of each value use the 3 dimensional pythagorean theorem to find the modules (m = (x^2 + y^2 + z^2)^1/2)

Things to keep in mind:

Barometric altitude will need to be calibrated in post (leave it raw), use your knee board values

GPS altitude is inaccurate an average of GPS and Barometric is advisable if calibration is unknown

Magnetometer data can be skewed by electronics (the alternator, magnetos, most everything electronic in the plane)

This sensor array is for informational purposes only and as you may note in the video at the start of the video is not always highly accurate

I will post a full source code file for this project on my website Just4FunMedia.TK under the "Apps" tab once I finish working out the bugs. Currently these bugs are inaccurate sensor data, randomly crashing, and corrupted text files. I believe this is due to inefficient coding and the large amount of data gathered during a flight.

I am currently working to find a balance in sensor update rate between quality and reliability, as I believe that my log rate is causing my errors.

The 9-axis sensor also logs x.y. and z axis magnetism which can yield some visually interesting results when graphed in 3 dimensions (see data above). NOTE: the graph is a "ball" because the sensor senses a certain magnetic declination that is broken down into a cartesian vector (X,Y,Z). Imagine the vector as the needle of a compass stemming from the origin to a point

Step 6: Finishing Touches and Use

Picture of Finishing Touches and Use

All that is left is to secure the plastic cover and add some much needed stickers. To record cockpit audio I prefer to use a microphone placed in my headset. This way the recorder is fully electrically isolated from the plane, and the recorder can in no way interfere with radio system. Purpose made cables are also available to adapt the standard .25" and .206" headset plugs to 2.5mm audio jacks, although I prefer not to use them.

Just push the switch, Once the LED starts flashing, stow the tracker and forget it.

Feel free to post any comments, questions, or results in the comments.

Have a great day! :-)

Comments

nkriek (author)2015-12-23

Excellent 'Instructable' and one I would like to build. As I am still a novice at electronics may I ask where you bought the components and their costs?

Neels

Just4Fun Media (author)nkriek2015-12-23

Good morning Neels,

You can buy the LinkIt One board (GPS, Wifi, and cellular antenna and battery included) from seeed studio for $59.00 http://www.seeedstudio.com/depot/LinkIt-ONE-p-2017.html

Sadly the 9-axis sensor is currently sold out on Amazon. But it costs approximately $20 with shipping. http://www.amazon.com/gp/aw/d/B010NE3A86/ref=mp_s_a_1_3?qid=1450883754&sr=8-3&keywords=9-axis+grove&pi=SX200_QL40&dpPl=1&dpID=41j8mDOB51L&ref=plSrch

AVOID DHL SHIPPING pay the extra for FedEx or another company as DHL will charge you for "processing" in other words for handing you the package and then have a $10 "transaction fee" for accepting payment for the "processing fee"

Have a great day! :-)

nkriek (author)Just4Fun Media2015-12-23

Thank you very much. I will let you know when I have completed this project.
Neels

arduinoyang (author)2015-12-22

good

About This Instructable

3,080views

86favorites

Bio: I am an inventive photographer, Pilot, and MacGyver. I love building and modifying things to aid in my adventures. Check out my Website! Have a ... More »
More by Just4Fun Media:GoPro Real Time FPV TransmitterCompact LED Light TableDowned Aircraft Alarm
Add instructable to: