TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 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 (139270 times)
  2. FAT32 Library (71755 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47432 times)
  5. Network WiFi Library (43093 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28103 times)
  9. PID Library (26886 times)
  10. microSD click (26198 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: 2641 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

MikroC Pro for PIC driver routine for 74HC595 based serial LCD interface

5

Contains library routines for 3-wire LCD interface based on 74HC595 shift register. More details are provided in the attached ReadMe document or posted at http://embedded-lab.com/blog/?p=30

[Learn More]

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]