All Projects → codewrite → arduino-capacitor

codewrite / arduino-capacitor

Licence: GPL-3.0 license
Capacitance measurement library for Arduino

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to arduino-capacitor

Arduinostl
An STL and iostream implementation based on uClibc++ that supports my CS-11M class.
Stars: ✭ 201 (+957.89%)
Mutual labels:  arduino-library
Basecamp
An Arduino library to ease the use of the ESP32 in IoT projects
Stars: ✭ 251 (+1221.05%)
Mutual labels:  arduino-library
MCP79412RTC
Arduino library for the Microchip MCP79411/12 Real-Time Clock/Calendar
Stars: ✭ 20 (+5.26%)
Mutual labels:  arduino-library
Timezone
Arduino library to facilitate time zone conversions and automatic daylight saving (summer) time adjustments.
Stars: ✭ 205 (+978.95%)
Mutual labels:  arduino-library
Helios
The free embedded operating system.
Stars: ✭ 223 (+1073.68%)
Mutual labels:  arduino-library
Adafruit TLC59711
Arduino library for TLC59711
Stars: ✭ 20 (+5.26%)
Mutual labels:  arduino-library
Esp Webota
Simple web based Over-the-Air (OTA) updates for ESP based projects
Stars: ✭ 189 (+894.74%)
Mutual labels:  arduino-library
DFPlayerMini Fast
Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.
Stars: ✭ 164 (+763.16%)
Mutual labels:  arduino-library
Linkedlist
🔗 A fully implemented LinkedList made to work with general Microcontrollers and Arduino projects
Stars: ✭ 241 (+1168.42%)
Mutual labels:  arduino-library
G-Code-Arduino-Library
Allows any machines and robots to be controlled by G-Code
Stars: ✭ 44 (+131.58%)
Mutual labels:  arduino-library
Lpd8806
Arduino library for LED strips and pixels using LPD8806 (and probably LPD8803/LPD8809)
Stars: ✭ 207 (+989.47%)
Mutual labels:  arduino-library
Arduino Tvout
Arduino-TVout
Stars: ✭ 216 (+1036.84%)
Mutual labels:  arduino-library
ESP-CoAP
This repo contains CoAP protocol for ESP-12E
Stars: ✭ 70 (+268.42%)
Mutual labels:  arduino-library
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (+963.16%)
Mutual labels:  arduino-library
ardusamber
Desamber time Arduino corporealization
Stars: ✭ 20 (+5.26%)
Mutual labels:  arduino-library
Radio
An Arduino library to control FM radio chips like SI4703, SI4705, RDA5807M, TEA5767.
Stars: ✭ 193 (+915.79%)
Mutual labels:  arduino-library
arduino-id-guard
Tiny library to avoid deploying your sketch to wrong device.
Stars: ✭ 21 (+10.53%)
Mutual labels:  arduino-library
SparkFun ATECCX08a Arduino Library
An Arduino library to use with the Microchip ATECCX08a Cryptographic Co-processors.
Stars: ✭ 26 (+36.84%)
Mutual labels:  arduino-library
SimpleStepper
A bare minimum but really fast and simple stepper library for Arduino.
Stars: ✭ 21 (+10.53%)
Mutual labels:  arduino-library
Adafruit MCP3008
MCP3008 8-Channel 10-Bit ADC
Stars: ✭ 22 (+15.79%)
Mutual labels:  arduino-library

Capacitor

Arduino library to measure capacitance from 0.2pF to over 100uF with no external hardware.

Introduction

This library allows capacitance to be measured between two pins. One pin must be an analog pin.

Usage

Declare a Capacitor object, e.g.:

Capacitor cap1(7, A2);

To measure the value of a capacitor (e.g. in the case above between pin D7 and A2) call the Measure() method, e.g.:

float val = cap1.Measure()

Returns the capacitance in picofarads, in this case in the variable val.
(note that 1nF = 1000pF and 1uF = 1000000pF)

What's New?

Version 1.1.0 introduces the CapacitorLite class. This uses much less program space* and guarantees a fast measurement. It only measures up to 655pF - any capacitors above this will return 65535 from the Measure() method. See the example code here.

* Capacitor uses about 3.5K of program space and 19 bytes of dynamic memory, CapacitorLite uses less than 1K of program space and 7 bytes of dynamic memory.


I originally came up with this idea back in 2014. For some explanation of how it works please have a look at these links: https://hackaday.com/2014/01/22/capacitance-measurement-with-the-arduino-uno/#more-113173 http://wordpress.codewrite.co.uk/pic/2014/01/21/cap-meter-with-arduino-uno/ http://wordpress.codewrite.co.uk/pic/2014/01/25/capacitance-meter-mk-ii/
For more information about how to use the code and how it works, please see the WiKi.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].