Arnov Sharma
Published © MIT

Makeshift Reflow Hotplate

A clothes iron based PCB Reflow Hotplate with Temp Control, MAX6675 is being used with XIAO MCU.

BeginnerFull instructions provided392
Makeshift Reflow Hotplate

Things used in this project

Hardware components

Seeed Studio XIAO SAMD21 (Pre-Soldered) - Seeeduino XIAO
Seeed Studio XIAO SAMD21 (Pre-Soldered) - Seeeduino XIAO
×1
Maxim Integrated max6675
×1

Software apps and online services

Fusion
Autodesk Fusion
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Seeed Studio Fusion PCB/PCBA
Seeed Studio Fusion PCB/PCBA

Story

Read more

Schematics

SCH

Code

code

C/C++
int thermoDO = 9;
int thermoCS = 7;
int thermoCLK = 8;

const int RelayPin = 1; 
const int LED = 0;
const int threshold = 150;//cuttoff temp

MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);

void setup() {
  display.begin(SSD1306_SWITCHCAPVCC, OLED_ADDR);
  pinMode(RelayPin, OUTPUT);
  pinMode(LED, OUTPUT);
  Serial.println("MAX6675 test");
  // wait for MAX chip to stabilize
  delay(500);
  display.clearDisplay();
  Serial.begin(9600);
}

void loop() {
  // basic readout test, just print the current temp


  display.setTextSize(2);
  display.setTextColor(WHITE);
  display.setCursor(10, 20);
  display.println("C= ");

 
  display.setTextSize(2);
  display.setTextColor(WHITE);
  display.setCursor(60, 20);
  display.println(thermocouple.readCelsius());

  display.display();
  
  display.clearDisplay();
  
  
  delay(300);


//   Serial.print("C = "); 
//   Serial.println(thermocouple.readCelsius());
//   Serial.print("F = ");
//   Serial.println(thermocouple.readFahrenheit());


  if (thermocouple.readCelsius() > threshold) {
    digitalWrite(RelayPin, LOW);
    digitalWrite(LED, LOW);
  } else {
    digitalWrite(RelayPin, HIGH);
    digitalWrite(LED, HIGH);
  }

   // For the MAX6675 to update, you must delay AT LEAST 250ms between reads!
   delay(500);
}

Credits

Arnov Sharma
339 projects • 344 followers
Just your average MAKER
Contact

Comments

Please log in or sign up to comment.