TOP Contributors

  1. MIKROE (2752 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139073 times)
  2. FAT32 Library (71595 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47334 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27894 times)
  9. PID Library (26859 times)
  10. microSD click (26130 times)
Libstock prefers package manager

Package Manager

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]

< Back
Project

PIC based digital capacitance meter

Rating:

0

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.

No Abuse Reported

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".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

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.

Capacitor charging equation

Capacitor charging equation

Voltage across a capacitor builds up exponentially and is a function of RC time constant.

View full image
CapMeter in action

CapMeter in action

Measuring capacitor rated 15nF

View full image

ALSO FROM THIS AUTHOR

Temperature measurement using TC74 (Microchip) thermal sensor and StartUSB for PIC

0

This project describes how to interface Microchip's TC74 sensor with a PIC microcontroller to measure ambient temperature. The code is written in mikroC Pro for PIC and is illustrated with StartUSB for PIC board.

[Learn More]

Single chip (PIC12F683) temperature data logger

15

It is a very simple data logger project based on PIC12F683 microcontroller. The microcontroller reads temperature values from a temperature sensor on a regular interval basis and stores them into its internal EEPROM memory. http://embedded-lab.com/blog/?p=2236

[Learn More]

LED Marquee using PIC16F1847 and shift registers

0

This project is about constructing a mono-color LED matrix display board that consists 320 LEDs arranged in 8 rows and 40 columns. The heart of this project is PIC16F1847 microcontroller and the firmware is developed using mikroC Pro for PIC compiler.

[Learn More]