Skip to the content
PCBKitNew board
2 layers71 × 62 mmSmartHeaterControl, the printed circuit board in 3D

This project is a smart safety and control module for electric heaters. Designed using KiCad, it includes temperature monitoring, relay-based control, safety cutoffs, and visual feedback, all powered by a…

Size
71 × 62 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
34
Pads
79
Tracks, vias
142, 7
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 May 2025
Updated
19 May 2025

Overview

SmartHeaterControl is an open-source printed circuit board by ghostking2802, from the ghostking2802/SmartHeater-CTRLModule repository on GitHub. It is a 2-layer board of 71 × 62 mm with 15 parts on 34 nets, routed with 142 tracks and 7 vias.

It is built around the ATMEGA328P-AU. Its parts include 4 resistors, 2 diodes, 2 connectors, 2 fuses and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Smart Heater Control Module 🔥

This project is a smart safety and control module for electric heaters. Designed using KiCad, it includes temperature monitoring, relay-based control, safety cutoffs, and visual feedback, all powered by a microcontroller (e.g., ESP32 or Arduino).


🧩 Features

  • Real-Time Temperature Monitoring
  • Relay Control for Heater Switch
  • Safety Cut-off with Thermal Fuse
  • OLED Display for Status Info
  • Manual Override Switch
  • PCB Designed using KiCad

📐 Block Diagram

Screenshot From 2025-05-19 02-45-44


🧪 Schematic

Screenshot From 2025-05-19 04-06-10


🛠️ PCB Layout Previews

Screenshot From 2025-05-19 04-08-29 Screenshot From 2025-05-19 04-07-51 Screenshot From 2025-05-19 04-07-22 Screenshot From 2025-05-19 04-07-03


📋 Bill of Materials (BOM)

ComponentQtyCost
ESP32 Dev Board1Rs. 300
DS18B20 Temp Sensor1Rs. 100
5V Relay Module1Rs. 60
OLED Display (0.96")1Rs. 150
7805 Regulator1Rs. 15
Discrete Components-Rs. 50
PCB Fabrication1Rs. 200

🔌 System Explanation

Power Flow

AC Mains → Step-down SMPS → 5V/12V Regulated Supply → Microcontroller → Relay Control

Sensor and Relay Logic

  • If temperature < threshold → Relay ON → Heater ON
  • If temperature ≥ threshold → Relay OFF → Heater OFF

Safety & Fallback

  • Thermal fuse as a hardware cutoff
  • Watchdog timer in software
  • Manual override and warning LED/OLED

🧪 Test Plan

  1. Simulate gradual temperature increase
  2. Observe cutoff at 60°C
  3. Check relay OFF and OLED warning
  4. Allow manual reset below 50°C

📁 Project Structure

text
├── SmartHeaterControl.kicad_sch
├── SmartHeaterControl.kicad_pcb
├── gerber/
├── screenshots/
├── BlockDiagram.png
├── Schematic.png
└── PCB_View_*.png

💻 MCU Programming Guide

Hardware Pin Mapping (ESP32)

ComponentMCU Pin
DS18B20 Temp SensorGPIO 4
Relay Module (IN)GPIO 13
OLED Display (I2C)SDA = GPIO 21, SCL = GPIO 22
Buzzer / LEDGPIO 14
Manual Reset ButtonGPIO 12

Note: DS18B20 needs a 4.7kΩ pull-up resistor on the data line.


Required Libraries (Arduino IDE)

  • OneWire.h
  • DallasTemperature.h
  • Adafruit_GFX.h
  • Adafruit_SSD1306.h

ESP32 Board Setup in Arduino IDE

  1. Install board support:
    • Board Manager URL:
      https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
  2. Select board: ESP32 Dev Module
  3. Connect device via USB and select correct COM port
  4. Install required libraries via Library Manager

👨‍💻 Author

Soumabha Majumdar
📧 soumabha.majumdar@gmail.com
📞 7003472159


📜 License

This project is open-source and free to use for academic and non-commercial purposes.

🔌 Sample Arduino Code

cpp
#include <OneWire.h>
#include <DallasTemperature.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define ONE_WIRE_BUS 4
#define RELAY_PIN 13
#define BUZZER_PIN 14
#define BUTTON_PIN 12

#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);

float cutoffTemp = 60.0;
float resumeTemp = 50.0;
bool manualReset = false;

void setup() {
  Serial.begin(115200);
  sensors.begin();

Parts

15
QtyValueFootprintReferences
3RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R4
2Conn_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1, J2
2FuseFuse:Fuseholder_Blade_Mini_Keystone_3568F1, F2
1ATmega328P-APackage_DIP:DIP-32_W7.62mmU1
1DDiode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1HeaterTerminalBlock:TerminalBlock_bornier-2_P5.08mmR3
1LEDLED_THT:LED_D5.0mmD2
1Q1Package_TO_SOT_THT:TO-92_InlineQ1
1Relay_SPDTRelay_SMD:Relay_SPDT_AXICOM_HF3Series_50ohms_Pitch1.27mmK1
1Thermistor_NTCResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalTH1
1VaristorVaristor:RV_Disc_D12mm_W7.9mm_P7.5mmRV1

Questions

How big is the SmartHeaterControl PCB?

It measures 71 × 62 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SmartHeaterControl use?

15 parts, built around the ATMEGA328P-AU. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the SmartHeaterControl KiCad files?

From the ghostking2802/SmartHeater-CTRLModule repository on GitHub, at the commit this page was made from: the board is SmartHeaterControl.kicad_pcb and its schematic SmartHeaterControl.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SmartHeaterControl design in my own project?

Its repository states no licence, so its author keeps all rights: ask ghostking2802 before reusing the design.

Similar boards

  • 2 layers50.5 × 128.5 mmOpenThereminV45, the printed circuit board in 3D

    OpenThereminV45

    GaudiLabs/OpenThereminV4

    Open Source Theremin Instrument

    107 parts249GPL-3.0
  • 2 layers152 × 88 mmRFBitBangSMT, the printed circuit board in 3D

    RFBitBangSMT

    profdc9/RFBitBanger

    A QRP digital transceiver created from readily available parts for off-the-grid maintenance

    271 parts222
  • 2 layers50.2 × 31.2 mmMCU Datalogger, the printed circuit board in 3D

    MCU Datalogger

    futureshocked/KLP4e_MCU-Datalogger

    This is the repository for the "MCU Datalogger" project.

    31 parts138MIT
  • 2 layers34 × 46 mmNfcemu, the printed circuit board in 3D

    Nfcemu

    solosky/nfc-emu

    NFC模拟器

    58 parts117Apache-2.0
  • 2 layers73 × 94 mmSportiduino base, the printed circuit board in 3D

    Sportiduino base

    sportiduino/sportiduino

    Electronic timing system for orienteering and similar outdoor sports events on Arduino

    119 parts78GPL-3.0
  • 2 layers58.9 × 44.2 mmOpenPSX2AmigaPadAdapter, the printed circuit board in 3D

    OpenPSX2AmigaPadAdapter

    SukkoPera/OpenPSX2AmigaPadAdapter

    Playstation to Commodore Amiga/CD32 Controller Adapter

    43 parts69
  • 2 layers60 × 50 mmVx8 gps prototype v2.0, the printed circuit board in 3D

    Vx8 gps prototype v2.0

    4x1md/vx8_gps

    DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.

    56 parts66MIT