Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (99 codes)
  2. Dany (44 codes)
  3. NART SCHINACKOW (34 codes)
  4. Alcides Ramos (33 codes)
  5. Agent Wolfz (14 codes)
  6. Andrew Hazelden (13 codes)
  7. Roman Black (11 codes)
  8. Alberto Trasimeni (11 codes)
  9. Roman Toropov (9 codes)
  10. Simon Platten (8 codes)

Most Downloaded

  1. Network Ethernet Library (11787 times)
  2. FAT32 Library (8633 times)
  3. Timer Calculator (6576 times)
  4. PID Library (5256 times)
  5. Network WiFi Library (5232 times)
  6. SMS home alarm system (4431 times)
  7. External Memory (4114 times)
  8. mikromedia for PIC18FJ - Examples (3572 times)
  9. microSD click - Example (3500 times)
  10. GPS click - Example (3269 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:

Author: Rajendra Bhatt

Last Updated: 2012-05-30

Category: Measurement

Downloaded: 781 times

Not followed.

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

Download Project [82.97KB]

Version 1.0.0.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

LED Marquee using PIC16F1847 and shift registers

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]

Single chip (PIC12F683) temperature data logger

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]

Car's battery voltage and charging system monitor

This project is about making a simple electronic voltage monitor system for car’s battery and its charging system. It plugs into the car’s cigarette lighter receptacle and displays the instantaneous output voltage across the battery terminals on a 4-digit seven segment LED display.

[Learn More]