We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!
Item Qty
Your cart is empty.

AN700

Title
Title
Make a Delta-Sigma Converter Using a Microcontroller's Analog Comparator Module
Name
Name
AN700
Date
Date
06/24/2015
Application Categories
Application Categories
Peripheral / ADC
Peripheral / Comparator
Power Supply & Conversion / Digital Power Conversion
Signal Conditioning & Measurement / ADC
Signal Conditioning & Measurement / Comparators
Product Categories
Product Categories
8-bit MCU
Mixed Signal / A D Converters Delta-Sigma
Description
Description
This application note describes how to implement an Analog-to-Digital (A/D) Converter function using a member of the PIC16C6XX series of microcontrollers. Although these microcontrollers do not have a built-in A/D Converter like other controllers from Microchip, the comparator function, internal voltage reference and timers can be used to digitize an analog signal. Some of the standard PICmicros have a comparator module, consisting of two comparators, both of which can be connected to PORTA in a variety of configurations. The internal voltage reference divider can be used with the comparators to establish thresholds. Additionally, one of the comparator inputs can be configured to the RA2 port allowing for the use of an external voltage reference. By combining these elements, a first order modulator and first order filter can be designed, emulating the function of an analog-to-digital delta-sigma conversion. This method of conversion is quickly implemented in firmware with very few additional external components. Consequently, the cost of hardware implementation is minimal, particularly for such a high resolution converter solution. The input range is very flexible and adjusted with external resistors. Although this method is not particularly strong in terms of DC accuracy, it is well suited for ratiometic applications.

Files

Title Title Download Date Size
AN700 Source Code - Make a Delta-Sigma Converter Using a Microcontroller's Analog Comparator Module 9.1 KB 06/23/2015 AN700 Source Code - Make a Delta-Sigma Converter Using a Microcontroller's Analog Comparator Module Download 06/23/2015 9.1 KB