Measure Capacitance with Arduino

This tutorial provides a guide on how to set up an Arduino to measure the capacitance of a capacitor. This can be useful if the capacitor is unlabeled or if it is self-built.

Capacitance is an object’s ability to store an electric charge. Reasonably, this object is referred to as a capacitor. A capacitor that stores this charge in an electric field between two conductive plates is known as a parallel plate capacitor. The non-conductive material that is between these two plates is known as a dielectric. Dielectrics change the amount of charge a capacitor can hold and , in practice, what the particular capacitor would be used for (e.g. high frequency circuits, high voltage circuits, etc).

Measure Capacitance with Arduino

The equation for the capacitance of a parallel plate capacitor is:

C = (εA) / d

where ε is the permittivity of free space or dielectric, A is the surface area of overlap between the plates, and d is the distance between the plates.

An RC (Resistor-Capacitor) circuit has a property known as a “RC Time Constant” or T (Tau). The equation for which is given below:

T = RC

Tau can be simplified from a more complicated equation (shown in images above) to represent the time it takes a capacitor to be charged, through a resistor, to reach 63.2% of its total voltage. This can also be measured by the time it takes the capacitor to reach 36.8% of its total voltage upon discharging.

The Arduino will be programmed to time how long it takes for a capacitor to reach 63.2% of its total charge. It will then use the equation for Tau to calculate the capacitance since the value of the resistor is already known.

For more detail: Measure Capacitance with Arduino


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.