USB-C Sensor Node
Project Specification — USB-C WiFi BLE T-RH Sensor
Design Notes and Power Budget — USB-C WiFi BLE T-RH Sensor
Firmware Starter — ESP32-C3-WROOM-02-N4
Board Bring-Up Plan — USB-C WiFi BLE T-RH Sensor
Table
| Rail | Source | Expected | Tolerance | Measure At | Current Limit | Pass Criteria |
|---|---|---|---|---|---|---|
| VBUS_RAW | USB-C VBUS | 5.0 V | 4.75–5.25 V | J1 VBUS / D2:C | 100 mA initial | Present after USB attach |
| VBUS_PROT | TPS25940 OUT | ~5.0 V | 4.3–5.8 V valid window | U3 OUT / C7:P1 | 100 mA initial | Ramps without fault |
| 3V3 | TPS62840 output | 3.3 V | ±5% | C8:P1 / U1:3V3 | 150 mA initial | 3.135–3.465 V |
| GND | USB-C GND | 0 V | n/a | J1 GND | n/a | Low impedance continuity |
Table
| Signal | Net | Expected State | Measure At | Notes |
|---|---|---|---|---|
| ESP_EN | ESP_EN | High after RC delay | U1 EN | Reset button pulls low |
| ESP_BOOT | ESP_BOOT | High normally | U1 GPIO9 | Hold BOOT low during reset for download mode |
| ESP_GPIO2_STRAP | ESP_GPIO2_STRAP | High | U1 GPIO2 | Boot strap pull-up |
| ESP_GPIO8_STRAP | ESP_GPIO8_STRAP | High | U1 GPIO8 | Required high with GPIO9 low for download |
| EFUSE_PGOOD | EFUSE_PGOOD | High when VBUS_PROT valid | U1 GPIO7 | Open-drain pull-up to 3V3 |
| EFUSE_FLT_N | EFUSE_FLT_N | High normally, low on fault | U1 GPIO10 | Open-drain pull-up to 3V3 |
| I2C_SDA/SCL | I2C_SDA/I2C_SCL | Idle high | U2 SDA/SCL | 4.7 kΩ pull-ups |
Table
| Connector | Pins to Verify | Test Method |
|---|---|---|
| USB-C J1 | VBUS, GND, CC1, CC2, D+, D− | DMM continuity and USB enumeration |
| Reset/Boot buttons | EN, GPIO9 | Scope or DMM while pressing |
Table
| Interface | Signals | Tool |
|---|---|---|
| Native USB Serial/JTAG | GPIO18 D−, GPIO19 D+ | PlatformIO / esptool.py |
pio run -t upload.pio device monitor and confirm startup prints CC readings, eFuse status, and SHT40 data.Table
| Test | Components | Expected Output | Pass Criteria |
|---|---|---|---|
| I2C scan / SHT40 read | U1, U2, R7, R8 | SHT40 at 0x44 | Valid T/RH values |
| Wi-Fi connect | U1 | IP address or offline retry message | No resets during connection |
| BLE advertise | U1 | Device name T-RH Sensor Node | Visible from BLE scanner |
| CC sense | J1, R24, R25, U1 ADC | Active CC voltage classification | Default/1.5A/3A classification plausible |
| eFuse status | U3, U1 | PGOOD high, FLT_N high | No fault in normal operation |
| Status LED | D3, R23, U1 GPIO6 | Blink/toggle | LED does not heat sensor area |
Table
| Measurement | Location | Expected | Instrument |
|---|---|---|---|
| 3V3 ripple | C8 | Low, no brownout during Wi-Fi | Oscilloscope |
| USB D+/D− | R9/R10 | USB full-speed activity during enumeration | Oscilloscope |
| I2C idle | U2 pins | ~3.3 V | DMM/scope |
| SHT40 ambient | Firmware print | Plausible room T/RH | Serial monitor |
Table
| Section | Result | Notes |
|---|---|---|
| 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 |
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