Arnov Sharma
Published © GPL3+

DIY SMT Hotplate Project

Minimal SMT Hotplate from Cloth Iron's Element, OLED Displays the temperature of Iron via a 10K thermistor, pretty simple stuff yo

BeginnerFull instructions provided4 hours2,008
DIY SMT Hotplate Project

Things used in this project

Hardware components

JLCPCB Customized PCB
JLCPCB Customized PCB
×1
ATmega328
Microchip ATmega328
×1
oled display SSD1306
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Custom parts and enclosures

body

Schematics

Block Diagram 1

Whole Block Diagram with NTC and Power supply

Block Diagram 2

For AC Connections of Hotplate

Code

OLED Temperature display

C/C++
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels


Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

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


void setup(){
  display.begin(SSD1306_SWITCHCAPVCC,0x3C);
  display.clearDisplay();
  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));
  Tc = T - 273.15;
 Serial.println(Tc);
  display.clearDisplay();
  display.setTextSize(3);
  display.setTextColor(WHITE);
  display.setCursor(0, 40);
  display.println("C");
  display.display();
  display.setTextSize(4);
  display.setTextColor(WHITE);
  display.setCursor(3, 0);
  display.println(Tc);
  display.display();
  delay(1);



}
  
  

Credits

Arnov Sharma

Arnov Sharma

267 projects • 273 followers
Just your average MAKER

Comments