S7 segment display with micro c, using a PIC16F84A

This tutorial is to help us on how to design, build, and code in micro c, how to display numbers on a 7 segment display connected to a PIC16F84A microcontroller. Firstly, you will design the schematic below on proteus software and save it.
You need to watch the video above in order to understand how this circuit works.


Arduino Christmas

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. A 7 segment display (common cathode).
  4. a push-button and a 10K ohm resistor: it resets the microcontroller in case of any failure


You wil need the micro c ide. You can freely download at microelectronica.com

This is how the code looks like in micro c.
simple ssd code

Click on the link below to download
Source code