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

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

Documents

    Project Specification — 24V ESP32-C6 Matter Environmental Presence Sensor

    Firmware Starter — ESP32-C6-WROOM-1-N8 24V Matter Environmental Presence Sensor

    Design Review Results — USB-C WiFi BLE Environmental Sensor Node

    Power Budget — 24V ESP32-C6 Matter Environmental Presence Sensor

Assets

No assets added.

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