Circuit-Projects.com New Projects
Loading the search box...
Metering

Digital Voltmeter with 3-Digit Output by PIC16F676

Digital Voltmeter with 3-Digit Output

Overview

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

Explanation

On the hardware part, the PIC16F676 has 10-bits 8 channels since most of PIC microcontrollers 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 using CCS C 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


Comments (2)

IMRAN
I LIKE IT
thilak
i like it if it was truely done with correct PIN numbers etc. I burnt the IC 'cos the wiring was incorrect in this diagram. Please DO NOT give dead ropes to people who are intersted in such articles. The PIN numbers (Vdd , Vss) are wrong in this circuit. Anybody who is interested in this do NOT go by this , the Software given also faulty.

Write comment

smaller | bigger

busy
 
RSS
Get the latest projects to your e-mail box:
Subscribe to RSS Feed Follow us on Twitter
Contact | Privacy Policy | Advertising
Subscribe to RSS Feed