Skip to the content
4 layers82 × 54.2 mmSecure edge logger, the printed circuit board in 3D

Custom ESP32-C3 Secure-Ready Battery-Powered Edge Logger with environmental, light and acoustic sensing, local storage, DS3231 RTC, BQ27441 fuel gauging, SE050E2 secure element and TPS63802 buck-boost power. Designed in KiCad 10 with a custom Zephyr RTOS board port.

Size
82 × 54.2 mm
Copper layers
4
Thickness
1.6 mm
Parts
109
Nets
108
Pads
428
Tracks, vias
1,053, 231
Pours
23
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Aug 2026
Updated
25 Oct 2026

Overview

Secure edge logger is an open-source printed circuit board by landjas09, from the landjas09/Secure-Ready-Battery-Powered-Edge-Logger repository on GitHub. It is a 4-layer board of 82 × 54.2 mm with 109 parts on 108 nets, routed with 1,053 tracks and 231 vias.

It is built around the ESP32-C3-WROOM-02-H4, BME280 and MAX4466EXK+T, with the TPS63802DLAR, W25Q32JVSSIQ and GSD090012SEU among its other parts. Its parts include 42 resistors, 30 capacitors, 11 ICs, 6 diodes and 4 connectors. It belongs with the power boards and the ESP32 and RISC-V boards of this library.

Main components

12

README

hardware/rev1_iot-development-board/README.md

Custom IoT Development Board — ESP32-C3

A custom-designed IoT development board built around the ESP32-C3-WROOM-02, featuring integrated LiPo battery charging, environmental sensing, ambient light sensing, audio capture, on-board storage (flash + SD card), and a USB-C interface with full USB-to-UART programming support. Designed end-to-end in KiCad 10, from schematic capture through PCB layout and routing.


Overview

This board was designed as a general-purpose sensor/data-logging platform for IoT applications — combining wireless connectivity (WiFi/BLE via the ESP32-C3), multiple onboard sensors, local storage, and rechargeable battery power into a single compact PCB.

Aplications

  • IoT edge devices for environmental monitoring.
  • Battery-powered data logging systems.
  • Prototyping platform for ESP32-based projects.

Key design goals:

  • Fully USB-C powered and rechargeable (no external charger required)
  • Onboard environmental, light, and audio sensing
  • Local data logging via SD card, with dedicated flash for firmware/configuration
  • Standard USB-to-UART programming/debugging, no external programmer needed
  • Expandable via an I²C OLED connector and a breakout header for spare GPIOs

Block Diagram

mermaid
flowchart LR
    USB[USB-C Connector<br/>SS-52400-002] --> ESD[ESD Protection<br/>USBLC6-2SC6]
    USB --> CHG[LiPo Charger<br/>MCP73871-2CAI_ML]
    ESD --> UART[USB-UART Bridge<br/>CP2102N-Axx-xQFN20]
    UART <--> MCU[ESP32-C3-WROOM-02-H4]

    CHG --> BAT[JST LiPo Battery Connector]
    CHG --> REG[3.3V Regulator<br/>LM1117MPX-3.3]
    REG --> MCU
    CHG --> LED1[Charge Status LEDs]

    MCU <-->|I2C| BME[BME280<br/>Humidity + Pressure]
    MCU <-->|ADC| LDR[TEMT6000X01<br/>Ambient Light]
    MCU <-->|ADC| MIC[CMC-5042PF-AC + MAX4466EXK<br/>Mic + Amplifier]
    MCU <-->|SPI| FLASH[W25Q32JVSSIQ<br/>External Flash]
    MCU <-->|SPI| SD[GSD090012SEU<br/>microSD Card]
    MCU <-->|I2C| OLED[OLED Display Header]

    MCU --> BOOT[BOOT / EN Buttons]
    MCU --> GPIO[Spare GPIO Breakout]

Hardware Overview

Power Subsystem

ComponentPart NumberFunction
USB-C ConnectorSS-52400-002Main power/data input
ESD ProtectionUSBLC6-2SC6Protects USB D+/D- from ESD transients
LiPo Charger ICMCP73871-2CAI_MLSingle-cell Li-Ion/LiPo charge management with power-path support
Voltage RegulatorLM1117MPX-3.3_NOPBRegulates system rail to 3.3V
Battery ConnectorJST 2-pinSingle-cell LiPo battery input
Status IndicatorsLED x3Charging / Charged / Power-Good status

The MCP73871's integrated power-path management allows the board to run directly from USB power while simultaneously charging the battery, and seamlessly switches to battery power when USB is disconnected — with no interruption to the system rail.

Core & Connectivity

