Skip to the content
PCBKitNew board
2 layers38.1 × 40.6 mmLex cap charge discharge demo single, the printed circuit board in 3D

Lex cap charge discharge demo single

alexhunsley/cap-fun

Educational tiny circuit for capacitor charge + discharge with LED

Size
38.1 × 40.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
6
Pads
24
Tracks, vias
25, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
17 May 2025
Updated
5 Jun 2025

Overview

Lex cap charge discharge demo single is an open-source printed circuit board by alexhunsley, from the alexhunsley/cap-fun repository on GitHub, published under the MIT licence. It is a 2-layer board of 38.1 × 40.6 mm with 14 parts on 6 nets, routed with 25 tracks and 0 vias.

Its parts include 4 connectors, 2 resistors, 2 switches, 1 capacitor and 1 diode.

README

README.md

cap-fun

I made this to try out KiCad, see blog post and follow-up.

This is a small educational circuit for demonstrating how capacitors work:

  • insert an electrolytic capacitor (I suggest 1000uF) into the cap header (longer leg goes next to the + symbol)
  • insert a 3mm red LED into the LED header (longer leg goes next to the + symbol)

Now hold down the discharge push button. If the cap has charge, the LED should light and fade as the cap discharges.

If you want to be able to charge the cap, connect the +V and GND pads to a DC power source (5V suggested), and the charge push button will charge the cap while it is held down.

More info at blog post.

Footnotes

  • the cap voltage rating doesn't matter much because it can only charge up to the voltage the power supply provides

Parts

14
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
2Conn_01x01_SocketConnector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_VerticalJ3, J4
1+5VTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmJ1
11000uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC1
110KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
1330Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
13mm red LEDLED_THT:LED_D3.0mmD1
1GNDTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmJ2
1chargeButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1
1dischargeButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW2

Questions

How big is the Lex cap charge discharge demo single PCB?

It measures 38.1 × 40.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Lex cap charge discharge demo single use?

14 parts. 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 Lex cap charge discharge demo single KiCad files?

From the alexhunsley/cap-fun repository on GitHub, at the commit this page was made from: the board is lex_cap_charge_discharge_demo_single.kicad_pcb and its schematic lex_cap_charge_discharge_demo_single.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Lex cap charge discharge demo single 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 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

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

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475