Skip to the content
PCBKitNew board
2 layers127.1 × 45 mmMiernik płytka, the printed circuit board in 3D

ESP32-C3-Zero capacitance and frequency meter featuring auto-ranging, TARE compensation, custom PCB and complete KiCad project files.

Size
127.1 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
32
Pads
96
Tracks, vias
128, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
8 Jun 2026
Updated
8 Jun 2026

Overview

Miernik płytka is an open-source printed circuit board by APrymas, from the APrymas/Capacitance-Frequency-Meter repository on GitHub, published under the MIT licence. It is a 2-layer board of 127.1 × 45 mm with 23 parts on 32 nets, routed with 128 tracks and 0 vias.

It is built around the LT1016CD. Its parts include 14 resistors, 3 connectors, 2 ICs, 2 switches and 1 capacitor.

Main components

1

README

README.md

🔬 ESP32-C3-Zero Capacitance & Frequency Meter

Compact open-source capacitance and frequency meter

Kompaktowy miernik pojemności i częstotliwości


🇵🇱 Polski | 🇬🇧 English



🇵🇱 Polski

📖 Opis projektu

ESP32-C3-Zero Capacitance & Frequency Meter to kompaktowy, otwartoźródłowy miernik pojemności oraz częstotliwości oparty na mikrokontrolerze ESP32-C3-Zero.

Projekt został stworzony jako niedrogie i praktyczne narzędzie pomiarowe do pracy z elektroniką. Urządzenie pozwala mierzyć pojemność kondensatorów od około 33 pF oraz częstotliwość sygnałów cyfrowych do 250 kHz.

Repozytorium zawiera zarówno część programową, jak i sprzętową projektu: firmware, schemat oraz projekt PCB wykonany w KiCad 9.0.


📸 Zdjęcia projektu

Gotowe urządzenie



Spód płytki PCB



Wizualizacja 3D PCB


✨ Najważniejsze funkcje

  • ⚡ Pomiar pojemności kondensatorów
  • 📡 Pomiar częstotliwości sygnałów
  • 🔁 Automatyczny dobór zakresu pomiarowego
  • 🎯 Funkcja TARE do kompensacji pojemności pasożytniczej
  • ⏸️ Funkcja zatrzymania pomiaru częstotliwości
  • 🧩 Projekt PCB wykonany w KiCad 9.0
  • 🔓 Otwarty kod źródłowy
  • 🛠️ Możliwość dalszej rozbudowy projektu

⚙️ Zasada działania

⚡ Pomiar pojemności

Pomiar pojemności realizowany jest poprzez pomiar czasu ładowania kondensatora przez rezystor o znanej wartości.

Mikrokontroler ESP32-C3-Zero mierzy czas potrzebny do osiągnięcia określonego progu napięcia wykrywanego przez szybki komparator LT1016.

W projekcie zastosowano dwa zakresy pomiarowe:

ZakresRezystor
Małe pojemności100 kΩ
Duże pojemności2.2 kΩ

Przełączanie zakresu odbywa się automatycznie w programie.


📡 Pomiar częstotliwości

Sygnał wejściowy podawany jest bezpośrednio na wejście mikrokontrolera ESP32-C3.

Każde narastające zbocze sygnału wywołuje przerwanie sprzętowe. Program zlicza impulsy w określonym czasie, a następnie przelicza wynik na częstotliwość.

Obsługiwane jednostki:

  • Hz
  • kHz
  • MHz

🔧 Wykorzystane elementy

ElementOpis
ESP32-C3-ZeroGłówny mikrokontroler
LT1016Szybki komparator napięcia
Rezystor 100 kΩZakres małych pojemności
Rezystor 2.2 kΩZakres dużych pojemności
Przyciski TACTSterowanie urządzeniem
Złącza goldpinWejścia pomiarowe

📦 Zawartość repozytorium

Repozytorium zawiera:

  • 📄 Firmware dla ESP32-C3-Zero
  • 🧩 Schemat elektryczny KiCad 9.0
  • 🧩 Projekt PCB KiCad 9.0
  • 📷 Zdjęcia gotowego urządzenia
  • 📘 Dokumentację projektu

📂 Struktura projektu

text
.
├── firmware/
│   └── cap&frq_meter.ino
│
├── hardware/
│   ├── cap&frq_meter.kicad_sch
│   └── cap&frq_meter.kicad_pcb
│
├── images/
│
├── README.md
└── LICENSE

🛠️ Oprogramowanie

Firmware został napisany w języku C++ z wykorzystaniem środowiska Arduino IDE oraz rdzenia Arduino Core for ESP32.

Wykorzystane biblioteki:

  • Arduino Core for ESP32
  • LiquidCrystal

🚀 Możliwe rozszerzenia

  • Pomiar ESR kondensatorów
  • Pomiar rezystancji
  • Pomiar indukcyjności
  • Wyświetlacz OLED/TFT
  • Zasilanie akumulatorowe
  • Automatyczna kalibracja
  • Rozszerzenie zakresów pomiarowych


🇬🇧 English


📖 Project Description

ESP32-C3-Zero Capacitance & Frequency Meter is a compact open-source capacitance and frequency meter based on the ESP32-C3-Zero microcontroller.