ComponentPart NumberFunction
MCUESP32-C3-WROOM-02-H4RISC-V, WiFi + BLE, main system controller
USB-UART BridgeCP2102N-Axx-xQFN20USB-to-serial for programming/debugging
Flash MemoryW25Q32JVSSIQ32Mbit external SPI flash (firmware/config storage)
SD Card SocketGSD090012SEUmicroSD card slot (bulk data storage: logs, audio, images)

Programming and debugging are handled over native USB via the CP2102N, with automatic bootloader entry through a DTR/RTS-driven transistor reset circuit, plus manual BOOT and EN pushbuttons as a hardware fallback.

Sensors

ComponentPart NumberInterfaceFunction
Environmental SensorBME280I²CHumidity, barometric pressure, temperature
Ambient Light SensorTEMT6000X01Analog (ADC)Ambient light intensity
Microphone CapsuleCMC-5042PF-ACAnalogElectret condenser microphone
Mic PreamplifierMAX4466EXK+TAnalog (ADC)Adjustable-gain (25x–125x) microphone amplifier

User Interface / Expansion

  • BOOT and EN pushbuttons for manual firmware flashing / reset
  • OLED display header (I²C, 4-pin) for an external SSD1306-style display
  • Breakout header exposing spare GPIOs (GPIO8, GPIO18, GPIO19) plus 3.3V/GND for future expansion

Shared Bus Architecture

SPI bus (SD card + external flash, daisy-chained MOSI/MISO/SCLK, independent CS lines):

text
ESP32 MOSI ──┬──▶ SD Card MOSI ──▶ Flash MOSI
ESP32 MISO ──┼──◀ SD Card MISO ──◀ Flash MISO
ESP32 SCLK ──┴──▶ SD Card SCLK ──▶ Flash SCLK
ESP32 CS1  ─────▶ SD Card CS (dedicated)
ESP32 CS2  ─────▶ Flash CS (dedicated)

I²C bus (BME280 + OLED header, shared SDA/SCL with pull-ups):

text
ESP32 SDA ──┬──▶ BME280 SDA
            └──▶ OLED SDA
ESP32 SCL ──┬──▶ BME280 SCL
            └──▶ OLED SCL

Design Tools

  • Schematic capture & PCB layout: KiCad 10
  • Simulation/verification: KiCad ERC & DRC (Electrical Rules Checker / Design Rules Checker)
  • Firmware: successfully migrated to Zephyr RTOS
  • Hardware config tools: Silicon Labs Simplicity Studio (for one-time CP2102N GPIO/TXT-RXT configuration)

Repository Structure

This is a native KiCad 10 project — the schematic is split hierarchically across multiple sheets, with sensors and user-interface elements broken out into their own sub-sheet files for readability.

text
├── IOT DEV BOARD.kicad_pro       # Main KiCad project file
├── IOT DEV BOARD.kicad_sch       # Root schematic sheet
├── IOT DEV BOARD.kicad_pcb       # PCB layout
├── ESP32-C3-02.kicad_sch         # Sub-sheet: MCU + core connectivity
├── sensors.kicad_sch             # Sub-sheet: BME280, light sensor, mic/amp
├── userInterface.kicad_sch       # Sub-sheet: BOOT/EN buttons, OLED header, breakout
│
├── ESP32_IOT_BOARD_GERBER/       # Exported Gerber/drill files for fabrication
├── Libraries/                    # Custom footprints and symbols
├── BOM.csv                       # Bill of materials
├── fp-lib-table                  # Footprint library table
├── sym-lib-table                 # Symbol library table
└── output.json                   # Exported netlist/data

Lock files (*.lck), .history/, and .git/ are local/version-control housekeeping and not part of the design itself.


Known Issues & Design Notes

  • GPIO5 / ADC2 conflict: GPIO5 is the ESP32-C3's only ADC2 channel, and ADC2 is unreliable while WiFi is active (and affected by a known silicon errata on some chip revisions). Analog signals (e.g. microphone, light sensor) must use ADC1 pins (GPIO0–GPIO4) instead.
  • CP2102N TXT/RXT indicator LEDs: these pins default to plain GPIO mode from the factory and do not blink out of the box — they must be explicitly configured via Silicon Labs' Xpress Configurator (Simplicity Studio) to enable the TXT/RXT alternate function.
  • CP2102N QFN20 package does not expose a physical DTR pin — DTR emulation for the auto-reset circuit is handled via a reconfigured spare GPIO, not a dedicated pin.
  • SD card DAT3/CS line requires a pull-up resistor to guarantee the card boots into SPI mode rather than native SD mode at power-up.

