Share | Tweet |
---|
In this project we will interface lm35 temperature sensor 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 required hardware and software for this project is as below:
The schematic diagram for this project is as shown below:
The connections to be made to write a numerical digit is as shown below.
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.
Share | Tweet |
---|