Search

Arduino Capacitance Meter

Photo of hIOTron

Made by hIOTron / IoT

About the project

We have a cost-effective capacitance meter to measure capacitance using Arduino.

Project info

Difficulty: Moderate

Platforms: Arduino

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Standard Lcd 16x2 White On Blue Standard Lcd 16x2 White On Blue x 1
Resistor 10k Ohm 1/4 Watt Pth - 20 Pk Resistor 10k Ohm 1/4 Watt Pth - 20 Pk x 1
Resistor 1k Ohm 1/4 Watt Pth - 20 Pk Resistor 1k Ohm 1/4 Watt Pth - 20 Pk x 2
555 Timer Ic Cmos 555 Timer Ic Cmos x 1
Arduino Mkrfox 1200 Arduino Mkrfox 1200 x 1
Servo Trigger Trigger Servo Trigger Trigger x 1
Sparkfun Capacitor Kit Sparkfun Capacitor Kit x 1
Sparkfun Capacitor Kit Sparkfun Capacitor Kit x 1

View all

Software apps and online services

Arduino IDE Arduino IDE

Story

About Project

555Timer IC

555 Timer IC Based Square Wave Generator

555 Timer IC Based Square Wave Generator

555 Timer IC Based Square Wave Generator

The output signal frequency relies on R1, R2 resistors, and capacitor C1. The equation is given as,

Frequency (F) = 1/ (Time period) = 1.44/ ((R1+R2*2)*C1).

By placing the resistance and capacitance values in the equation we will see the frequency of output square wave.

Frequency (F) = 1/ (Time period) = 1.44/ (21000*C).

From the above formula, we can find out the capacitance

Capacitance C = 1.44/ (21000*F)

The Uno has a specific function pulseIn, which allows us to ascertain the positive state duration or negative state duration of a precise rectangular wave.

After connecting the unknown capacitor to the 555 timer circuit which generates a square wave output and whose frequency is instantly associated with the capacitance of the capacitor. This signal is provided to UNO through the Schmitt Trigger gate. The UNO estimates the frequency. Using this frequency we program the UNO to estimate the capacitance with the above formula.

IoT Course will give a thorough view of such IoT Applications.

Code

Run a program

Credits

Leave your feedback...