Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sensing temperature with a thermocouple / thermocouple

hello, testing the spi examples of SDK16.0.0 I was trying to read a type k thermocouple with a max31856 on the nRF52840dk board, I made the connections of ss, sck, mosi, miso. The problem is that I don't get thermocouple values, is there another way to read this type of sendor with the nRF52840dk board?

Parents Reply
  • Hi 

    For the future please open a new ticket if you have questions not directly related to the current one. The devzone system is not well suited for handling long cases with many different questions. 

    The relationship between the voltage on the input and the reported value depends on several factors, including what reference voltage is used, the bitrate, and the gain setting. 

    In single ended mode (with the negative input to the ADC set to ground) the result from the ADC is given by the following formula:

    RESULT = V_In * (GAIN/REFERENCE) * 2^RESOLUTION

    Turn the formula around and you find that the actual voltage (V_In) can be calculated as such:

    V_In = RESULT * (REFERENCE/GAIN) / (2^RESOLUTION)

    For more information about this please refer to this chapter in the product specification. 

    Best regards
    Torbjørn

Children
Related