40 Online
0 Member And 40 Guest
Today Visits : 17392
Yesterday Visits : 26189
All Visits : 2762206

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.


1 like 0 dislike
i have buy bmp180 for the pressure sensor. but Arduino multiwii programmed with bmp085 .

how can setup with bmp180 sensor .. please do i need to change progam?? kindly help me ..
in Arduino by (660 points)

1 Answer

0 like 0 dislike
1. At config.h, scroll down I2C barometer and uncomment:
    //#define BMP085
    #define BMP085
2. At config.h, look for:
    #define I2C_SPEED 100000L
    change to:
    // #define I2C_SPEED 100000L
3. At config.h, look for
   //#define I2C_SPEED 400000L
   change to:
   #define I2C_SPEED 400000L

We need 400kHz in order for the BMP180 to response faster. Not sure it will work for you or not.

Reference: https://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/