Skip to the content
4 layers93.8 × 58.9 mmESP-32 C3 demo project004, the printed circuit board in 3D

ESP-32 C3 demo project004

YUKESH0620/ESP32-C3-Sensor-PCB1

This repository contains the complete hardware design of a custom ESP32-C3 based Smart Sensor Board, including schematics, PCB layout, and documentation. The design integrates robust power management, multiple sensors, data storage, USB connectivity, and auto-programming , making it suitable for IoT, data logging, and embedded systems development.

Size
93.8 × 58.9 mm
Copper layers
4
Thickness
1.6 mm
Parts
93
Nets
80
Pads
333
Tracks, vias
778, 133
Pours
12
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Dec 2025
Updated
31 Dec 2025

Overview

ESP-32 C3 demo project004 is an open-source printed circuit board by YUKESH0620, from the YUKESH0620/ESP32-C3-Sensor-PCB repository on GitHub, published under the MIT licence. It is a 4-layer board of 93.8 × 58.9 mm with 93 parts on 80 nets, routed with 778 tracks and 133 vias.

It is built around the ESP32-C3-WROOM-02-H4, MCP73871EV and BME280, with the MAX4466EXK+T, W25Q32JVSSIQ and GSD090012SEU among its other parts. Its parts include 33 resistors, 25 capacitors, 7 ICs, 6 diodes and 5 connectors. It belongs with the sensors and measurement boards and the ESP32 and RISC-V boards of this library.

Main components

12

README

README.md

ESP32-C3 Smart Sensor Board

This repository contains the complete hardware design of a custom ESP32-C3 based Smart Sensor Board, including schematics, PCB layout, and documentation.

The design integrates robust power management, multiple sensors, data storage, USB connectivity, and auto-programming, making it suitable for IoT, data logging, and embedded systems development.


Board Images

Complete Schematic

Screenshot 2025-12-26 085358 Screenshot 2025-12-26 085602 Screenshot 2025-12-26 085631 Screenshot 2025-12-26 085659

PCB Layout

Screenshot 2025-12-26 085844

3D Views

Screenshot 2025-12-26 091250 Screenshot 2025-12-26 091325 Screenshot 2025-12-26 091427

System Architecture

Functional Block Diagram

text
USB-C / Li-Po Battery
│
MCP73831 Charger
│
+5V Rail
│
LM1117-3.3 LDO
│
+3.3V Rail
│
ESP32-C3 MCU
│ │ │ │
│ │ │ Microphone + MAX4466
│ │ BME280 (I2C)
│ LDR (ADC)
SD Card (SPI)
|
SPI Flash

Key Features

Power & Charging

  • USB Type-C connector
  • Li-Po charging using MCP73831
  • JST battery connector
  • LM1117-3.3 LDO regulator
  • Power status LED

Microcontroller

  • ESP32-C3-WROOM-02
  • RISC-V core
  • Wi-Fi + BLE
  • USB-UART programmable

Sensors

  • BME280 – Temperature, humidity, pressure
  • Electret microphone + MAX4466 amplifier
  • LDR photo sensor

Storage

  • SPI Flash memory (W25Q32)
  • Micro SD card module (SPI)

Programming & Debug

  • CP2102N USB-to-UART
  • Auto-programming (DTR/RTS → EN/BOOT)
  • Boot & Reset buttons
  • Test points

Working Principle

Power Section

  • USB-C provides 5V
  • MCP73831 safely charges Li-Po battery
  • LM1117 converts 5V to regulated 3.3V
  • Decoupling capacitors ensure stable rails

MCU & Sensors

  • ESP32-C3 communicates with:
    • BME280 via I²C
    • SD card & Flash via SPI
    • Microphone and LDR via ADC
  • Data can be logged or transmitted wirelessly

Programming

  • USB-C → CP2102N
  • DTR/RTS control BOOT & EN automatically
  • Compatible with ESP-IDF and Arduino

🧾 Bill of Materials

Active Components

