ESP32-Platine mit Sensoren

Ich kontrolliere jetzt die aktuelle Platzierung gezielt auf Konflikte: Überlappungen, Bauteile außerhalb der Platine, fehlende Footprints, Schutzbereich-Verletzungen und stale/dangling traces. Airwires bewerte ich separat, weil die Platine noch nicht geroutet ist.
Ich habe einen echten Konflikt gefunden: Der USB-C-Shield von J1 kollidiert mit C21. Ich verschiebe jetzt nur C21 aus dem Shield-Bereich heraus und prüfe anschließend erneut.
Kontrolle abgeschlossen und korrigiert.
Gefunden:
  • Ein echter Platzierungskonflikt: J1 USB-C Shield kollidierte mit C21.
Korrigiert:
  • C21 wurde aus dem USB-C-Shield-Bereich verschoben.
  • Dabei wurden kleinere Nachbaranpassungen vorgenommen, ohne die Grundplatzierung zu ändern.
  • Die erneute Prüfung zeigt: keine Überlappungen, keine Bauteile außerhalb der Platine, keine fehlenden Footprints, keine ungültigen Layer-/Schutzbereichsfehler.
Hinweis: Die verbleibenden Airwires sind normal, weil noch nicht geroutet wurde.
DRC ausführen
Airwires prüfen
Platzierung optimieren
J1-Abstände prüfen
J1
U3
J2 2 - D1 2
U8 NA - C18 P2
U7 GND - C16 P2
U3 GND_11 - C7 P2
U8 NA - C18 P2
U3 GND_11 - C7 P2
U7 GND - C16 P2
U3 GND_11 - C7 P2
J1 GND - U5 GND
U3 GND_2 - U3 GND_3
J1 GND - U5 GND
J2 2 - D1 2
U8 NA - C18 P2
J2 2 - D1 2
U8 NA - C18 P2
J1 GND - U5 GND
U8 NA - C18 P2
U8 NA - C18 P2
U2 MODE - U2 STOP
J2 2 - D1 2
U8 NA - C18 P2
U8 NA - C18 P2
U8 NA - C18 P2
U8 NA - C18 P2
U2 MODE - U2 STOP
U3 GND_11 - C7 P2
U3 GND_11 - C7 P2
U3 GND_7 - U3 GND_8
U2 MODE - U2 STOP
J1 GND - U5 GND
U3 GND_2 - U3 GND_3
U8 NA - C18 P2
U2 MODE - U2 STOP
U2 MODE - U2 STOP
U8 NA - C18 P2
U3 GND_2 - U3 GND_3
U8 NA - C18 P2
U3 GND_11 - C7 P2
J2 2 - D1 2
U7 GND - C16 P2
U3 GND_11 - C7 P2
J2 2 - D1 2
J1 GND - U5 GND
U7 GND - C16 P2
U8 NA - C18 P2
U8 NA - C18 P2
U3 GND_11 - C7 P2
GND
J1 GND - U5 GND
GND
J2 2 - D1 2
J1 GND - U5 GND
J1 GND - U5 GND
J1 GND - U5 GND
U8 NA - C18 P2
J2 2 - D1 2
J1 GND - U5 GND
U8 NA - C18 P2
U3 GND_7 - U3 GND_8
U3 GND_9 - U3 GND_10
U7 GND - C16 P2
U3 GND_9 - U3 GND_10
U3 GND_11 - C7 P2
J2 2 - D1 2
U2 MODE - U2 STOP
U8 NA - C18 P2
J1 GND - U5 GND
J1 GND - U5 GND
U8 NA - C18 P2
U3 GND_2 - U3 GND_3
U8 NA - C18 P2
J2 2 - D1 2
J2 2 - D1 2
J3
R14
Resistance
24.9kΩ
R5
Resistance
44.2kΩ
R12
Resistance
316kΩ
R20
Resistance
10kΩ
R3
Resistance
1.1kΩ
R19
Resistance
2kΩ
R4
Resistance
499kΩ
R23
Resistance
110kΩ
R6
Resistance
140kΩ
R16
Resistance
100kΩ
R17
Resistance
100kΩ
R24
Resistance
27kΩ
R2
Resistance
5.1kΩ
R7
Resistance
267kΩ
R10
Resistance
4.7kΩ
R11
Resistance
1kΩ
J4
R25
Resistance
10kΩ
R13
Resistance
100kΩ
R8
Resistance
10kΩ
R18
Resistance
10Ω
R22
Resistance
330kΩ
R9
Resistance
4.7kΩ
R1
Resistance
5.1kΩ
R21
Resistance
10kΩ
R15
Resistance
1.1MΩ
U10 CE - U10 SEL
L1 P2 - U2 VOS
L1 P2 - U2 VOS
U1 ILM - R3 P1
U6 EN/UVLO - R15 P2
J3 1 - U10 VBAT_1
J5 Pin_3 - R24 P1
L2 P2 - C13 P1
L2 P2 - C13 P1
U6 RON - R14 P1
U10 VBAT_2 - U10 VBAT_SENSE
U10 IN_2 - C21 P1
U10 IN_2 - C21 P1
U10 OUT_1 - U10 OUT_2
U10 VPCC - R22 P2
U3 IO7 - U4 SCL
R24 P2 - R25 P1
U2 SW - L1 P1
U6 BST - C15 P1
U3 IO7 - U4 SCL
U6 FB - R12 P2
J1 D- - U5 I/O1
J1 D+ - U5 I/O2
L1 P2 - U2 VOS
U6 PGOOD - R17 P2
U2 VSET - R7 P1
U2 EN - C5 P1
U3 IO7 - U4 SCL
U9 RXD - U3 IO19
J1 D+ - U5 I/O2
U1 OVLO/OVCSEL - R5 P2
U9 OUT - U3 IO20
U1 EN/UVLO - R4 P2
R18 P2 - U8 VDD
L1 P2 - U2 VOS
U6 SW - L2 P1
U3 EN - R8 P2
U1 EN/UVLO - R4 P2
J4 1 - C24 P1
U6 FB - R12 P2
U1 ITIMER - C4 P1
J2 1 - F1 ~
U3 IO6 - U4 SDA
D2 K - D3 K
U10 VBAT_2 - U10 VBAT_SENSE
U1 OVLO/OVCSEL - R5 P2
L1 P2 - U2 VOS
J1 VBUS - U5 VBUS
R24 P2 - R25 P1
L2 P2 - C13 P1
U2 SW - L1 P1
U1 DVDT - C3 P1
U5 I/O1 - U3 IO12
J1 D- - U5 I/O1
U10 OUT_1 - U10 OUT_2
L1 P2 - U2 VOS
U1 OUT - C2 P1
U10 PROG3 - R20 P1
J1 VBUS - U5 VBUS
L1 P2 - U2 VOS
U2 EN - C5 P1
U10 VPCC - R22 P2
U6 FB - R12 P2
J5 Pin_3 - R24 P1
J2 1 - F1 ~
U3 EN - R8 P2
U9 OUT - U3 IO20
J3 1 - U10 VBAT_1
U3 EN - R8 P2
U2 VSET - R7 P1
J1 CC2 - R2 P1
U2 EN - C5 P1
L1 P2 - U2 VOS
J1 CC1 - R1 P1
U3 IO6 - U4 SDA
L1 P2 - U2 VOS
U10 OUT_1 - U10 OUT_2
J1 VBUS - U5 VBUS
U6 BST - C15 P1
R18 P2 - U8 VDD
U1 OUT - C2 P1
U3 IO6 - U4 SDA
U1 ILM - R3 P1
U5 I/O2 - U3 IO13
U10 CE - U10 SEL
U5 I/O2 - U3 IO13
F1 ~ - D1 1
J1 VBUS - U5 VBUS
U1 EN/UVLO - R4 P2
U6 RON - R14 P1
U2 EN - C5 P1
J1 CC2 - R2 P1
U6 PGOOD - R17 P2
R18 P2 - U8 VDD
U10 PROG1 - R19 P1
D2 K - D3 K
L1 P2 - U2 VOS
J4 1 - C24 P1
L2 P2 - C13 P1
U3 EN - R8 P2
U3 IO6 - U4 SDA
U1 DVDT - C3 P1
U10 VBAT_2 - U10 VBAT_SENSE
L1 P2 - U2 VOS
U5 I/O1 - U3 IO12
U3 IO9 - SW2 1
U6 EN/UVLO - R15 P2
U3 IO9 - SW2 1
U6 SW - L2 P1
U10 PROG1 - R19 P1
U10 THERM - R21 P1
L1 P2 - U2 VOS
F1 ~ - D1 1
L1 P2 - U2 VOS
R11 P2 - LED1 A
D2 K - D3 K
U3 IO6 - U4 SDA
L2 P2 - C13 P1
R11 P2 - LED1 A
U2 EN - C5 P1
R24 P2 - R25 P1
L2 P2 - C13 P1
U3 IO15 - R11 P1
J1 CC1 - R1 P1
U6 EN/UVLO - R15 P2
F1 ~ - D1 1
L1 P2 - U2 VOS
U1 ITIMER - C4 P1
U10 PROG3 - R20 P1
U9 TXD - U3 IO18
L1 P2 - U2 VOS
U3 IO7 - U4 SCL
D2 K - D3 K
U3 IO7 - U4 SCL
U9 RXD - U3 IO19
U6 SW - L2 P1
U10 THERM - R21 P1
U10 IN_2 - C21 P1
L1 P2 - U2 VOS
U2 EN - C5 P1
L1 P2 - U2 VOS
J1 VBUS - U5 VBUS
U9 TXD - U3 IO18
U3 IO15 - R11 P1
F1 ~ - D1 1
U1 OVLO/OVCSEL - R5 P2
U2 EN - C5 P1
U10 VPCC - R22 P2
F1 ~ - D1 1
F1 ~ - D1 1
C12
Capacitance
2.2uF
C14
Capacitance
22uF
U4
L1
Inductance
2.2uH
C10
Capacitance
100nF
C22
Capacitance
10uF
C11
Capacitance
2.2uF
C18
Capacitance
100nF
C15
Capacitance
2.2nF
C5
Capacitance
4.7uF
C4
Capacitance
2.2nF
C21
Capacitance
10uF
C19
Capacitance
1uF
C6
Capacitance
10uF
C23
Capacitance
4.7uF
C16
Capacitance
100nF
C9
Capacitance
1uF
C1
Capacitance
1uF
C13
Capacitance
22uF
C7
Capacitance
22uF
L2
Inductance
33uH
C3
Capacitance
3.3nF
C20
Capacitance
10uF
C17
Capacitance
10uF
C8
Capacitance
100nF
C24
Capacitance
100nF
C2
Capacitance
47uF
U2
LED1
D1
J5
U1
SW1
J2
D2
U6
SW2
D3
U7
U8
F1
U9
U10
U5

