Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Arnov Sharma
Published © MIT

PCB Hotplate Mini Edition

Made an SMT hotplate completely from FR4 PCB.

BeginnerFull instructions provided1 hour3,047
PCB Hotplate Mini Edition

Things used in this project

Hardware components

Microchip attiny13
×1
Arduino Nano R3
Arduino Nano R3
×1

Hand tools and fabrication machines

Seeed Studio Fusion PCB/PCBA
Seeed Studio Fusion PCB/PCBA

Story

Read more

Schematics

SCH

Code

code

C/C++
int ThermistorPin = 1;
const int RelayPin = 0; 
const int threshold = 210;  //Stopping temp

int Vo;
float R1 = 100000;
float logR2, R2, T, Tc;
float c1 = 1.009249522e-03, c2 = 2.378405444e-04, c3 = 2.019202697e-07;

void setup() {
pinMode(RelayPin, OUTPUT);
pinMode(ThermistorPin, INPUT);
Serial.begin(9600);
}

void loop() {

  Vo = analogRead(ThermistorPin);
  R2 = R1 * (1023.0 / (float)Vo - 1.0);
  logR2 = log(R2);
  T = (1.0 / (c1 + c2*logR2 + c3*logR2*logR2*logR2));
  T = T - 273.15;
  
  Serial.print("Temperature: "); 
  Serial.print(T);
  Serial.println(" C"); 

  delay(500);

 if (Tc > threshold) {
    digitalWrite(RelayPin, LOW);
  } else {
    digitalWrite(RelayPin, HIGH);
  }
 
}

Credits

Arnov Sharma

Arnov Sharma

310 projects • 311 followers
Just your average MAKER

Comments