Skip to content

forughi/TwoWireCap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwoWireCap

Two-wire capacitance measurement for Arduino. Working range: pF to 100s uF.

CapValue(int IN_PIN, int OUT_PIN) function returns the value of a capacitor [in pF] that is directly connected to analog pins "IN_PIN" and "OUT_PIN". Please see the example code.

No circuit is needed. The precision/accuracy is acceptable considering the simplicity of the code and circuit.

Developed based on a code published at [http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/]

(A. F. Forughi, UBC, March 2019.)

Installation

Download from https://github.com/forughi/TwoWireCap/archive/master.zip.

Extract it to the libraries folder inside your Sketchbook. Default is [user]\Arduino\libraries.

Releases

No releases published

Packages

No packages published

Languages