Position: Index > Basic Circuit >

Digital Voltmeter with 3-Digit Output by PIC16F676

2015-01-09 01:14  
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.
Figure:1

Figure 1 

The construction of the device uses PIC16F676 for reading analog signal such as voltage, and displaying the 3-digit output by using 7-segmentLED.

On the hardware part, the PIC16F676 has 10-bits 8 channels since most ofPICmicrocontrollers has either 8-bit or 10-bit analog to digital converter module. In this project, only one channel is used for measuring the input voltages while the others pins are used for digital I/O. A voltage divider consisting of R1 & R2 is used for the voltage input. The appropriate display of full scale voltage is being adjusted by VR1 connected in parallel with R2. The analog input will come from the divided input voltage from AN3.

In scan display routine, the digital output RA0-RA2 turns ON/OFF the digits. The 7-segment display is driven by the RC0-RC5 and RA5 and will be decoded by a software usingCCSC compiler to programming. The 7-segment code is a converted form of the input voltage on RA3. The interrupt of every 5 ms is set on the timer while scanning all digits around 66 Hz frequencies. This means that for every 5 ms, only one digit is turned ON.

Source:coolcircuit.com/project/meter/index.html


Reprinted Url Of This Article:
http://www.circuit-projects.com/metering/digital-voltmeter-with-3-digit-output-by-pic16f676.html