The project was created as a low-cost and practical measurement tool for electronics work. The device can measure capacitor values starting from approximately 33 pF and digital signal frequencies up to 250 kHz.

This repository contains both the software and hardware parts of the project: firmware, schematic and PCB design created in KiCad 9.0.


📸 Project Gallery

Finished Device



PCB Bottom Layer



3D PCB View


✨ Key Features

  • ⚡ Capacitance measurement
  • 📡 Frequency measurement
  • 🔁 Automatic measurement range selection
  • 🎯 TARE compensation for parasitic capacitance
  • ⏸️ Frequency measurement hold function
  • 🧩 PCB design created in KiCad 9.0
  • 🔓 Open-source firmware
  • 🛠️ Easy to modify and expand

⚙️ Operating Principle

⚡ Capacitance Measurement

Capacitance is measured by monitoring the charging time of a capacitor through a resistor with a known value.

The ESP32-C3-Zero measures the time required to reach a voltage threshold detected by the high-speed LT1016 comparator.

Two measurement ranges are used:

RangeResistor
Small capacitances100 kΩ
Large capacitances2.2 kΩ

Range switching is performed automatically in firmware.


📡 Frequency Measurement

The input signal is connected directly to an ESP32-C3 input pin.

Each rising edge of the signal generates a hardware interrupt. The firmware counts pulses over a defined time period and converts the result into frequency.

Supported units:

  • Hz
  • kHz
  • MHz

🔧 Hardware Components

ComponentDescription
ESP32-C3-ZeroMain microcontroller
LT1016High-speed voltage comparator
100 kΩ resistorSmall capacitance range
2.2 kΩ resistorLarge capacitance range
TACT switchesUser controls
Pin headersMeasurement inputs

📦 Repository Contents

This repository contains:

  • 📄 Firmware for ESP32-C3-Zero
  • 🧩 KiCad 9.0 schematic file
  • 🧩 KiCad 9.0 PCB file
  • 📷 Photos of the assembled device
  • 📘 Project documentation

📂 Project Structure

text
.
├── firmware/
│   └── cap&frq_meter.ino
│
├── hardware/
│   ├── cap&frq_meter.kicad_sch
│   └── cap&frq_meter.kicad_pcb
│
├── images/
│
├── README.md
└── LICENSE

🛠️ Software

The firmware is written in C++ using Arduino IDE and Arduino Core for ESP32.

Libraries used:

  • Arduino Core for ESP32
  • LiquidCrystal

🚀 Future Improvements

  • ESR measurement
  • Resistance measurement
  • Inductance measurement
  • OLED/TFT display support
  • Battery-powered version
  • Automatic calibration
  • Extended measurement ranges

📄 License

Released under the MIT License.

Feel free to use, modify and improve the project.


⭐ If you like this project, consider leaving a star on GitHub.

Parts

23
QtyValueFootprintReferences
48k2Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R8, R10, R13
2220kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5, R9
2580Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR11, R12
268kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6, R14
2Conn_01x02_SocketConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ1, J2
2LT1016Package_DIP:DIP-8_W7.62mmU1, U2
2SW_DPST_x2Button_Switch_THT:SW_PUSH_6mm_H4.3mmSW1, SW2
1100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
12k2Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
13k3Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
15k6Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
1Conn_01x02_PinConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ3
1WC1602ADisplay:WC1602ADS1
1~ESP32:ESP32_C3_ZEROC1

Questions

How big is the Miernik płytka PCB?

It measures 127.1 × 45 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Miernik płytka use?

23 parts, built around the LT1016CD. 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 Miernik płytka KiCad files?

From the APrymas/Capacitance-Frequency-Meter repository on GitHub, at the commit this page was made from: the board is hardware/KiCad 9.0/Miernik_płytka.kicad_pcb and its schematic hardware/KiCad 9.0/Miernik_f.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Miernik płytka 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).

Similar boards

  • 2 layers100 × 87.5 mmDriver, the printed circuit board in 3D

    Driver

    hnaderi/drsstc

    Almost everything in my journey to build my own DRSSTCs

    127 partsCC0-1.0
  • 2 layers180 × 133.3 mmClassd amp, the printed circuit board in 3D

    Classd amp

    prydin/classd-amp

    Class D Amplifier (work in progress)

    176 parts
  • 2 layers94.1 × 68 mmSupport, the printed circuit board in 3D

    Support

    G-Leonel-6/C2

    En este repositorio se guardaran los archivos correspondientes al desarrollo de una fuente de alimentacion regulada

    25 parts
  • 2 layers65 × 56 mmPi servo hat, the printed circuit board in 3D

    Pi servo hat

    earthtojake/text-to-cad

    Design physical products with AI

    23 parts26kMIT
  • 2 layers14 × 100 mmYunomi, the printed circuit board in 3D

    Yunomi

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    23 parts3kApache-2.0
  • 2 layers50.8 × 52.2 mmFuhhni, the printed circuit board in 3D

    Fuhhni

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    23 parts915
  • 2 layers138.8 × 89.8 mmKeyboard pcb, the printed circuit board in 3D

    Keyboard pcb

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    23 parts756GPL-3.0
  • 2 layers32.9 × 53.3 mmGoatgdo, the printed circuit board in 3D

    Goatgdo

    Kaldek/rat-ratgdo

    Open source schematics for ratgdo PCB

    23 parts511MIT