

Miernik płytka
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
1README
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:
| Zakres | Rezystor |
|---|---|
| Małe pojemności | 100 kΩ |
| Duże pojemności | 2.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
| Element | Opis |
|---|---|
| ESP32-C3-Zero | Główny mikrokontroler |
| LT1016 | Szybki komparator napięcia |
| Rezystor 100 kΩ | Zakres małych pojemności |
| Rezystor 2.2 kΩ | Zakres dużych pojemności |
| Przyciski TACT | Sterowanie urządzeniem |
| Złącza goldpin | Wejś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
.
├── 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:
| Range | Resistor |
|---|---|
| Small capacitances | 100 kΩ |
| Large capacitances | 2.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
| Component | Description |
|---|---|
| ESP32-C3-Zero | Main microcontroller |
| LT1016 | High-speed voltage comparator |
| 100 kΩ resistor | Small capacitance range |
| 2.2 kΩ resistor | Large capacitance range |
| TACT switches | User controls |
| Pin headers | Measurement 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
.
├── 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 8k2 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R8, R10, R13 |
| 2 | 220k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5, R9 |
| 2 | 580 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R11, R12 |
| 2 | 68k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R6, R14 |
| 2 | Conn_01x02_Socket | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J1, J2 |
| 2 | LT1016 | Package_DIP:DIP-8_W7.62mm | U1, U2 |
| 2 | SW_DPST_x2 | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1, SW2 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3 |
| 1 | 2k2 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4 |
| 1 | 3k3 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | 5k6 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2 |
| 1 | Conn_01x02_Pin | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J3 |
| 1 | WC1602A | Display:WC1602A | DS1 |
| 1 | ~ | ESP32:ESP32_C3_ZERO | C1 |
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 mm

- 2 layers180 × 133.3 mm

- 2 layers94.1 × 68 mm

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 mm

- 2 layers14 × 100 mm

Yunomi
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
23 parts3kApache-2.0 - 2 layers50.8 × 52.2 mm

- 2 layers138.8 × 89.8 mm

- 2 layers32.9 × 53.3 mm