Planned Additions

  • DS3231SN real-time clock (I²C) for accurate timestamping of logged sensor data, independent of network time availability.
  • Enclosure design (SolidWorks) — case built around the board's exported KiCad STEP file, with cutouts for the USB-C port, BOOT/EN buttons, status LEDs, SD card slot, and a light-transmissive window over the ambient light sensor.

Acknowledgments

Board design informed by manufacturer reference designs and application notes from Microchip, Silicon Labs, Espressif, and Winbond.

Parts

109
QtyValueFootprintReferences
80.1uCapacitor_SMD:C_0805_2012MetricC100, C201, C202, C203, C204, C207, C305, C309
810kResistor_SMD:R_0805_2012MetricR112, R113, R210, R211, R212, R213, R214, R307
6470Resistor_SMD:R_0805_2012MetricR102, R103, R104, R111, R203, R204
510KResistor_SMD:R_0805_2012MetricR209, R302, R400, R401, R402
410uCapacitor_SMD:C_1206_3216MetricC101, C103, C205, C206
450Resistor_SMD:R_0805_2012MetricR205, R206, R207, R208
3100nCapacitor_SMD:C_0603_1608MetricC300, C310, C311
31uCapacitor_SMD:C_0805_2012MetricC106, C307, C401
34.7uCapacitor_SMD:C_0805_2012MetricC102, C107, C200
3LTST-C170KRKTESP32Footprints:LEDC2012X120ND100, PWR100, RX200
2100nfCapacitor_SMD:C_0603_1608MetricC303, C304
210nCapacitor_SMD:C_0603_1608MetricC301, C302
21MResistor_SMD:R_0805_2012MetricR306, R308
22kResistor_SMD:R_0805_2012MetricR304, R305
24.7kResistor_SMD:R_0805_2012MetricR300, R301
25K1Resistor_SMD:R_0805_2012MetricR100, R101
2BC817Package_TO_SOT_SMD:SOT-23Q400, Q401
2Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalBREAKOUT400, OLED400
2LTST-C170GKTESP32Footprints:LEDC2012X120ND102, TX200
10.01uCapacitor_SMD:C_0805_2012MetricC306
10.47uCapacitor_SMD:C_0805_2012MetricC105
10ZCH0110AF2EESP32Footprints:FUSC3226X100NF100
1100KResistor_SMD:R_0805_2012MetricR309
1100kResistor_SMD:R_0805_2012MetricR110
1100pCapacitor_SMD:C_0603_1608MetricC308
110mResistor_SMD:R_Shunt_Vishay_WSK2512_6332Metric_T1.19mmR105
11kResistor_SMD:R_0805_2012MetricR200
120KResistor_SMD:R_0805_2012MetricR107
122K1Resistor_SMD:R_0805_2012MetricR201
122uCapacitor_SMD:C_1206_3216MetricC104
12KResistor_SMD:R_0805_2012MetricR114
14,7kResistor_SMD:R_0805_2012MetricR303
147K5Resistor_SMD:R_0805_2012MetricR202
1511kResistor_SMD:R_0805_2012MetricR108
191kResistor_SMD:R_0805_2012MetricR109
1B2B-PH-SM4-TBESP32Footprints:JST_B2B-PH-SM4-TBJ101
1BME280ESP32Footprints:PSON65P250X250X100-8NU300
1BOOTESP32Footprints:SW_USLPT2819DT2TRS400
1BQ27441DRZT-G1AESP32Footprints:SON40P400X250X100-13N-DIC101
1CMC-5042PF-ACESP32Footprints:CUI_CMC-5042PF-ACMK300
1CP2102N-Axx-xQFN24Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU200
1Conn_01x02Connector_JST:JST_ZH_B2B-ZR_1x02_P1.50mm_VerticalJ102
1DNPCapacitor_SMD:C_0805_2012MetricC400
1ENABLEESP32Footprints:SW_USLPT2819DT2TRS401
1ESP32-C3-WROOM-02-H4ESP32Footprints:ESP32--C3-WROOM-02-H4U203
1GSD090012SEUESP32Footprints:AMPHENOL_GSD090012SEUJ200
1Keystone 2998Battery:BatteryHolder_Keystone_2998_1x6.8mmBT300
1LTST-C170TBKTESP32Footprints:LEDC2012X120ND101
1MAX4466EXKESP32Footprints:SOT65P210X110-5NU303
1MCP73871-2CAI_MLESP32Footprints:QFN50P400X400X100-21NU100
1SE050E2HQ1/Z01Z3ZESP32Footprints:QFN40P300X300X33-21N-DU302
1SS-52400-003ESP32Footprints:BELFUSE_SS-52400-003J100
1TEMT6000X01ESP32Footprints:TRANS_TEMT6000X01Q300
1TPS63802DLARESP32Footprints:TPS63802DLARIC100
1TestCLKTestPoint:TestPoint_Pad_1.0x1.0mmTP5
1TestCSTestPoint:TestPoint_Pad_1.0x1.0mmTP4
1TestMISOTestPoint:TestPoint_Pad_1.0x1.0mmTP1
1TestMOSITestPoint:TestPoint_Pad_1.0x1.0mmTP2
1TestSDTestPoint:TestPoint_Pad_1.0x1.0mmTP3
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U201
1W25Q32JVSSIQESP32Footprints:SOIC127P790X216-8NU202
1XFL4015-471MECESP32Footprints:XFL4012L100
1ds3231sn-ESP32Footprints:21-0042B_16_MXMU301

