Connect 2 different sensors to the the I2C BUS

Hi, I have 2 sensors. one SparkFun - BME280(Temp, Hum, Prs…) and the second is SparkFun - VEML6075(UV sensor).

I need to connect those 2 sensors to the same I2C bus and I wanted to know if its possible because every where I search I can only find I2C connections with the same sensor.

I don’t have any problems with the code just this connections…

Will be glad to hear any answer!

That's the whole idea of the I2C bus - communicating with several different devices using the same bus wires.

As long as the devices have different addresses they can be used together.

Don

And when you want to use same kind of sensors, you must use a I2C bidirectional multiplexer.

victormiron2000:
And when you want to use same kind of sensors, you must use a I2C bidirectional multiplexer.

Sometimes.

Don