Project Specification
Project Overview
Status: Draft. USB-C powered consumer environmental sensor node with Wi-Fi + Bluetooth connectivity and a digital temperature/relative-humidity sensor.
Intended Use
Indoor consumer/prototype environmental monitoring powered from a USB-C 5 V source such as a wall adapter, hub, or computer port.
What the Device Should Do
- Measure ambient temperature and relative humidity digitally.
- Communicate over 2.4 GHz Wi-Fi 802.11 b/g/n and BLE 5.x.
- Power from USB-C 5 V default sink mode.
- Tolerate USB-C sources advertising approximately 0.5 A to 3 A, without drawing more than the design requires.
- Include input protection for reverse/over-voltage/under-voltage/over-current events.
Main Features
- ESP32-class ultra-low-power Wi-Fi/BLE MCU module with integrated antenna.
- Digital I2C T/RH sensor.
- USB-C receptacle for 5 V input and USB programming/debug.
- Protected 5 V power path, high-efficiency 3.3 V rail, boot/reset controls, status LED, and test points.
System Architecture
USB-C 5 V input -> CC sink configuration -> eFuse/protection -> 3.3 V regulator -> ESP32 Wi-Fi/BLE MCU + I2C T/RH sensor. USB D+/D- route to the MCU native USB interface through ESD protection.
Hardware Subsystems
- Power input/protection: USB-C receptacle, CC pull-downs, ESD, eFuse with OVP/UVLO/OCP/reverse-current protection.
- Regulation: 5 V to 3.3 V high-efficiency regulator sized for radio current peaks.
- Compute/radio: ESP32-C3/S3 class module with integrated 2.4 GHz antenna.
- Sensing: I2C digital temperature/humidity sensor with local decoupling.
- User/debug: boot and reset buttons, status LED, USB serial/JTAG programming.
Interfaces and Connections
- USB-C VBUS/GND/CC1/CC2 and USB 2.0 D+/D-.
- I2C SDA/SCL between MCU and T/RH sensor with one pull-up pair.
- GPIO for status LED and boot/reset controls.
Power and Runtime Expectations
USB-powered only in this revision. Low-power firmware should use radio sleep modes between readings, but USB supply means runtime is source-limited rather than battery-limited.
Power Tree and Power Budget
Preliminary sizing target: 3.3 V rail supports ESP32 radio peaks plus sensor and LED. Protection and regulator are selected after summing downstream load and checking thermal/current margins.
Manufacturing and Assembly Expectations
Consumer-use prototype with SMD assembly, integrated RF module to avoid custom RF matching, antenna at board edge with keepout during layout.
Firmware-Relevant Hardware Requirements
Native USB programming/debug, boot button, reset/enable circuit, I2C sensor initialization, Wi-Fi/BLE connectivity, low-power sleep policy, status LED.
Physical Design Expectations
Compact 2-layer or 4-layer PCB. ESP32 module antenna at board edge with no copper/components in antenna keepout. USB-C connector on board edge.
Important Design Decisions
- Use an RF-certified ESP32 module rather than bare RF silicon.
- Use a high-efficiency 3.3 V regulator instead of a small LDO because ESP32 Wi-Fi peaks make LDO thermal dissipation high from 5 V.
- Use independent USB-C CC pull-downs for sink-only 5 V operation.
Assumptions
- SMD assembly is acceptable.
- No battery is required in this revision.
- USB Power Delivery negotiation is not required; device is a default 5 V sink.
Change Notes
- Initial requirements captured from user request.