TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (382 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139711 times)
  2. FAT32 Library (72098 times)
  3. Network Ethernet Library (57319 times)
  4. USB Device Library (47663 times)
  5. Network WiFi Library (43286 times)
  6. FT800 Library (42619 times)
  7. GSM click (29958 times)
  8. mikroSDK (28370 times)
  9. PID Library (26977 times)
  10. microSD click (26360 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: 2643 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

DIY heart beat rate meter using clicker2 for PIC18FJ and Easy Pulse mikro

0

This project is about building a stand-alone pulse meter using Easy Pulse mikro and mikroElektronika‘s clicker 2 for PIC18FJ board. An OLED W click board is also used to display the pulse rate in beats per minute (BPM).

[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]

Car's battery voltage and charging system monitor

5

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]