Smart Irrigation Controller Design


  • Connected U1:IO13, R1:P1 to ^THERMALINK_IR_TX_CTRL
  • Connected R1:P2, Q1:B to ^THERMALINK_IR_TX_BASE
  • Connected U1:5V, J1:1, R2:P1 to ^Net 1
  • Connected R2:P2, LED1:A to ^THERMALINK_IR_LED_A
  • Connected U1:IO33, SW2:1-1, SW2:1-2, R12:P1, C13:P1 to ^THERMALINK_BTN2
  • Connected SW2:2-1, SW2:2-2, C13:P2, C12:P2, C14:P2 to ^GND
  • Connected R12:P2, U1:3V3, C14:P1 to ^THERMALINK_3V3
  • Connected U1:IO32, C12:P1 to ^THERMALINK_BTN1
nets { net THERMALINK_3V3 = U2:1, C14:P1, U1:3V3, R12:P2, R10:P2, U3:V+, R11:P2; net THERMALINK_PIR_OUT = U1:IO27, J1:2; net GND = C12 P2 - U2 GND:GND, SW2 2-2 - C13 P2:GND, C14:P2, C12:P2, C13:P2, SW2:2-2, SW2:2-1, SW1 2-2 - C12 P2:GND, SW1:2-2, SW1:2-1, U2:3, U1 GND - Q1 E:GND, U1:26, U1:20, U1:14, Q1:E, U3:GND, U1 GND - U1 GND:GND, J1:3; net THERMALINK_BTN1 = SW1:1-1, C12:P1, U1:IO32, SW1:1-2, R11:P1; net THERMALINK_DHT22_DATA = U2:2, U1:IO14, R10:P1; net THERMALINK_IR_RX_OUT = U3:OUT, U1:IO25; net THERMALINK_IR_TX_LED_K = Q1:C, LED1:K; net THERMALINK_IR_TX_CTRL = U1:IO13, R1:P1; net THERMALINK_IR_TX_BASE = R1:P2, Q1:B; net Net 1 = U1:5V, R2:P1, J1:1; net THERMALINK_IR_LED_A = R2:P2, LED1:A; net THERMALINK_BTN2 = U1:IO33, SW2:1-1, SW2:1-2, C13:P1, R12:P1; }
Set the trace width for the nets GND, THERMALINK_3V3, and Net 1 to 0.5mm. Set the trace width for all other signal and GPIO nets to 0.25mm. Apply these rules to the PCB layout and update the airwires to reflect the different widths.
Listo.
Reglas aplicadas en PCB

Table


ReglaValor
Potencia: GND, THERMALINK_3V3, Net 10.5 mm
Señales / GPIO por defecto0.25 mm
Estado actual
  • La regla Power_Nets quedó en 0.5 mm para las redes de alimentación.
  • La regla general de trazas quedó en 0.25 mm para el resto de señales.
Nota sobre airwires
Los airwires reflejan conectividad, no grosor de pista. Así que:
  • sí quedan actualizados con las conexiones nuevas
  • pero no cambian visualmente de ancho por estas reglas hasta que enrutes trazas reales
Si quieres, el siguiente paso útil es revisar el listado de nets y confirmar que:
  • Net 1 sigue siendo tu red de 5V
  • no hay ninguna red de potencia adicional que también deba ir a 0.5 mm
Verifica Net 1
Chequea reglas PCB
Lista nets anchas

Project Specification
Design Summary
Status: Draft / Review / Approved
Manufacturing target: Prototype / EVT / DVT / PVT / Production
Software / firmware: repository link

Scope
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


"5V Vin" "ESP32 DevKitC V4" "GPIO13 IR transmitter" "2N2222 driver" "IR LED from node_5V through node_100R" "GPIO14 DHT22" "GPIO27 HC-SR501" "GPIO25 VS1838B" "GPIO32 button to GND" "GPIO33 button to GND"
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.
Purpose
In scope
Out of scope

System context

Requirements
Functional
Electrical
Mechanical / environmental

Key constraints

Dependencies and risks
Dependencies
Key risks

Validation
Success criteria
Planned checks

Release-facing notes
Expected deliverables
Special release notes

Change notes / open questions
Changes in this revision
Open questions
  • Design Summary

  • Scope

  • Requirements

  • System context

  • Requirements

  • Functional

  • Electrical

  • Mechanical / environmental

  • Key constraints

  • Dependencies and risks

  • Validation

  • Release-facing notes

  • Change notes / open questions