Refine this doc
Ask about this doc

Last modified 6mo ago

Project Specification
Title
ESP32 Temperature and Heater Controller
Goal
Create a schematic for an ESP32 DevKit based temperature and heater controller powered from a 12V 10A supply. The system reads two DS18B20 temperature sensors, drives a 5V relay module for a 12V heater, displays status on a 2.8 inch ILI9341 SPI TFT, and provides buzzer, LED, and push button user interface.
Architecture

Diagram


12V node_10A Input 12V Heater Load 12V to node_5V Buck Regulator ESP32 DevKit VIN 5V Relay Module ILI9341 TFT Module DS18B20 Sensor 1 DS18B20 Sensor 2 Active Buzzer Red LED Indicator Push Button
Design Assumptions
  • Use the ESP32 DevKit VIN/5V input from a regulated 5V rail generated from the 12V supply.
  • Use the ESP32 DevKit 3V3 rail for DS18B20 power and OneWire pull-ups to keep sensor data ESP32-safe.
  • Use two independent OneWire GPIO nets, one per DS18B20 sensor, each with its own 4.7kΩ pull-up to 3V3.
  • Use a 5V relay module input driven by an ESP32 GPIO. Because this is a module, coil driver and flyback protection are assumed to be included on the relay module.
  • Relay contacts switch the 12V heater high side through COM and NO.
Planned GPIO Map

Table


FunctionESP32 GPIO
DS18B20 Sensor 1 dataGPIO4
DS18B20 Sensor 2 dataGPIO16
TFT SCLKGPIO18
TFT MISOGPIO19
TFT MOSIGPIO23
TFT CSGPIO5
TFT DCGPIO21
TFT RSTGPIO22
Relay controlGPIO25
Active buzzerGPIO26
Red LEDGPIO27
Push buttonGPIO32
Power Rails
  • 12V: external 12V 10A supply and heater load.
  • 5V: buck-regulated logic/module supply for ESP32 VIN, relay module, and TFT module.
  • 3V3: ESP32 DevKit regulated output for OneWire sensors and pull-ups.
  • GND: shared logic ground for ESP32, sensors, display, relay module input, buzzer, LED, and button.
  • Title

  • Goal

  • Architecture

  • Design Assumptions

  • Planned GPIO Map

  • Power Rails