Temperatur sensor

HI!

We are planning to have a student project where student measure ocean temperature and uses the NRF9160DK to send data via MQTT to a broker.

I have completed the fundamental course and it seems like using a i2c sensor i possible.

Do you have any experience or suggestions of whitch sensor to use?

Do you have any experience using a oneWire sensor based on DS18B20?

Br

Mikal Lund

Krokeide Videregående Skole

Parents Reply Children
  • Mikal said:
    Why are there both an serial_overlay.dtsi and a arduino_serial.overlay file when they look alike. Since I am using an external sensor is one of them obsolite?

    The way I read this is that ardiuino_serial.overlay is there to use with other boards which support this.

    However, we wanted to make the sensor sample specifically supported for the nRF52840, in which case boards/nrf52840dk_nrf52840.overlay is included automatically, and it includes boards/serial_overlay.dtsi.

    In other words: you do not need to add any of the files manually in your project.

    Other than that, I do not understand if you have any questions now. Does this work at your side now, or do you have any troubles still?

  • When we understood that 

    NRF_PSEL(UART_RX, 0, 1) means connected to P0.01 and
    NRF_PSEL(UART_TX, 0, 0) means connected to P0.00 
    we received correct response from the sensor
Related