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

Have an nRF52832 "dev board" and a BME280 breakout board, where to start?

Hi All

I am a newbie with the nRF52 series SoC's and my end goal is to make a solar powered weather station.

I have a very crude nRF52832 dev board that I program with a SEGGER J-Link, and some BME280 & SGP30 breakout boards. So far I have done the basics like:

  • Blink an LED
  • PWM an LED
  • Send stuff over TTL serial

Now I am trying to communicate with the BME280 over I2C/TWI but am finding myself a bit stuck as I don't really know where to begin. So far I have:

At this point it seems like I have most of the info I need but I can't seem to piece everything together. So with that said would you guys be able to recommend a strategy for this newbie?

Cheers, Anton

Parents Reply
  • Most of my programming experience is with Arduino (so AVR's) but I have also been working with STM32's at work for the past year, so this is why I decided to make a project with the nRF52.

    In terms of C experience I think I know enough to do basic stuff, though this is my second time trying to talk with a sensor over i2c, first was on the STM32 project.

    Yea getting a proper dev kit would have been the wise decision. I know that my crude dev kit works so for now I will try and use the i2c/twi scanner example and see if I can pick up the sensor address. From that point will try and read a value from the ID register (like other people suggested)

Children
Related