Capacitance meter with FRDM-KL05Z

cancel
Showing results for 
Search instead for 
Did you mean: 

Capacitance meter with FRDM-KL05Z

No ratings

Capacitance meter with FRDM-KL05Z

This is a Processor Expert project created by CodeWarrior for MCUs v10.6 which implements the charge-discharge time of a RC circuit for measuring capacitance.

The charge-discharge sequence is performed by TPM0 operating in PWM mode, while the time is measured by TPM1 operating in Input Capture mode.

A 100K ohm series resistor is being used, and the result is expressed on nF. It is also using the LCDHTA component from Erich Styger for showing the measurements on a 16x2 LCD, connected to the FRDM-KL05Z through a proto shield.

The project is attached, and the pictures shows the measurements of three different capacitors: 10nF, 47nF and 1uF.

DSC_1670.JPG.jpg

DSC_1671.JPG.jpg

DSC_1673.JPG.jpg

Attachments
Comments

You might find this old project from MERL - Mitsubishi Electric Research Laboratories of interest:

http://www.merl.com/publications/docs/TR2003-35.pdf

"Very Low-Cost Sensing and Communication

Using Bidirectional LEDs" by

Paul Dietz, William Yerazunis, Darren Leigh

TR2003-35 July 2003

Replace your capacitor with a LED.  The capacitance of the LED varies with the incident light on it.

Version history
Revision #:
1 of 1
Last update:
‎04-15-2014 01:49 PM
Updated by: