Mini flight controller AEORC v0.1 – How To add a Barometer BMP085

This post is part of a complete guide to this the Mini flight controller AEORC.

So i wanted to upgrade my Multiwii Quad, since i have some spare bosh bmp085 (digital barometric pressure sensor) to test and the I2C port is completelly free on my Multiwii Board, i will add this barometer i2c imu.

This baro is already soldered on an IMU, so no need to solder. This combination is also called: bosh bmp085, gy-65.

Some pics first:

Bosh BMP-085 Barometric pressure sensor on an I2C breakout board gy-65

Bosh BMP-085 Barometric pressure sensor on an I2C breakout board gy-65.

Rear View of Bosh BMP-085 Barometric pressure sensor on an I2C breakout board gy-65

Rear View of Bosh BMP-085 Barometric pressure sensor on an I2C breakout board gy-65.

 

You should connect the i2c port with this imu.
Pay attention: the pins order is not necessarly the same as the board.)

BMP-085 Mounted on a Multiwii Mini flight controller Quad

BMP-085 Mounted on a Multiwii Mini flight controller Quad.

Some light and thin foam was taped on the baroBMP-085 to avoid wrong readings due to turbolence created by propellers

Some light and thin foam was taped on the baroBMP-085 to avoid wrong readings due to turbolence created by propellers.

The Bmp-085 or gy-65 was protected further using a transparent plastic dome kept in place by velcro and some foam between velcro and plastic

The Bmp-085 or gy-65 was protected further using a transparent plastic dome kept in place by velcro and some foam between velcro and plastic.

Once installed you should enable it on the config.h of your multiwii source code, and reupload it on your board.

Arduino ide - how to enable the multiwii barometer BMP-085 or GY-65

Arduino ide – how to enable the multiwii barometer BMP-085 or GY-65

Remember to setup the right position on the aux channels so you can activate and deactivate it by some switch on yor remote.

Multiwii GUI enabling Baro on aux channels

Multiwii GUI enabling Baro on aux channels

I will explain better how to get three positions for a channel using two switches on the remote (Turnigy + er9x).

Turnigy 9x er 9x mix for aux 1 and 2

Turnigy 9x er 9x mix for aux 1 and 2

Once done you have to calibrate the action of the baro , so starting with default value to me made my copter go almost in orbit, so avoid indoor testing, and find the right spot (no people around). So starting lowering the P of ALT made things go better, starting with a yo-yo effect, then lowering a bit more i obtained a quiet stable altitude hold.

Altitude hold for BMP-085 pid vals

Altitude hold for BMP-085 pid vals

Coments are welcome!

 

(Visited 5,841 times, 2 visits today)

Leave a Reply

Post Navigation