PIC12F675 Digital to Analog Converter
Category: PIC12F675
Designer: RANA MUHAMMAD ADNAN KHALIL
Notes
This circuit is simulated in Proteus 7.10, while code is written in MPLAB X IDE using XC8 compiler. This program is for very beginners. Working of this circuit and program is given below: 1. In this circuit you will learn how to make artifical DAC (Digital to Analog Converter) module of PIC12F675. 2. In this circuit analog input is taken at GP0 through potentiometer. 3. The same output is taken at GP5 using bit bang PWM. 4. The PWM signal is filtered through resistor and capacitor (low pass filter). 5. The filter signal is shown at DC digital voltage meter. 6. The output signal can be scale up or scale down. 7. The sampling rate can be made fast by applying crystal oscillator. Applications: 1. This circuit can be used as feedback compensator. 2. This circuit can be used to generate analog output from 0 to 5VDC.