Chat

Welcome to Flux

Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
Write I2C initialization code
Generate firmware skeleton
D1
U1
U2
J1
U3
U4 VOUT - U4 FB
U3 ILIM - R4 P1
U3 OUT - C3 P1
U3 OUT - C3 P1
U3 ILIM - R4 P1
J1 DN1 - J1 DN2
U3 TMR - R6 P1
J1 CC2 - R2 P1
J1 CC1 - R1 P1
U3 ISET - R3 P1
U4 VOUT - U4 FB
U3 OUT - C3 P1
U4 VOUT - U4 FB
R14 P2 - D2 A
U3 TS - R15 P1
J1 VBUS_B - F1 ~
D1 I/O1 - U1 IO13
U1 IO6 - U2 SDA
R14 P2 - D2 A
U1 IO7 - U2 SCL
U3 OUT - C3 P1
U3 ITERM - R5 P1
U4 VOUT - U4 FB
R12 P2 - R13 P1
U1 IO9 - R9 P2
U3 BAT - C2 P1
U4 L1 - L3 P1
J1 CC1 - R1 P1
U1 EN - R8 P2
D1 I/O2 - U1 IO12
U4 VOUT - U4 FB
U4 VOUT - U4 FB
U3 OUT - C3 P1
J1 VBUS_B - F1 ~
F1 ~ - D1 VBUS
U4 L1 - L3 P1
R12 P2 - R13 P1
U3 BAT - C2 P1
D1 I/O1 - U1 IO13
U1 IO7 - U2 SCL
U1 IO9 - R9 P2
J1 CC2 - R2 P1
U4 L2 - L3 P2
J1 DN1 - J1 DN2
U1 IO6 - U2 SDA
U4 VOUT - U4 FB
U4 VOUT - U4 FB
U1 EN - R8 P2
U4 VOUT - U4 FB
U4 VOUT - U4 FB
J1 DP2 - D1 I/O1
F1 ~ - D1 VBUS
U3 TMR - R6 P1
U4 VOUT - U4 FB
U4 VOUT - U4 FB
U1 IO15 - R14 P1
J2 P1 - U3 BAT
D1 I/O2 - U1 IO12
J2 P1 - U3 BAT
U3 ISET - R3 P1
U3 ITERM - R5 P1
U4 VOUT - U4 FB
J2 P1 - U3 BAT
F1 ~ - D1 VBUS
U1 EN - R8 P2
J1 DN1 - J1 DN2
R7 P2 - U4 VINA
U1 IO7 - U2 SCL
U4 VOUT - U4 FB
U1 IO9 - R9 P2
U4 VOUT - U4 FB
F1 ~ - D1 VBUS
U1 EN - R8 P2
U1 IO15 - R14 P1
R7 P2 - U4 VINA
U3 OUT - C3 P1
R7 P2 - U4 VINA
U4 L2 - L3 P2
R12 P2 - R13 P1
J1 DP2 - D1 I/O1
F1 ~ - D1 VBUS
U1 IO6 - U2 SDA
U3 TS - R15 P1
U3 EP - C1 P2
U1 GND_2 - U1 GND_3
U1 GND_11 - C8 P2
U1 GND_7 - U1 GND_8
U4 GND - U4 PGND
U3 EP - C1 P2
U2 GND_1 - U2 GND_2
C1
Capacitance
1uF
R3 P2 - R4 P2
C10
Capacitance
1uF
U1 GND_11 - C8 P2
R13 P2 - D2 K
U1 GND_11 - C8 P2
U1 GND_11 - C8 P2
U1 GND_2 - U1 GND_3
U3 EP - C1 P2
C3
Capacitance
4.7uF
U1 GND_9 - U1 GND_10
U3 EP - C1 P2
U3 EP - C1 P2
U3 EP - C1 P2
J1 SHIELD - D1 GND
C2
Capacitance
4.7uF
U3 EP - C1 P2
R3 P2 - R4 P2
U1 GND_11 - C8 P2
U4 GND - U4 PGND
U4 GND - U4 PGND
U2 GND_1 - U2 GND_2
J1 SHIELD - D1 GND
GND
R3 P2 - R4 P2
U1 GND_2 - U1 GND_3
U4 GND - U4 PGND
J1 SHIELD - J1 SHIELD
U3 EP - C1 P2
U1 GND_11 - C8 P2
C7
Capacitance
0.1uF
C11
Capacitance
4.7uF
U4 GND - U4 PGND
C5
Capacitance
10uF
R13 P2 - D2 K
U1 GND_7 - U1 GND_8
C6
Capacitance
10uF
GND
U4 GND - U4 PGND
U2 GND_1 - U2 GND_2
GND
R3 P2 - R4 P2
U1 GND_2 - U1 GND_3
U2 GND_1 - U2 GND_2
C9
Capacitance
0.1uF
J1 SHIELD - D1 GND
C8
Capacitance
22uF
J1 SHIELD - J1 SHIELD
U1 GND_9 - U1 GND_10
GND
R3 P2 - R4 P2
C4
Capacitance
10uF
R3 P2 - R4 P2
L3
Inductance
2.2uH
R10
Resistance
10kΩ
R2
Resistance
5.1kΩ
R13
Resistance
1.0MΩ
R9
Resistance
10kΩ
R11
Resistance
10kΩ
R6
Resistance
46.4kΩ
R7
Resistance
100Ω
R5
Resistance
4.12kΩ
R15
Resistance
10kΩ
R14
Resistance
1.0kΩ
R3
Resistance
1.13kΩ
R4
Resistance
1.18kΩ
R8
Resistance
10kΩ
R1
Resistance
5.1kΩ
R12
Resistance
1.0MΩ
D2
J2
SW1
F1
Buck-Boost Regulator
SW2