More from landjas09/Secure-Ready-Battery-Powered-Edge-Logger

1
  • 4 layers81.2 × 54.7 mmIOT DEV BOARD, the printed circuit board in 3D

    IOT DEV BOARD

    landjas09/Secure-Ready-Battery-Powered-Edge-Logger

    Custom ESP32-C3 Secure-Ready Battery-Powered Edge Logger with environmental, light and acoustic sensing, local storage, DS3231 RTC, BQ27441 fuel gauging, SE050E2 secure element and TPS63802 buck-boost power.

    91 parts

Similar boards

  • 4 layers77.5 × 59.5 mmIOT, the printed circuit board in 3D

    IOT

    aryan-asit/Telemetry-iot-project

    In this project , a 4 layer custom pcb is made for Telematics

    85 parts1
  • 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
  • 4 layers85.7 × 58.1 mmESP32 IoT 4-layer PCB, the printed circuit board in 3D

    ESP32 IoT 4-layer PCB

    SarthakDas2006/ESP32-C3-IoT-Embedded-Custom_PCB

    4-layer ESP32-C3 based custom embedded IoT PCB featuring onboard temperature & humidity, light, and audio sensing, USB Type-C, Li-Po charging, and external flash memory.

    89 parts1
  • 4 layers90 × 54.7 mm1st ESP32 Demo project, the printed circuit board in 3D

    1st ESP32 Demo project

    ashfaque-ur-rahman/ESP32-Multi-Sensor-PCB

    ESP32-based multi-sensor PCB with temperature/humidity, light, and microphone sensors — 4 layer Board — KiCad design based on Tech Explorations tutorial

    87 parts
  • 4 layers87.9 × 55.4 mmKIcad 9 ESP32 custom board, the printed circuit board in 3D

    KIcad 9 ESP32 custom board

    JoseSanchez122/ESP32_custom_board

    Custom ESP32-WROOM-32 PCB with DHT22 (temperature/humidity), BH1750 (light), and MPU-6050 (motion) sensors, 3.3V regulator, USB-C/battery input, Wi-Fi/Bluetooth, GPIO/I2C pins, LED, and reset button, for compact IoT…

    87 parts
  • 4 layers99.6 × 55.8 mmEsp32-sensor board, the printed circuit board in 3D

    Esp32-sensor board

    marwantm/esp32-sensor-board

    ESP32-C3 IoT sensor node with USB-C power path management — KiCad PCB design project

    86 parts
  • 4 layers81.4 × 53.2 mmIOT development board, the printed circuit board in 3D

    IOT development board

    vinod-gunda/4_layer_IOT_Development_Board

    4-layer ESP32-C3 development board designed using KiCad

    89 parts
  • 4 layers90 × 54 mmESP - 32 IOT PCB, the printed circuit board in 3D

    ESP - 32 IOT PCB

    Raghav9git/ESP-32-IoT-PCB-Board-

    A compact 4-layer IoT development board built around the ESP32-C3, integrating environmental sensing, local storage, USB-C power with LiPo battery management, and a programming/debug interface on a single board.

    82 partsMIT

Questions

How big is the Secure edge logger PCB?

It measures 82 × 54.2 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Secure edge logger use?

109 parts, built around the ESP32-C3-WROOM-02-H4, BME280, MAX4466EXK+T and TPS63802DLAR. 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 Secure edge logger KiCad files?

From the landjas09/Secure-Ready-Battery-Powered-Edge-Logger repository on GitHub, at the commit this page was made from: the board is hardware/rev2_secure-edge-logger/secure edge logger.kicad_pcb and its schematic hardware/rev1_iot-development-board/ESP32-C3-02.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Secure edge logger design in my own project?

Its repository states no licence, so its author keeps all rights: ask landjas09 before reusing the design.