Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baro BMP280 not recognized #81

Closed
skimans opened this issue Sep 6, 2023 · 12 comments
Closed

Baro BMP280 not recognized #81

skimans opened this issue Sep 6, 2023 · 12 comments

Comments

@skimans
Copy link

skimans commented Sep 6, 2023

Hi friends
i have install baro BMP280 with connection 3.3v GND SCL(I22) SDA (I21) but not work.
I have connected the 3.3V and GND directly to 3.3V and GND of MPU6500.

IMG20230906225906

@rtlopez
Copy link
Owner

rtlopez commented Sep 6, 2023

HI @skimans please specify "not works". How do you verify it? Double check connections. Go to the CLI, type status command, and then reboot and paste result here. Also you can flash board with arduino i2c scanner sketch to verify if device responds at 0x77 address. Keep in mind, that baro reading is only informational, can only be logged to blackbox, it is not used in any flight mode, so altitude hold is not possible yet.

@skimans
Copy link
Author

skimans commented Sep 7, 2023

hi @rtlopez the external module baro BMP280 not recognized on the yellow panel icons .
Now i checked with Arduino and this is the result:

Scanning...
I2C device found at address 0x76 !
done

@rtlopez
Copy link
Owner

rtlopez commented Sep 7, 2023

Hi @skimans This module documentation says

The I2C interface uses the following pins:
• SCK: serial clock (SCL)
• SDI: data (SDA)
• SDO: The I2C address decides the pin. If SDO connects to GND(0), the address is 0x76, if it connects to VDDIO(1), the address is 0x77. In this module, we have connected it to VDDIO, so the address should be 0x77.
• CSB: Must be connected to VDDIO to select I2C interface.

Is anything connected to SDO pin?

This module supports SPI, you can share bus with gyro, only need separate CS line. Connect CSB pin to baro_cs pi then, 13 by default.

@skimans
Copy link
Author

skimans commented Sep 7, 2023

Hi @skimans This module documentation says

The I2C interface uses the following pins:
• SCK: serial clock (SCL)
• SDI: data (SDA)
• SDO: The I2C address decides the pin. If SDO connects to GND(0), the address is 0x76, if it connects to VDDIO(1), the address is 0x77. In this module, we have connected it to VDDIO, so the address should be 0x77.
• CSB: Must be connected to VDDIO to select I2C interface.

Is anything connected to SDO pin?

This module supports SPI, you can share bus with gyro, only need separate CS line. Connect CSB pin to baro_cs pi then, 13 by default.

the SDO is free. anything connected.
i dont understand what can i do for have 0x77 and connect it to I2c.....VDDIO ??

@bsvdoom
Copy link
Contributor

bsvdoom commented Sep 7, 2023

I think this was an issue for me too, had to lookup the source code to find out that #define BMP085_DEFAULT_ADDRESS 0x77

the SDO is free. anything connected.

Do not leave these binary pins floating, look at the datasheet and connect to VCC (HIGH) or GND (LOW).

So in general: CSB and SD0 pins have to be connected to VCC = VDDIO = 3.3V .

image

@rtlopez
Copy link
Owner

rtlopez commented Sep 7, 2023

@skimans take multimeter and ensure if there is no short-circuit to GND or other pin. If there isn't, you can safely connect it to 3.3V, otherwise you can burn LDO or even chips on boards. Normally there shoud be pull-up resistors on SDO and CSB, but it is not guaranted. Your BMP listen on 0x76 address just because SDO level is 0.

@skimans
Copy link
Author

skimans commented Sep 7, 2023

@rtlopez now you must work for add GPS :)
thanks much!!

IMG20230907204422
IMG20230907204435

@bsvdoom
Copy link
Contributor

bsvdoom commented Sep 7, 2023

@rtlopez now you must work for add GPS :) thanks much!!

I am sure if you donate to him he will work on it tomorrow =)

@skimans
Copy link
Author

skimans commented Sep 8, 2023

@rtlopez now you must work for add GPS :) thanks much!!

I am sure if you donate to him he will work on it tomorrow =)

do you have already donate....right ?

@bsvdoom
Copy link
Contributor

bsvdoom commented Sep 8, 2023

@rtlopez now you must work for add GPS :) thanks much!!

I am sure if you donate to him he will work on it tomorrow =)

do you have already donate....right ?

yes, code :)
and time to solve your issues :)

@skimans
Copy link
Author

skimans commented Sep 8, 2023

@rtlopez now you must work for add GPS :) thanks much!!

I am sure if you donate to him he will work on it tomorrow =)

do you have already donate....right ?

yes, code :) and time to solve your issues :)

OK. Allora fatti i cazzi tuoi.
(use Goggle Translate for this..)

@bsvdoom
Copy link
Contributor

bsvdoom commented Sep 8, 2023

@rtlopez now you must work for add GPS :) thanks much!!

I am sure if you donate to him he will work on it tomorrow =)

do you have already donate....right ?

yes, code :) and time to solve your issues :)

OK. Allora fatti i cazzi tuoi. (use Goggle Translate for this..)

Woah dude, you welcome for all my help.
Write your own gps then.
Chill and grow some humility, no one said any wrong to you.
Also you should try to solve your problems before flooding the issues, and close all your solved issues here, thats another way how you can help the maintainer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants