THERMOCOUPLE MAX6675

thermocouple

The code can be downloaded at :

https://github.com/triantara/ARDUINO-TRIANTARA/blob/main/thermocouple.zip

#include “max6675.h”

int ktcSO = 8;

int ktcCS = 9;

int ktcCLK = 10;

MAX6675 ktc(ktcCLK, ktcCS, ktcSO);

void setup() {

Serial.begin(9600);

// give the MAX a little time to settle

delay(500);

}

void loop() {

// basic readout test

Serial.print(“Deg C = “);

Serial.print(ktc.readCelsius());

Serial.print(“\t Deg F = “);

Serial.println(ktc.readFahrenheit());

delay(500);

}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s