RefComponentValue / Part
U1ESP32 MCUESP32-C3-WROOM-02
U2Env SensorBME280
U3USB-UARTCP2102N
U4Charger ICMCP73831
U5LDO RegulatorLM1117-3.3
U6SPI FlashW25Q32
U7Mic AmplifierMAX4466
J1USB ConnectorUSB Type-C
J2Battery ConnectorJST-PH-2
J3SD Card SocketSPI SD

Resistors (From Schematic)

RefValuePurpose
R110kΩMCP73831 PROG
R210kΩMCP73831 PROG
R35.1kΩUSB-C CC pull-down
R45.1kΩUSB-C CC pull-down
R52kΩMCP73831 status
R620kΩMCP73831 status
R7470ΩCharging LED
R8470ΩCharged LED
R9470ΩFault LED
R10470ΩPower LED
R111kΩUSB VBUS link
R1222.1kΩUSB detection
R1347.5kΩUSB detection
R1547kBiasing resistor
R2310kΩLDR voltage divider
R244.7kΩI²C pull-up
R254.7kΩI²C pull-up
R262kΩMic bias
R271MΩMic amp gain
R282kΩMic bias
R291MΩMic amp gain
R3010kΩMic amp
R312.2kΩMic feedback
R3210kΩReset pull-up
R3310kΩDTR control
R3410kΩRTS control

Capacitors (From Schematic)

RefValuePurpose
C10.1µFUSB decoupling
C20.1µFLDO input
C310µFLDO bulk
C410µFLDO output
C50.1µFLDO output
C61µFMCP73831
C710µFESP32 supply
C80.1µFESP32 decoupling
C100.1µFSensor decoupling
C140.1µFFlash decoupling
C150.1µFBME280
C1710nFMic coupling
C180.1µFMic supply
C191µFMic amp
C200.1µFMic feedback
C210.1µFBOOT debounce
C221µFRESET debounce

Design Considerations

  • Ground plane for EMI reduction
  • ESP32 antenna keep-out respected
  • Separate analog routing for microphone
  • Decoupling capacitors close to ICs
  • USB-C CC resistors correctly implemented
  • Battery charging current set safely

Testing Strategy

  • Power rail validation
  • USB enumeration
  • Battery charge & termination test
  • Sensor I²C/SPI verification
  • SD card read/write
  • ADC noise testing (mic & LDR)

Revision History

Rev-A (Initial Prototype)

  • ESP32-C3 based sensor board
  • Microphone connected to GPIO5 (ADC conflict with Wi-Fi)
  • Fixed-gain microphone amplifier
  • Photosensor output taken from incorrect pin
  • No additional EMI filtering on power path

Rev-B (Improved Design – Current)

  • Resolved ADC conflict between Wi-Fi and microphone
  • Improved analog signal quality
  • Added EMI noise suppression
  • Improved user interface and usability

Key Engineering Fixes & Improvements

ESP32 PCB prototype 2 improvements and fixes

1. ADC Conflict Resolution (Wi-Fi vs Microphone)

  • Issue identified during testing: GPIO5 ADC unavailable when Wi-Fi is active
  • Root cause: ADC resource conflict on ESP32-C3
  • Solution:
    • Microphone OUT moved from GPIO5 → GPIO0 (ADC1)
    • CS_SD reassigned to GPIO5 as digital output
  • Result: Microphone and Wi-Fi now operate simultaneously without conflict

2. Variable Gain Microphone Amplifier

  • Replaced fixed gain network with trimmer potentiometer
  • Gain range adjustable from 25× to 125×
  • Improves adaptability for different acoustic environments

3. Photosensor Signal Correction

  • Output pin corrected from pin 3 → pin 1 as per datasheet
  • Added RC filtering capacitors for noise reduction
  • Result: Stable and accurate ADC readings

4. Analog Noise Reduction

  • Added local decoupling capacitor near GPIO0 (MIC_OUT)
  • Reduced high-frequency noise on ADC line

5. Improved User Interface

  • Replaced small tact switches with larger buttons
  • Better usability and reliability

6. Power Integrity Enhancement

  • Added ferrite bead on charger output
  • Purpose:
    • Suppress high-frequency switching noise from MCP73871
    • Reduce EMI affecting analog and RF sections

