BMP280 wiring

Hi!

I want to wire BMP280 air pressure sensor with Arduino Uno but I don't konw how. Can anybody help me?

Here is code: github

This sensor is connected to Arduinos using I2C. This means you need to use Vcc (positive voltage supply) connected to 3.3v (I believe), GND to Arduino GND, SDA to Arduino SDA, and SCL to Arduino SCL.

On an uno, A4 is SDA and A5 is SCL.

Unfortunately I can't find further clarifying information if this module is a 3.3V (most likely) or 5V type.
Some 3.3V types have to be powered by 3.3V on Vcc but are 5V tolerant when you connect it to I/O of a Microcontroller, like the Arduino.

If you want to be on the safe side, I would connect Vcc to 3.3V, GND to GND and have a logic level converter in between the sensor and Arduino.

Alternative1:

  • ask your seller, but as you might have bought it in China - you never know if you can trust the answer (if you get any)

Alternative2:

  • somebody here in the forum has got exactly the same module and succeeded with the setup and can assist you with the correct information

Here is a link which might answer the wiring question (-> recommendation: use a logic level shifter/converter):
http://forum.arduino.cc/index.php?topic=390732.0

Harmonik,
The code that you linked to is written for the Adafruit BMP280 breakout board.

If you look at the circuit diagram of their board (which is physically larger than yours), you will see that they have a 3.3V regulator and level shifting components on the board.
As your board is smaller, I imagine that these components are not fitted, and will need to be added externally.