Digital Volmeter with PIC16F877A Microcontroller and Micro C

This tutorial is to help us on how to design, build, and code with Micro C, a digital Voltmeter using the PIC16F877A Microcontroller. This circuit is built to read the input voltage form the positive (+) and negative (-) terminals of the meter and display this reading unto the LCD(Liquid Crystal display) as shown in the schematic below.
You need to watch the video above in order to understand how this circuit works.


DigitalVoltmeter

In this project, you will need

  1. a PIC16F84A microcontroller.
  2. two capacitors and a crystal oscillator: used to produce an input clock frequency into the microcontroller
  3. 10K resistor and a pushbutton to reset Microcontroller when need.
  4. a 5V dc input voltage source
  5. 2 10K potentiometers: One to vary the LCD contrast and the other one to vary the measured volatge.
  6. Click on the link below to download the