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 here before trying this project. If you don't have your own hardware for this project, you can schedule this project on our company hardware and access it remotely. We offer system software development online course 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.
The connections to be made to write a numerical digit is as shown below.
Connections to display digits using SSDs
Microcontroller PORT, Pin
Power supply SSD0
Power supply SSD1
Power supply SSD2
Power supply SSD3
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.