Arduino based MAX6675 Thermocouple using Proteus Software

Status
Not open for further replies.

imranahmed

Advanced Member level 3
Joined
Dec 4, 2011
Messages
817
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Karachi,Pakistan
Activity points
6,493
Please let me know I simulate MAX6675 + Arduino in Proteus Software but it cannot show right values, it is showing different values. I tried many things change in settings of MAX6675 and k-type thermocouple but could not succeeded.
Code:
#include "max6675.h"
int thermoDO = 9;
int thermoCS = 10;
int thermoCLK = 13;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
void setup() {
  Serial.begin(9600);
  Serial.println("MAX6675 test");
  // wait for MAX chip to stabilize
  delay(500);
}
void loop() {
  // basic readout test, just print the current temp
   Serial.print("C = ");
   Serial.println(thermocouple.readCelsius());
   Serial.print("F = ");
   Serial.println(thermocouple.readFahrenheit());
   // For the MAX6675 to update, you must delay AT LEAST 250ms between reads!
   delay(1000);
}
 

Attachments

  • ProteusSim.png
    35.6 KB · Views: 2,934

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…