Use MAX6675 with Arduino MEGA to measure water temperature

The MAX6675 performs cold-junction compensation and digitizes the signal from a type-K thermocouple. The data is output in a 12-bit resolution, SPI™-compatible, read-only format.This post we will demo how to use the MEGA+MAX6675 to measure water temperature.