Refine this doc
Ask about this doc
Project Specification — 24V ESP32-C6 Matter Environmental Presence Sensor
Status
This file captures the revised target architecture requested on 2026-05-17. The existing schematic currently contains a USB-C powered ESP32-C6 environmental sensor with SHT40, TPS259474 eFuse, TPS62840 buck, USB-C programming, USB ESD, buttons and status LED. The new request is a larger architecture change: primary 24 V DC input, Matter/Thread capability, mmWave + PIR presence/motion sensing, more environmental sensors, and optional battery/solar operation.
User Requirements
  • MCU: ESP32-based design.
  • Connectivity: WiFi, Bluetooth LE, Matter and Thread capable.
  • Programming: USB-C.
  • Primary power: 24 V DC.
  • Sensors:
    • mmWave presence detection.
    • PIR motion detector.
    • Temperature.
    • Humidity.
    • Light level.
    • Air quality.
  • Future/optional power: rechargeable battery with solar panel input.
MCU / Wireless
Use the existing ESP32-C6 module family if possible, because ESP32-C6 supports WiFi, Bluetooth LE and IEEE 802.15.4, enabling Thread/Matter designs. Keep native USB programming over USB-C and retain BOOT/RESET buttons.
Power Tree
Recommended power domains:

Text


24V DC input
  -> input fuse / reverse polarity / surge TVS / EMI filter
  -> high-voltage buck converter to 5V system rail
  -> efficient 3.3V buck or buck/LDO post-regulator for ESP32 + sensors

