Seven segment display interfacing with pic microcontroller

In: Project Code: PE000007
Share

In this project we will interface a seven segment displays with PIC16F877A 8-bit microcontroller. If you are new to PIC microcontroller programming we suggest you to execute the basic led blinking project before trying this project. If you don't have your own hardware for this project, you can and access it remotely. We offer that requires several projects to be completed to earn course certificate. You can choose this project as part of system software development online course completion requirements.

Subscribe to enable complete access to all , and and earn certificates from .

Complete this project and update to consider it for requirements and earn certificate.

course thumb

Project Content


Required hardware and software


The required hardware and software for this project is as below:

  • PIC Development board hosting PIC16F877A microcontroller
  • MPLAB IDE from Microchip
  • PICKIT3 Programmer, connecting cable from PICKIT3 to your computer.
  • Power supply for the development board
  • 4 common cathode seven segment displays
  • 4 BC547B transistors
  • 4 1K Resistors
  • 8 220ohm Resistors

  • Schematic diagram


    The schematic diagram for this project is as shown below:

    Required Components

    Writing numerical digits on SSDs


    The connections to be made to write a numerical digit is as shown below.

    Connections to display digits using SSDs

    SSD pins Microcontroller PORT, Pin
    Power supply SSD0 PORTB, RB4
    Power supply SSD1 PORTC, RC5
    Power supply SSD2 PORTD, RD3
    Power supply SSD3 PORTD, RD2
    Segment A PORTD, RD4
    Segment B PORTD, RD5
    Segment C PORTD, RD6
    Segment D PORTD, RD7
    Segment E PORTB, RB0
    Segment F PORTB, RB1
    Segment G PORTB, RB2
    Segment DEC PORTB, RB3

    To write a numerical digit on any of the seven segment display you need to set the power supply pin of the SSD and required segments for the numerical digit. For example to write 8 on SSD0 you need to set RB4 pin to provide power supply to the SSD and set RD4,RD5,RD6,RD7,RB0,RB1,RB2 pins to write 8 on the SSD.

    Prepare source code, Compiling source code, creating binary


    Prepare source code

    Subscribe online courses

    Subscribe below to unlock project and earn certificates for software jobs

    Subscribe
    Looking for a new project? Write and upload your project information .
    Share

    Schedule a project

    Embedded Systems Projects

    Linux Software Projects

    Articles

     Online Certificate Courses

     Test your skills:online tests

     C Programming

     Python Programming

     Linux Software

     Quantitative Aptitude