Refine this doc
Ask about this doc
Project Specification
Project Overview
Status: Draft schematic in progress.
Battery-powered environmental sensor board using an ESP32-C6-WROOM-1 module and Sensirion SCD41 CO2/temperature sensor. The board uses USB-C for charging and USB data/programming, a single-cell 3.7 V nominal 2000 mAh LiPo pouch battery, and a buck-boost regulator for a stable 3.3 V rail.
Intended Use
Portable or wall-mounted indoor air-quality sensor prototype with Thread-based intermittent communication and deep-sleep operation between measurements.
What the Device Should Do
  • Measure CO2 and temperature using SCD41.
  • Communicate wirelessly using ESP32-C6 Thread capability.
  • Sleep intermittently to extend battery life.
  • Charge from USB-C.
  • Support USB-C data/programming/debug via ESP32-C6 native USB Serial/JTAG.
Main Features
  • ESP32-C6-WROOM-1 MCU/radio module.
  • SCD41 I2C CO2/temperature sensor.
  • USB-C 5 V sink and USB 2.0 data interface.
  • LiPo charging with power-path management.
  • 3.3 V buck-boost regulator sized for ESP32 radio current bursts.
  • Battery voltage sense path for firmware fuel indication.
  • Boot/reset controls, status LED, and test points.
System Architecture

Diagram


USB-C 5 V and USB2 LiPo charger and power path 1S LiPo 2000 mAh System power node 3.3 V buck-boost regulator ESP32-C6-WROOM-1 SCD41 CO2 temp sensor Thread wireless network
Hardware Subsystems
  • Power: USB-C VBUS input, ESD/overcurrent protection, LiPo charger/power-path, buck-boost 3.3 V regulator.
  • Compute/wireless: ESP32-C6-WROOM-1, native USB Serial/JTAG, boot/reset support, antenna keepout required in layout.
  • Sensor: SCD41 on I2C at 3.3 V with shared pull-ups and local decoupling.
  • User/debug: USB-C data, boot/reset buttons, status LED, test points.
Interfaces and Connections
  • USB-C: VBUS, GND, CC1/CC2 sink resistors, D+/D- to ESP32-C6 USB pins through ESD protection.
  • I2C: ESP32-C6 SDA/SCL to SCD41 with one pair of pull-ups to 3.3 V.
  • Battery: 2-pin JST-style single-cell LiPo connector.
  • Debug: USB Serial/JTAG over native USB, BOOT and RESET controls.
Power and Runtime Expectations
The design targets intermittent Thread communication and deep sleep. Exact runtime depends on SCD41 measurement interval, ESP32-C6 radio transmit frequency, and firmware sleep strategy. The power architecture will be sized for ESP32 radio bursts rather than average current only.
Power Tree and Power Budget
Initial sizing target:
  • 3.3 V rail peak target: at least 600 mA for ESP32-C6 radio bursts plus sensor/support margin.
  • Buck-boost input current worst case at low battery is expected to be roughly 0.8 A peak before margin.
  • USB-C non-PD operation: 5 V sink using CC pull-downs, no PD controller.
Final measured/calculated budget will be updated after datasheet values are extracted.
Manufacturing and Assembly Expectations
Default to SMD components for a compact professional PCB. USB 2.0 D+/D- should be routed as a controlled 90 ohm differential pair, preferably on a 4-layer stackup with a solid ground reference plane.
Firmware-Relevant Hardware Requirements
  • ESP32-C6 GPIO assignment must reserve strapping pins appropriately.
  • Native USB Serial/JTAG available for programming.
  • I2C bus for SCD41.
  • ADC-capable pin for battery voltage divider, divider should be switchable or high-value to limit sleep drain.
  • Thread communication with intermittent wake/sleep cycles.
Physical Design Expectations
ESP32-C6 module antenna must sit at a board edge with the antenna keepout free of copper, traces, components, and ground pour on all layers.
Important Design Decisions
  • Use buck-boost rather than LDO to preserve 3.3 V regulation across LiPo discharge.
  • Use USB-C native USB data into ESP32-C6 instead of external USB-UART bridge.
  • Use charger/power-path management so USB can power the board while charging.
Assumptions
  • Single-cell LiPo pouch battery with 2-pin connector and no on-board fuel gauge unless added later.
  • USB-C is 5 V sink only, no USB Power Delivery negotiation.
  • SMD assembly is acceptable.
  • Thread is the primary wireless protocol; Wi-Fi is not intended to remain continuously connected.
Change Notes
  • Initial specification created from user requirements and selected buck-boost architecture.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Interfaces and Connections

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Change Notes

Documents

  • Project Specification

  • Power Budget — ESP32-C6 CO2 Sensor

  • Firmware Starter — ESP32-C6-WROOM-1-N8

  • Board Bring-Up Plan — ESP32-C6 CO2 Sensor

  • Technical Construction File — ESP32-C6 CO2 Sensor

Assets

No assets added.

ESP32-C6 CO2 Sensor

ESP32-C6 CO2 Sensor thumbnail
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.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$18.11–$32.18

Digi-Key

$33.75–$33.87

HQonline

$1.81–$1.91

LCSC

$14.78–$14.90

Mouser

$30.17

TME

$11.25

Verical

$26.83–$66.31

Controls