22 Online
0 Member And 22 Guest
Today Visits : 3896
Yesterday Visits : 8142
All Visits : 925149

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



Categories


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
    to
    #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/
by
...