# ESP32-C6 CO2 Sensor ## Description Battery-powered ESP32-C6 Thread environmental sensor using SCD41 for temperature and CO2, USB-C for charging/data, LiPo power, and a buck-boost 3.3 V rail. ## Project Details - **Owner:** amirghasemi21 - **Created:** 6/11/2026 - **Last Updated:** 7/5/2026 - **Visibility:** Public ## Key Components ### Buck-Boost Regulator — [TPS63001DRCR](https://www.flux.ai/adrian95/tps63001drcr~325.md) - Datasheet URL: https://www.ti.com/lit/ds/symlink/tps63001.pdf?ts=1616520267195&ref_url=https%253A%252F%252Fwww.ti.com%252Fstore%252Fti%252Fen%252Fp%252Fproduct%252F%253Fp%253DTPS63001DRCT - Package: 10-VSON - License: https://creativecommons.org/licenses/by/4.0/ - Role: 3.3V Buck-Boost Regulator - Part Type: Integrated Circuit - Manufacturer Name: Texas Instruments - Role Details: Stable 3.3 V rail across LiPo discharge for ESP32-C6 radio bursts; corrected VSON-10 TPS63001 footprint required before routing/manufacturing - Manufacturer Part Number: TPS63001DRCR - Package or Case Code: 10-VSON **Pins:** - EN [pin 6] - EP [pin EP1] - FB [pin 10] - GND [pin 9] - L1 [pin 4] - L2 [pin 2] - PGND [pin 3] - PS/SYNC [pin 7] - VIN [pin 5] - VINA [pin 8] - VOUT [pin 1] ### D1 — [USBLC6-2SC6](https://www.flux.ai/lcsc/usblc6-2sc6~2e9x.md) - JLCPCB Part Class: Extended Part - Package or Case Code: SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BL - Part Type: ESD Protection Devices - Role: ESD Protection - Maximum Clamping Voltage: 17V - Breakdown Voltage: 6V - Manufacturer Part Number: USBLC6-2SC6 - Power: 150W - Peak Pulse Current: 5A - Symbol Style: parametric-v1 - Role Details: USB 2.0 D+/D- low-capacitance TVS protection - Datasheet URL: https://www.lcsc.com/datasheet/C2687116.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=FlkNBAIDRQULVABfFAVZBgZVFVZYBgZSQ1NeBVIFQlExVlNRTlhdUVdURFlXXzsOAxUeFF5JWBYZEEoKFBINSQcJGk4dAgUUFAk%3D - LCSC Part Number: C2687116 - Manufacturer Name: UMW(友台半导体) - Operating Temperature: -55°C ~ 125°C (TJ) **Pins:** - GND [pin 2] - I/O1 [pin 1] - I/O1 [pin 6] - I/O2 [pin 3] - I/O2 [pin 4] - VBUS [pin 5] ### D2 — [0603GBD0790S01](https://www.flux.ai/adrian95/0603gbd0790s01~iak.md) - Part Type: LED - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Low-current firmware-controlled status LED - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/4336/0603GBD0790S01.pdf - Manufacturer Name: ORIENTAL TECHNOLOGY - Role: Signal Generation - Manufacturer Part Number: 0603GBD0790S01 **Pins:** - A [pin 2] - K [pin 1] ### F1 — [SMD050F-2](https://www.flux.ai/adrian95/smd050f-2.md) - Role: Protection - Part Type: Circuit Protection Devices - Mount: Surface Mount - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Littelfuse - Datasheet URL: https://www.littelfuse.com/assetdocs/littelfuse-ptc-smd-datasheet?assetguid=e664881a-0c68-4836-928b-7ed2f0c2a6da - Manufacturer Part Number: SMD050F-2 - Role Details: 500 mA hold resettable fuse on USB VBUS **Pins:** - ~ [pin 2] - ~ [pin 1] ### J1 — [USB4215-03-A](https://www.flux.ai/adrian95/usb4215-03-a~kg3.md) - License: https://creativecommons.org/licenses/by/4.0/ - Package or Case Code: GCT_USB4215-03-A_REVA - Part Type: USB C - Role Details: 5 V sink plus USB 2.0 data connector - Datasheet URL: https://gct.co/files/specs/usb4215-spec.pdf - Role: USB-C Connector - Manufacturer Name: GCT - Symbol Style: parametric-v1 - Manufacturer Part Number: USB4215-03-A **Pins:** - CC1 [pin A5] - CC2 [pin B5] - DN1 [pin A7] - DN2 [pin B7] - DP1 [pin A6] - DP2 [pin B6] - GND_A [pin A1_B12] - GND_B [pin B1_A12] - SBU1 [pin A8] - SBU2 [pin B8] - SHIELD [pin SH1] - SHIELD [pin SH4] - SHIELD [pin SH2] - SHIELD [pin SH3] - VBUS_A [pin A4_B9] - VBUS_B [pin B4_A9] ### J2 — [S2B-PH-SM4-TB(LF)(SN)](https://www.flux.ai/adrian95/s2b-ph-sm4-tblfsn~b96.md) - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Single-cell LiPo pouch connector - Manufacturer Part Number: S2B-PH-SM4-TB(LF)(SN) - Manufacturer Name: JST Sales America Inc. - Role: Battery Connector - Datasheet URL: https://www.jst-mfg.com/product/pdf/eng/ePH.pdf **Pins:** - P1 [pin 1] - P2 [pin 2] ### SW1 — [PTS636 SM43J SMTR LFS](https://www.flux.ai/jharwinbarrozo/pts636-sm43j-smtr-lfs~6r0.md) - Manufacturer Part Number: PTS636 SM43J SMTR LFS - Role Details: Manual reset button pulls EN low - Role: Switching - Part Type: Switch - Datasheet URL: https://www.ckswitches.com/media/2779/pts636.pdf - Manufacturer Name: C&K **Pins:** - P1 [pin 1] - P2 [pin 2] ### SW2 — [PTS636 SM43J SMTR LFS](https://www.flux.ai/jharwinbarrozo/pts636-sm43j-smtr-lfs~6r0.md) - Role Details: Manual boot button pulls GPIO9 low for download mode - Manufacturer Part Number: PTS636 SM43J SMTR LFS - Manufacturer Name: C&K - Part Type: Switch - Datasheet URL: https://www.ckswitches.com/media/2779/pts636.pdf - Role: Bootstrapping **Pins:** - P1 [pin 1] - P2 [pin 2] ### U1 — [ESP32-C6-WROOM-1-N8](https://www.flux.ai/adrian95/esp32-c6-wroom-1-n8~1iw.md) - Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32-c6-wroom-1_wroom-1u_datasheet_en.pdf - Manufacturer Part Number: ESP32-C6-WROOM-1-N8 - Role: MCU / Wireless Module - Role Details: ESP32-C6 Thread controller with native USB data/programming - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: RF Transceiver - Manufacturer Name: Espressif Systems - Symbol Style: parametric-v1 - Package or Case Code: ESP32C6WROOM1N8 **Pins:** - 3V3 [pin 2] - EN [pin 3] - GND_1 [pin 1] - GND_10 [pin 36] - GND_11 [pin 37] - GND_2 [pin 28] - GND_3 [pin 29] - GND_4 [pin 30] - GND_5 [pin 31] - GND_6 [pin 32] - GND_7 [pin 33] - GND_8 [pin 34] - GND_9 [pin 35] - IO0 [pin 8] - IO1 [pin 9] - IO10 [pin 11] - IO11 [pin 12] - IO12 [pin 13] - IO13 [pin 14] - IO15 [pin 23] - IO18 [pin 16] - IO19 [pin 17] - IO2 [pin 27] - IO20 [pin 18] - IO21 [pin 19] - IO22 [pin 20] - IO23 [pin 21] - IO3 [pin 26] - IO4 [pin 4] - IO5 [pin 5] - IO6 [pin 6] - IO7 [pin 7] - IO8 [pin 10] - IO9 [pin 15] - NC [pin 22] - RXD0 [pin 24] - TXD0 [pin 25] ### U2 — [SCD41-D-R1](https://www.flux.ai/adrian95/scd41-d-r1~bhj.md) - Role: Environmental Sensor - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: SCD41-D-R1 - Part Type: Sensor - Datasheet URL: https://www.mouser.com/datasheet/2/682/Sensirion_CD_DS_SCD40_SCD41_Datasheet_D1-3305949.pdf - Symbol Style: parametric-v1 - Manufacturer Name: Sensirion AG - Role Details: SCD41 CO2/temperature/humidity sensor on I2C **Pins:** - DNC_1 [pin 1] - DNC_10 [pin 14] - DNC_11 [pin 15] - DNC_12 [pin 16] - DNC_13 [pin 17] - DNC_14 [pin 18] - DNC_2 [pin 2] - DNC_3 [pin 3] - DNC_4 [pin 4] - DNC_5 [pin 5] - DNC_6 [pin 8] - DNC_7 [pin 11] - DNC_8 [pin 12] - DNC_9 [pin 13] - GND_1 [pin 6] - GND_2 [pin 20] - GND_3 [pin 21] - SCL [pin 9] - SDA [pin 10] - VDD [pin 7] - VDDH [pin 19] ### U3 — [BQ24074RGTT](https://www.flux.ai/lcsc/bq24074rgtt~fpyl.md) - Part Type: Battery Management ICs - LCSC Part Number: C2861252 - Operating Temperature: -40 to 85°C - License: https://creativecommons.org/licenses/by/4.0/ - Implementation Details: Standalone single-cell Li-Ion/Li-Polymer linear charger and power-path management IC; 4.2 V battery regulation, 4.4 V OUT regulation, 10.5 V OVP, 1.5 A programmable fast charge/input current limit. - Symbol Style: parametric-v1 - Role Details: USB 5 V to 1S LiPo charger with system power output - Manufacturer Name: Texas Instruments - Package: VQFN-16 RGT (3 mm × 3 mm) with exposed thermal pad - Role: Battery Charger / Power Path - JLCPCB Part Class: Extended Part - Operating Voltage: IN operating range 4.35–10.2 V for BQ24074; IN withstand/recommended range up to 26 V, abs max 28 V - Datasheet URL: https://www.ti.com/lit/ds/symlink/bq24074.pdf - Manufacturer Part Number: BQ24074RGTT - Package or Case Code: VQFN-16_L3.0-W3.0-P0.50-TL-EP1.7 **Pins:** - ~{CE} [pin 4] - ~{CHG} [pin 9] - ~{PGOOD} [pin 7] - BAT [pin 2] - BAT [pin 3] - EN1 [pin 6] - EN2 [pin 5] - EP [pin 17] - ILIM [pin 12] - IN [pin 13] - ISET [pin 16] - ITERM [pin 15] - OUT [pin 11] - OUT [pin 10] - TMR [pin 14] - TS [pin 1] - VSS [pin 8] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/amirghasemi21/esp32-c6-co2-sensor~12](https://www.flux.ai/amirghasemi21/esp32-c6-co2-sensor~12).* --- *Generated from [https://www.flux.ai/amirghasemi21/esp32-c6-co2-sensor~12](https://www.flux.ai/amirghasemi21/esp32-c6-co2-sensor~12)*