ThermaLink-32 is a compact ESP32-based control and sensing schematic for a JLCPCB 2-layer project. The design uses an ESP32 DevKitC V4 (38-pin) module as the main controller, an IR transmit stage driven from GPIO13 through a 2N2222 transistor, a DHT22 on GPIO14, an HC-SR501 PIR output on GPIO27, a VS1838B IR receiver on GPIO25, and two push buttons to ground on GPIO32 and GPIO33.
Diagram
Requirements
Main controller is an ESP32 DevKitC V4, 38-pin version.
IR transmitter uses GPIO13, a 330 ohm base resistor, a 2N2222 transistor, one IR LED, and a 100 ohm series resistor tied to 5V or Vin.
DHT22 data line connects to GPIO14.
HC-SR501 output connects to GPIO27.
VS1838B output connects to GPIO25.
Two push buttons connect GPIO32 and GPIO33 to ground when pressed.
All design components should be labeled as ThermaLink-32 related in component properties.