This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to connect nrf9160 with multiple bme280 sensor?

Hello!

I have followed nrf connect sdk tutorial part3 and have walked through for bme280. But now I want to connect two or more bme280 sensors to my dk. How should I modify the prj.conf file, the overlay file and the main.c file?

Thanks a lot.

Regards

PoNien Su

Parents
  • Hello Marcus,

    Thanks for your answer and it really helps me a lot., but now I meet another problem.

    When I followed the steps and trying to create the forth I2C-bus in overlay file, it didn't allow me to complete CMake.

    Does it mean that I could only connect 6 bme280 sensors to nrf9160dk? Or is there any solution that can help me to connect up to 30 bme280 sensors to my dk since there are 31 pins on it?

    Sorry for bothering again.

    Regards,

    PoNien Su

Reply
  • Hello Marcus,

    Thanks for your answer and it really helps me a lot., but now I meet another problem.

    When I followed the steps and trying to create the forth I2C-bus in overlay file, it didn't allow me to complete CMake.

    Does it mean that I could only connect 6 bme280 sensors to nrf9160dk? Or is there any solution that can help me to connect up to 30 bme280 sensors to my dk since there are 31 pins on it?

    Sorry for bothering again.

    Regards,

    PoNien Su

Children
No Data
Related