USB-C 5V VBUS
  -> USB data + ESD protection for programming
  -> optional alternate 5V power input OR programming-only VBUS sense, depending on final choice

Solar panel input
  -> solar-capable single-cell Li-ion/LiPo charger / power-path IC
  -> battery connector + protection
  -> system rail OR backup rail feeding 3.3V regulator
Power Path Decision Needed
There are two viable approaches:
  1. 24V-primary device with optional battery backup
    • 24 V powers the system normally.
    • Solar charges the battery when available.
    • Battery keeps the low-voltage system alive during 24 V outage.
    • Recommended for wall/ceiling/building sensor nodes.
  2. Battery/solar-primary device with 24V auxiliary input
    • Battery powers the sensor most of the time.
    • 24 V is treated as an external charging/supply source.
    • Requires aggressive sleep design; mmWave sensors may dominate power.
Default assumption for schematic work: 24V-primary with optional 1-cell Li-ion/LiPo backup and solar charger header.
Preliminary Power Budget
Approximate sizing values until all exact sensor MPNs are chosen:

Table


RailLoadTypicalPeak / Notes
3.3VESP32-C6 module80-180 mAWiFi peaks can be several hundred mA
3.3V or 5VmmWave presence module60-150 mADepends strongly on module
3.3VPIR sensor interface50-500 uAMany PIR modules need 3.3V or 5V
3.3VTemp/humidity sensor<1 mA averageSHT40 already present
3.3VLight sensor<1 mAI2C
3.3VAir-quality sensor10-80 mAMOX/VOC sensors draw more due heater
3.3VPull-ups/LEDs/margin5-20 mALED current configurable
Initial design target:
  • 3.3 V rail: at least 600 mA peak capability.
  • 5 V rail: at least 500 mA if mmWave or external sensor modules need 5 V.
  • 24 V input buck: size for at least 3 W output plus margin.
