We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Rajendra Bhatt
Last Updated: 2016-02-21
Package Version: 1.0.0.0
Category: Measurement
Downloaded: 2640 times
Followed by: 1 user
License: MIT license
Capacitors are one of the most common passive electrical components that are extensively used in all kinds of electronic circuits. This project describes a technique of building a digital capacitance meter using the PIC16F628A microcontroller. The firmware is written in mikroC Pro for PIC compiler.
Do you want to subscribe in order to receive notifications regarding "PIC based digital capacitance meter" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "PIC based digital capacitance meter" changes.
Do you want to report abuse regarding "PIC based digital capacitance meter".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1338398234_pic_based_digita_mikroc_pic.zip [90.77KB] | mikroC PRO for PIC |
|
Capacitors are one of the most common passive electrical components that are extensively used in all kinds of electronic circuits. In this project, we will discuss a technique of building a digital capacitance meter using a PIC microcontroller. This project can measure capacitance values from 1 nF to 99 μF, with a resolution of 1 nF. The technique is based on measuring the time elapsed when a capacitor is charged to a known voltage through a series resistor. The idea of measuring the time elapsed when the capacitor is charged from 0 to a known voltage can be implemented with any microcontroller. Here, we are using the PIC16F628A microcontroller, which has two built-in analog comparators. This project uses the Analog Comparator 2 and TIMER2 modules to determine the time elapsed during the charging process of the capacitor.
Voltage across a capacitor builds up exponentially and is a function of RC time constant.
View full image