I'm so happy with Arduino product since I now know many awesome projects with it (even though it's just a kind of protoype).
I now try to make my drone hover (self-levelling) using bmp280 and bmp180. However, it is not good enough as shown by Joop Brokking. He is like a teacher for me.
I see that bmp180 is compatible with bmp085 (config.h in arduino multiwii firmware) and I dont need to change anything but adding the #define BMP085 in the board I picked.
#if defined(LADYBIRD)
#define MPU6050
**#define BMP085**
#define ACC_ORIENTATION(X, Y, Z) {imu.accADC[ROLL] = -X; imu.accADC[PITCH] = -Y; imu.accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {imu.gyroADC[ROLL] = Y; imu.gyroADC[PITCH] = -X; imu.gyroADC[YAW] = -Z;}
#undef INTERNAL_I2C_PULLUPS
#define MINTHROTTLE 1050
#define MAXTHROTTLE 2000
#define EXT_MOTOR_32KHZ
#define VBAT
#define VBATSCALE 420
#define VBATLEVEL_WARN1 330
#define VBATLEVEL_WARN2 330
#define VBATLEVEL_CRIT 105
#define NO_VBAT 10
#define MOTOR_STOP
#endif
it works, not bad. But I want more stable.
When the drone on hover and landed, I can feel the battery cable and motors are sooooo HOT!!! My assumption is that the drone was struggling to keep itself on hover by forcing more power from battery and force the motors to spin in a constant state or position (btw, do you have solution to reduce the heat?)
Here's the mini drone I make: