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Ω
D2
R5
Resistance
4.12kΩ
J2
R15
Resistance
10kΩ
R14
Resistance
1.0kΩ
R3
Resistance
1.13kΩ
SW1
R4
Resistance
1.18kΩ
R8
Resistance
10kΩ
F1
R1
Resistance
5.1kΩ
R12
Resistance
1.0MΩ
Buck-Boost Regulator
SW2

Refine this doc
Ask about this doc
Board Bring-Up Plan — ESP32-C6 CO2 Sensor
Prerequisites
  • Equipment: multimeter, current-limited USB supply, oscilloscope if available, USB-C cable, PlatformIO host.
  • Battery: protected 1-cell LiPo, nominal 3.7 V, connector polarity verified before plugging into J2.
1. Visual Inspection
  • Inspect U3 BQ24074, U4 TPS63001, U1 ESP32-C6-WROOM-1, U2 SCD41, J1 USB-C, J2 LiPo connector, D1 USB ESD, F1 PTC.
  • Verify no bridges around U3/U4 QFN pins and USB-C pads.
2. Power Rail Verification

Table


RailSourceExpectedMeasure AtCurrent LimitPass Criteria
USB_VBUS_RAWJ1 VBUS before F15.0 VJ1/F1 pin 1100 mA first power4.75-5.25 V
VBUS_PROTF1 output5.0 V minus fuse dropU3 IN/C1100 mA first powerwithin 0.2 V of USB_VBUS_RAW at light load
VBATJ2 / U3 BAT3.0-4.2 V batteryJ2 P1/C2battery limitedcorrect polarity, no short
SYSU3 OUTbattery or USB system railC3/U4 VIN100 mA first power~VBAT on battery, ~4.4 V on USB
3V3U4 VOUT3.3 VC5/C6/U1 pin 2100 mA first power3.14-3.47 V
Procedure: check resistance from 3V3, SYS, VBAT, and VBUS_PROT to GND before power. Power from USB first with no battery, then repeat with battery installed.
3. Critical Signals

Table


SignalExpected IdleNotes
ESP_ENHigh, near 3.3 VSW1 pulls low for reset
ESP_BOOT / IO9High, near 3.3 VSW2 pulls low for bootloader
I2C_SDA / I2C_SCLHigh, near 3.3 V idlePulled up by R10/R11
USB_D_PLUS / USB_D_MINUSUSB activity during enumerationRoute/check as differential pair in layout
VBAT_SENSEVBAT/24.2 V battery gives ~2.1 V ADC input
4. Programming and Functional Tests
  1. Connect USB-C and verify 3V3 before flashing.
  2. Flash the firmware from the Firmware Starter file.
  3. Confirm USB serial enumeration and boot logs.
  4. Run I2C/SCD41 read test; expect CO2 in plausible indoor range after sensor warm-up.
  5. Confirm status LED D2 toggles during successful readings.
  6. Confirm ADC battery reading roughly equals measured VBAT.
  7. Verify LiPo charging behavior with a current-limited USB source and monitor U3 temperature.
5. Pass/Fail Summary

Table


SectionResultNotes
Visual inspection[ ] Pass / [ ] Fail
Power rails[ ] Pass / [ ] Fail
USB/programming[ ] Pass / [ ] Fail
SCD41 sensing[ ] Pass / [ ] Fail
Battery charging[ ] Pass / [ ] Fail
Sleep/runtime test[ ] Pass / [ ] Fail
Open Layout Recommendations
  • Add test points for GND, VBUS_PROT, SYS, VBAT, 3V3, ESP_EN, I2C_SDA, I2C_SCL.
  • Keep ESP32-C6 antenna area clear per Espressif module layout guidance.
  • Keep U4 inductor and switching loop compact; place C4/C5/C6 close to U4.
  • Prerequisites

  • 1. Visual Inspection

  • 2. Power Rail Verification

  • 3. Critical Signals

  • 4. Programming and Functional Tests

  • 5. Pass/Fail Summary

  • Open Layout Recommendations

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