Candidate Functional Blocks
1. 24V Input Protection
  • 2-pin screw terminal or pluggable terminal block for 24 V DC.
  • Fuse or resettable PTC sized after final current budget.
  • Reverse polarity protection, ideally P-channel MOSFET or ideal-diode controller.
  • TVS diode rated for 24 V industrial transients.
  • Input bulk capacitor and EMI filtering.
2. 24V to 5V/3.3V Conversion
  • Replace or supplement the current low-voltage TPS62840 path; it is not suitable as a direct 24 V input regulator.
  • Use a high-voltage buck regulator with adequate input voltage margin, followed by 3.3 V conversion.
  • Keep regulator input/output capacitors and inductor values strictly datasheet-based.
3. USB-C Programming
  • Keep USB-C 2.0 receptacle.
  • Keep CC1/CC2 5.1 kΩ pull-downs.
  • Keep USB D+/D- ESD protection.
  • ESP32-C6 native USB D+/D- to module pins.
  • Decide whether USB-C powers the board during programming or is programming-only.
4. ESP32-C6 Core
  • ESP32-C6 module retained for Matter/Thread/WiFi/BLE.
  • 3.3 V decoupling and bulk capacitance near module.
  • EN pull-up and reset filter.
  • BOOT and RESET buttons.
  • Antenna keepout and edge placement required in layout.
5. Sensor Bus
  • I2C bus for temperature/humidity, light, and air-quality sensors.
  • One shared pair of I2C pull-ups only.
  • Each sensor gets local 100 nF decoupling.
  • Optional interrupt pins routed where useful.
