1MAX6675 K-thermocouple to digital converter
2###########################################
3
4Overview
5********
6
7This is a sample application to read an external MAX6675
8cold-junction-compensated K-thermocouple to digital converter.
9
10Requirements
11************
12
13- MAX6675 wired to your board SPI bus
14- K-thermocouple connected to MAX6675 T+/T- inputs
15
16References
17**********
18
19 - MAX6675: https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
20
21Building and Running
22********************
23
24This sample can be built with any board that supports SPI. A sample overlay is
25provided for the NUCLEO-F030R8 board.
26
27.. zephyr-app-commands::
28   :zephyr-app: samples/sensor/max6675
29   :board: nucleo_f030r8
30   :goals: build
31   :compact:
32
33Sample Output
34=============
35
36The application will read and print sensor temperature every second. Note that
37temperature fetch will fail if the K-thermocouple is not connected. This is
38because MAX6675 is able to detect if the K-thermocouple is connected or not.
39
40.. code-block:: console
41
42   Temperature: 25.25 C
43   Temperature: 25.50 C
44
45   <repeats endlessly every second>
46