Design Status

  • Rev-A: Initial schematic completed and reviewed
  • Design improvements identified during schematic review
  • Rev-B incorporates recommended fixes and optimizations
  • Hardware fabrication and testing are pending

Note: Functional validation will be performed after PCB fabrication.


Validation Plan (Post-Fabrication)

  • Verify Wi-Fi and microphone operation simultaneously
  • Validate ADC stability for photosensor input
  • Measure microphone gain range
  • Check power rail noise and EMI behavior
  • Confirm battery charging and boost operation

Applications

  • Environmental monitoring
  • IoT data logger
  • Smart sensor node
  • Academic & portfolio project
  • Embedded systems experimentation

Future Enhancements

  • Fuel gauge IC
  • Enclosure design
  • OTA firmware support
  • EMI compliance testing
  • Low-power optimization

👤 Author

Yukesh S
Embedded Systems Enthusiast


📜 License

This project is licensed under the MIT License.

You are free to use, modify, distribute, and commercialize this design, provided that the original copyright notice and license text are included.

See the LICENSE file for full details.

Parts

93
QtyValueFootprintReferences
130.1uCapacitor_SMD:C_0805_2012MetricC1, C2, C5, C8, C10, C13, C14, C15, C16, C18, C20, C21, C23
710kResistor_SMD:R_0805_2012MetricR1, R2, R19, R23, R32, R33, R34
6470Resistor_SMD:R_0805_2012MetricR7, R8, R9, R10, R14, R18
410uEsp-32_sensor_Board004_Footprints:T491AC3, C4, C7, C12
450Resistor_SMD:R_0805_2012MetricR15, R16, R20, R22
310nCapacitor_SMD:C_0805_2012MetricC17, C24, C25
31uCapacitor_SMD:C_0805_2012MetricC6, C11, C22
32kResistor_SMD:R_0805_2012MetricR5, R26, R28
3LTST-C170KRKTEsp-32_sensor_Board004_Footprints:LEDC2012X120NLED1, LED4, LED6
20ZCH0110AF2EEsp-32_sensor_Board004_Footprints:FUSC3226X100NF1, F2
21MResistor_SMD:R_0805_2012MetricR27, R29
21kResistor_SMD:R_0805_2012MetricR11, R30
24k7Resistor_SMD:R_0805_2012MetricR24, R25
25k1Resistor_SMD:R_0805_2012MetricR3, R4
2BC817Package_TO_SOT_SMD:SOT-23Q2, Q3
2LTST-C170GKTEsp-32_sensor_Board004_Footprints:LEDC2012X120NLED2, LED5
110uCapacitor_SMD:C_0805_2012MetricC19
120kResistor_SMD:R_0805_2012MetricR6
122kResistor_SMD:R_0805_2012MetricR31
122k1Resistor_SMD:R_0805_2012MetricR12
135WR100KLFTREsp-32_sensor_Board004_Footprints:TRIM_35WR100KLFTRR17
14.7uEsp-32_sensor_Board004_Footprints:T491AC9
147k5Resistor_SMD:R_0805_2012MetricR13
1B2B-PH-SM4-TBEsp-32_sensor_Board004_Footprints:JST_B2B-PH-SM4-TBJ2
1BME280Esp-32_sensor_Board004_Footprints:PSON65P250X250X100-8NU2
1BootEsp-32_sensor_Board004_Footprints:SW_TL3305AF260QGS1
1CMC-5042PF-ACEsp-32_sensor_Board004_Footprints:CUI_CMC-5042PF-ACMK1
1CP2102N-Axx-xQFN20Esp-32_sensor_Board004_Footprints:QFN50P400X400X100-21NU4
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ5
1ESP32-C3-WROOM-02-H4Esp-32_sensor_Board004_Footprints:MODULE_ESP32-C3-WROOM-02-H4U3
1GSD090012SEUEsp-32_sensor_Board004_Footprints:AMPHENOL_GSD090012SEUJ3
1LM1117MPX-3.3Esp-32_sensor_Board004_Footprints:VREG_LM1117MPX-3.3VR1
1LTST-C170TBKTEsp-32_sensor_Board004_Footprints:LEDC2012X120NLED3
1MAX4466EXKEsp-32_sensor_Board004_Footprints:SOT65P210X110-5NU7
1MCP73871Esp-32_sensor_Board004_Footprints:QFN50P400X400X100-21NU1
1ResetEsp-32_sensor_Board004_Footprints:SW_TL3305AF260QGS2
1SS-52400-002Esp-32_sensor_Board004_Footprints:BELFUSE_SS-52400-002J1
1TEMT6000X01Esp-32_sensor_Board004_Footprints:TRANS_TEMT6000X01Q1
1Test CSTestPoint:TestPoint_Pad_D1.0mmTP5
1Test CS-SDTestPoint:TestPoint_Pad_D1.0mmTP4
1Test MISOTestPoint:TestPoint_Pad_D1.0mmTP2
1Test MOSITestPoint:TestPoint_Pad_D1.0mmTP1
1Test SCLKTestPoint:TestPoint_Pad_D1.0mmTP3
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5
1W25Q32JVSSIQEsp-32_sensor_Board004_Footprints:SOIC127P790X216-8NU6

