Analog to digital converter use microcontroller and Mikro C code
In this tutorial I am show you how to working analog to digital converter in PIC16F877A. PIC16F77A Microcontroller has 8 channel ADC module. I am use this project analog channel 0.
you can watch the video or read the written tutorial below.
ADC module receive analog voltage. The analog voltage can be (0-5)V. ADC module it convert 10 bit digital value corresponding analog signal. PIC ADC module has software selectable high and low voltage reference input and some combination of VDD , VSS , RA2 & RA3.
Mikro C Pro For Pic provide a ADC library with comfortable working with the ADC module.
ADC Library On Mikro C Pro For PIC
ADC (Analog to Digital Converter) module is available with a number of PIC MCU modules. ADC is an electronic circuit that converts continuous signals to discrete digital numbers. ADC Library provides you a comfortable work with the module.
Library Routine
- ADC_Init
- ADC_Init_Advanced
- ADC_Init_Sample
- ADC_Read
Circuit Diagram
Mikro C Code:
No comments