6. Presence / Motion
  • mmWave module likely UART or GPIO + 3.3/5 V supply. Choose exact module before schematic wiring.
  • PIR sensor can be digital GPIO input; add RC/filter and ESD/protection if connectorized.
7. Battery / Solar Option
  • Solar input connector.
  • Single-cell Li-ion/LiPo battery connector with NTC if supported.
  • Solar charger / power-path IC chosen after panel voltage/current and battery capacity are known.
  • Load sharing so 24 V/solar/USB/battery sources do not backfeed each other.
Suggested Sensor Choices to Evaluate
Final parts must be selected from available library parts and datasheets before wiring.
  • Temperature/humidity: existing Sensirion SHT40 can stay.
  • Light: VEML7700, OPT3001, or similar I2C ambient light sensor.
  • Air quality: SGP40/SGP41/BME688/SCD40 family depending whether VOC-only or CO2-equivalent/real CO2 is desired.
  • mmWave: LD2410/LD2410C-style module, Seeed MR24HPC1, or another documented 3.3/5 V UART module.
  • PIR: low-power digital PIR module/sensor with 3.3 V-compatible output.
Open Decisions Before Schematic Rebuild
  1. Should USB-C also power the board, or only program/debug it?
  2. Battery type/capacity: single-cell Li-ion/LiPo assumed; confirm capacity and connector type.
  3. Solar panel voltage/current range.
  4. Preferred mmWave module.
  5. Air-quality definition: VOC index only, CO2-equivalent, or real CO2 measurement?
  6. Board form factor and connector preferences.
Proposed Schematic Rebuild Sequence
  1. Keep ESP32-C6, USB-C, USB ESD, buttons, status LED and SHT40 where suitable.
  2. Add 24 V input connector and protection block.
  3. Replace/add high-voltage buck conversion for 24 V input.
  4. Add optional solar/battery charger and power-path block.
  5. Add light, air-quality, mmWave and PIR sensor blocks.
  6. Wire all ICs per datasheet, with decoupling and pull-ups.
  7. Run ERC and fix remaining schematic issues.
  8. Only after schematic is clean: proceed to PCB sizing, placement and routing.
  • Status

  • User Requirements

  • Recommended Architecture

  • MCU / Wireless

  • Power Tree

  • Power Path Decision Needed

  • Preliminary Power Budget

  • Candidate Functional Blocks

  • 1. 24V Input Protection

  • 2. 24V to 5V/3.3V Conversion

  • 3. USB-C Programming

  • 4. ESP32-C6 Core

  • 5. Sensor Bus

  • 6. Presence / Motion

  • 7. Battery / Solar Option

  • Suggested Sensor Choices to Evaluate

  • Open Decisions Before Schematic Rebuild

  • Proposed Schematic Rebuild Sequence

24V ESP32-C6 Matter Environmental Presence Sensor

24V ESP32-C6 Matter Environmental Presence Sensor thumbnail
24 V DC powered ESP32-C6 Matter/Thread WiFi/BLE environmental presence sensor with USB-C programming, mmWave/PIR motion sensing, temperature, humidity, light and air-quality sensing, plus optional Li-ion battery and solar charging power path.

Properties

IoT environmental presence sensor

24 V DC input buck to 5 V/3.3 V, protected USB-C programming path, optional solar/battery power path with load sharing

Functional blocks: 24 V input protection and buck conversion, ESP32-C6 module, I2C environmental/light/air-quality sensors, mmWave presence sensor, PIR motion input, USB-C native programming, optional Li-ion battery charger/solar input

WiFi, Bluetooth LE, Thread / Matter via ESP32-C6

USB-C programming, reset/boot buttons, status LED

24 V DC primary input; USB-C 5 V programming; optional single-cell Li-ion/LiPo battery with solar charging input

V

Pricing & Availability

Distributor

Qty 1

Arrow

$12.14–$15.98

Digi-Key

$15.02–$25.14

HQonline

$8.81–$8.94

LCSC

$28.11–$29.10

Mouser

$30.04–$30.48

TME

$12.76

Verical

$8.57–$44.00

Controls

New control