The 90 most common of 93 parts.

Similar boards

  • 4 layers60.6 × 72.3 mmESP32, the printed circuit board in 3D

    ESP32

    KirtiChickamath/ESP32-IoT-sensor-board

    ESP32- IoT sensor board. 4-layer PCB, designed in KiCad . Features LiPo charging, USB-C, SPI flash, SD card, BME280, and more.

    90 parts2
  • 4 layers107.6 × 55 mmESP32-sensor board, the printed circuit board in 3D

    ESP32-sensor board

    chopda15/ESP32-sensor-board

    Custom-designed ESP32-C3 IoT PCB with integrated Li-ion charging, environmental sensing, data logging, USB-C connectivity, and power-efficient embedded system architecture.

    94 parts
  • 4 layers92 × 54.6 mmESP32 board, the printed circuit board in 3D

    ESP32 board

    wolfenstein11x/ESP32_board

    KiCad project

    90 parts
  • 4 layers108.5 × 60 mmESP32 BME690, the printed circuit board in 3D

    ESP32 BME690

    andrewcnjuguna/ESP32_BME690

    Multi-room ESP32-S3 environmental sensor node that streams air-quality data to a Node.js server over Wi-Fi. Built around the Bosch BME690 with auxiliary light, sound and battery monitoring.

    98 parts
  • 4 layers83 × 53.5 mmESP 32 PCB Project, the printed circuit board in 3D

    ESP 32 PCB Project

    BBIkal/ESP32_IOT_Project

    A compact 4-layer mixed-signal PCB designed in KiCad 9, built around the ESP32-C3 module for IoT sensor applications.

    92 parts
  • 4 layers82.9 × 53.8 mmESP32 IoT Project, the printed circuit board in 3D

    ESP32 IoT Project

    EngMeesh/ESP32_IoT_Dev_Board

    A custom 4-layer IoT development board based on the ESP32-C3, featuring integrated LiPo battery management, a CP2102N USB-UART bridge, MicroSD support, and onboard environmental/audio sensors for embedded engineering…

    92 parts1MIT

Questions

How big is the ESP-32 C3 demo project004 PCB?

It measures 93.8 × 58.9 mm and has 4 copper layers, 1.6 mm thick.

What parts does the ESP-32 C3 demo project004 use?

93 parts, built around the ESP32-C3-WROOM-02-H4, MCP73871EV, BME280 and MAX4466EXK+T. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ESP-32 C3 demo project004 KiCad files?

From the YUKESH0620/ESP32-C3-Sensor-PCB repository on GitHub, at the commit this page was made from: the board is hardware_v0.2_Improved/Kicad_files_v0.2/ESP-32 C3 demo project004.kicad_pcb and its schematic hardware/Schematic_view/ESP-32 C3 demo project004.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP-32 C3 demo project004 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).