Monday, July 10, 2017

Measure resistance and capacitance without an A/D

This article describes how to measure values of a variable resistor or a variable capacitor using a microcontroller to measure the RC charge time to a constant threshold voltage. A variety of these "one-shot" circuits are described and the accuracy of the various methods is measured. Sample programs for the 87C51 family are presented at the end of the article.

Measure resistance and capacitance without an A/D

The old "one-shot" monostable multivibrator circuit has been around since the discovery of the electron. Popular IC versions of this variable pulse width generator include the 74123 and the famous (Philips) Signetics NE555 timer. These circuits use the time to charge a capacitor to a predefined voltage as their time delay.

Measure resistance and capacitance without an AD

If the threshold voltage is 1-1/e (e is the natural log base), then the time delay in seconds is exactly the product of the resistance in ohms and the capacitance in Farads (t=RC). This is a linear equation and it can be used to measure an unknown value of R if C and t are known. The purpose of this article is to describe ways to measure a RESISTANCE by using this technique with an 80C51 type of microcontroller.

by Don Sherman AN449 - NXP Philips Application Notes

Contents

Basic Electronics
Basics of Electronics
Product Production
Work Discipline
Testing Points
Learning Electronics
Electronics Theory

Production Notes
Prototype Fabrication
Electrical Circuits
Electromechanical


Library
Scots Guide Electronics
Engineering - Wikibooks
Design Lab - Jim Svoboda
DC Circuits UOG
Socratic Electronics
Blobz Guide Electric Circuits


Product Design
Product Development
Constant Current Source
Good Voltage Regulators
Insulation Resistance
Digital Insulation Tester
DN Schematic PCB 04
DN Product Design 07


Hobby Circuits
VU Meter Circuits
LED brightness control
555 Incredible Chip
Process Control
liquid level measurement
Thermocouples and RTD
Design ADC Interface uC
Thermocouple Amplifier
IA Instrumentation 02
Temperature on DMM
Optical Proximity Switch
Analog Mux - Data Acquisition


Test Measurement
Instrumentation Automation
NI Test and Measurement
DMM Digital Multi Meter
Oscilloscope in T&M
IA Automation 01
Build Instruments
Tektronix T&M Equipment
Educators Corner – Agilent


Power Electronics
UPS Background
Transformer Connections
DN Power Electronics 03
DN Power Electronics 02
Half Bridge Convertor SG3525


Embedded
Interfacing Microcontrollers
Embedded Process Control
80C31 8052 Microcontroller
Microprocessors and uC
Embedded Systems Design

Components
Good Voltage Regulators
Relays and Contactors
Potentiometers Trimpots
Prototype Boards Types
Types of Capacitors
Types of Switches
Resistors How they Work
Coils Transformers SMPS
Mains Transformers Types
DN Components Selection 05

Tutor Gadgets
Count-Up Timer
Digital Logic Gates
Electronics Tutors

History
Teaching Instruments
Charles Proteus Steinmetz
Muntzing a Circuit Design
Teralab Electronics projects
Historical Instruments


Tables, Charts, Videos
Binary and Hex
Resistor Color Code
Ohms Law
Giga, Tera, Pico, Nano
High Resistance Materials

Analog
School - Analog Design
DN Analog Basics 06
DN Op-Amps 01
TI Semiconductors