How to interface Seven Segment Display with PIC18F4550 Microcontroller
The seven segments are used to display decimal and hexadecimal (0-9, A-F) values. A seven segment is cheapest option for applications requiring numeric value display as output. Calculators, watches, lift’s floor indication panel etc. are examples of such applications. The interfacing and operation of a seven-segment display with PIC18F4550 has been explained here.
A typical seven-segment consists of 8 LEDs arranged in a pattern to display values. A seven-segment can be either of the two types, namely, Common Anode (CA) and Common Cathode (CC). For more details, refer Seven segments.
A single seven-segment requires a minimum of 7 data pins of controller to display different values. The connections of seven-segment with PIC18F4550 are shown in the adjoining circuit.
To display a numeric value, a particular data-byte is sent by the microcontroller. Refer seven segment interfacing with 8051. This data byte can either be calculated manually or by using Seven Segment Editor tool of mikroC IDE. (Also see Working with mikroC)
For All Your PCB Need, One-stop PCB Solution Services Appear:
EasyEDA: free PCB design tool, 200,000+ engineers are using
PCBs: 10pcs 2-layer 10x10cm only $8.21, on-time global shipping
Components: save 50% on cost, save on freight if shipped with ordered PCBs
Current Project / Post can also be found using:
- 7 segment display using 8051 on pcb
- interfacing 7 segment display with PIC18F4550
- interfacing of seven segment with pic18f4550
- pic 18f libraries for seven segment display