USB-C Sensor Node


Created 5 project docs

Project Specification — USB-C WiFi BLE T-RH Sensor

View Document

Status: Draft schematic complete / ready for review. A consumer USB-C powered environmental sensor node measuring temperature and relative h...

Design Notes and Power Budget — USB-C WiFi BLE T-RH Sensor

View Document

USB-C receptacle in 5 V sink/device mode. TPS25940LRVCR eFuse for OVP, UVLO, overcurrent, inrush control, fault telemetry, current monitor, ...

Firmware Starter — ESP32-C3-WROOM-02-N4

View Document

MCU/module: ESP32-C3-WROOM-02-N4 Framework: Arduino on PlatformIO

Board Bring-Up Plan — USB-C WiFi BLE T-RH Sensor

View Document

Equipment: USB current-limited bench supply or USB power meter, DMM, oscilloscope, USB-C cable, PlatformIO host. Firmware: see Firmware Star...
Show 1 More
I added project documentation: specification, power/design notes, firmware starter, bring-up plan, and FCC/CE notes. I’m running checks now and will fix any real schematic issues found.
Implemented the schematic for the USB-C powered Wi‑Fi/BLE temperature/humidity sensor node with ESP32-C3, SHT40, TPS25940 input protection, TPS62840 3.3 V buck, USB programming, CC current sensing, boot/reset, and status LED. ERC/passive checks are clean; remaining reported errors are expected pre-layout airwires and generic-passive MPNs to resolve before manufacturing.
Project files created:
Suggested next steps:
  1. Do PCB placement with ESP32 antenna keepout and SHT40 thermal isolation.
  2. Route USB D+/D−, buck power loop, and sensitive sensor/ADC nets.
  3. Assign production MPNs to generic passives.
  4. Run full DRC/manufacturing checks after layout.
Place, route, assign MPNs
Start PCB placement
Route critical nets
Assign passive MPNs
Run full checks
Review USB-C compliance

Board Bring-Up Plan — USB-C WiFi BLE T-RH Sensor
Prerequisites
  • Equipment: USB current-limited bench supply or USB power meter, DMM, oscilloscope, USB-C cable, PlatformIO host.
  • Firmware: see Firmware Starter project file.
  • Safety: power only from 5 V USB-C; do not inject more than 5.5 V on VBUS_RAW during normal bring-up.
1. Visual Inspection
  • Inspect USB-C connector soldering, eFuse/buck orientation, ESP32 module alignment, SHT40 orientation, TVS polarity, LED polarity.
  • Confirm no contamination or flux residue near SHT40 sensor opening.
  • Confirm ESP32 antenna area is not covered by copper, components, screws, or enclosure metal.
2. Power Rail Verification

Table


RailSourceExpectedToleranceMeasure AtCurrent LimitPass Criteria
VBUS_RAWUSB-C VBUS5.0 V4.75–5.25 VJ1 VBUS / D2:C100 mA initialPresent after USB attach
VBUS_PROTTPS25940 OUT~5.0 V4.3–5.8 V valid windowU3 OUT / C7:P1100 mA initialRamps without fault
3V3TPS62840 output3.3 V±5%C8:P1 / U1:3V3150 mA initial3.135–3.465 V
GNDUSB-C GND0 Vn/aJ1 GNDn/aLow impedance continuity
Procedure:
  1. With board unpowered, measure resistance from VBUS_RAW, VBUS_PROT, and 3V3 to GND; investigate shorts before powering.
  2. Apply 5 V with 100 mA current limit; verify VBUS_RAW then VBUS_PROT.
  3. Increase current limit to 300 mA, verify 3V3.
  4. Increase to 750 mA only after confirming no overheating or fault indication.
3. Critical Signal Verification

Table


SignalNetExpected StateMeasure AtNotes
ESP_ENESP_ENHigh after RC delayU1 ENReset button pulls low
ESP_BOOTESP_BOOTHigh normallyU1 GPIO9Hold BOOT low during reset for download mode
ESP_GPIO2_STRAPESP_GPIO2_STRAPHighU1 GPIO2Boot strap pull-up
ESP_GPIO8_STRAPESP_GPIO8_STRAPHighU1 GPIO8Required high with GPIO9 low for download
EFUSE_PGOODEFUSE_PGOODHigh when VBUS_PROT validU1 GPIO7Open-drain pull-up to 3V3
EFUSE_FLT_NEFUSE_FLT_NHigh normally, low on faultU1 GPIO10Open-drain pull-up to 3V3
I2C_SDA/SCLI2C_SDA/I2C_SCLIdle highU2 SDA/SCL4.7 kΩ pull-ups
4. Connector and Interface Tests

Table


ConnectorPins to VerifyTest Method
USB-C J1VBUS, GND, CC1, CC2, D+, D−DMM continuity and USB enumeration
Reset/Boot buttonsEN, GPIO9Scope or DMM while pressing
Procedure:
  1. Check CC1 and CC2 each have ~5.1 kΩ to GND with board unpowered.
  2. Verify VBUS appears only after Type-C attach.
  3. Confirm USB enumerates as ESP32-C3 USB serial/JTAG when firmware/bootloader is active.
5. Programming and Debug

Table


InterfaceSignalsTool
Native USB Serial/JTAGGPIO18 D−, GPIO19 D+PlatformIO / esptool.py
Procedure:
  1. Connect USB-C.
  2. If upload fails, hold BOOT, tap RESET, release BOOT.
  3. Run pio run -t upload.
  4. Run pio device monitor and confirm startup prints CC readings, eFuse status, and SHT40 data.
6. Functional Validation

Table


TestComponentsExpected OutputPass Criteria
I2C scan / SHT40 readU1, U2, R7, R8SHT40 at 0x44Valid T/RH values
Wi-Fi connectU1IP address or offline retry messageNo resets during connection
BLE advertiseU1Device name T-RH Sensor NodeVisible from BLE scanner
CC senseJ1, R24, R25, U1 ADCActive CC voltage classificationDefault/1.5A/3A classification plausible
eFuse statusU3, U1PGOOD high, FLT_N highNo fault in normal operation
Status LEDD3, R23, U1 GPIO6Blink/toggleLED does not heat sensor area
7. Expected Measurements Reference

Table


MeasurementLocationExpectedInstrument
3V3 rippleC8Low, no brownout during Wi-FiOscilloscope
USB D+/D−R9/R10USB full-speed activity during enumerationOscilloscope
I2C idleU2 pins~3.3 VDMM/scope
SHT40 ambientFirmware printPlausible room T/RHSerial monitor
Pass/Fail Summary

Table


SectionResultNotes
Visual inspection[ ] Pass / [ ] Fail
Power rails[ ] Pass / [ ] Fail
Critical signals[ ] Pass / [ ] Fail
USB programming[ ] Pass / [ ] Fail
Sensor read[ ] Pass / [ ] Fail
Wi-Fi/BLE[ ] Pass / [ ] Fail
Board status: [ ] Ready for layout/manufacturing review / [ ] Requires rework.
  • Prerequisites

  • 1. Visual Inspection

  • 2. Power Rail Verification

  • 3. Critical Signal Verification

  • 4. Connector and Interface Tests

  • 5. Programming and Debug

  • 6. Functional Validation

  • 7. Expected Measurements Reference

  • Pass/Fail Summary