## Introduction: DIY Simple Arduino Autorange Capacitance Meter(10pF-10000MicroF)

Simple Digital Multimeters (DMMs) cannot measure the capacitance and in order to find the capacitance, you either need to go for an advanced, expensive DMM or find a dedicated Capacitance modules.

In this project, I will build a simple Arduino Capacitance Meter with Auto-Ranging feature.

## Step 1: Description

It can measure capacitance from 10 pF to 10,000 μF. The measurement takes place in automatic mode, it is enough to connect the capacitor to the measuring contacts. The device has two ranges: "nF" and "μF". When measuring a capacitor, the "nF" range is first switched on, if the capacitance is too large, then the transition to the "μF" range occurs.

Each capacitance meter has an RC circuit with known resistor values and an unknown capacitor value. The Arduino will measure the voltage at the capacitor and record the time it takes to reach a certain percentage of it’s voltage when fully charged (the time constant). Since the resistance value is already known, we can use the formula in a program that will calculate the unknown capacitance. The capacitor under test is charged using one of the resistors. The Arduino initiates the charging of the capacitor through resistor according to its capacity. In the capacitance meter, a zero calibration is performed every time it is turned on, therefore, at the moment of switching on, a capacitor should not be connected to the measuring contacts. Also, all capacitors must be pre-discharged.

## Step 2: Building , Schematic and Code

The accuracy is +/- a few percent and depends primarily on the tolerance of the resistors used as well as the stability of the supply voltage.

Lastly, the entire device is housed in a suitable box and is another useful tool in your lab.