- Published: Tuesday, 10 March 2009
- Written by Digital DIY
- Hits: 12842
- Unable to retain data
- Require many Pins to interface
The data that they display can be manipulated so that the same 7 data lines can multiplex information onto other displays at the same time. This can be seen in the Multiple 18F section. But for now, and future routines, this diagram illustrates how to connect a 7 segment display to a PIC micro. This may not be the same wiring diagram that other people have used, but in my projects, it will always be the same with the exception of the common cathode pin on the display.
The box that the 7 segment is in represents the common. There are two types of 7 segment displays, common cathode and common anode. In my projects, I use common cathode displays. i.e.
As you can see, to control any of the segments, a +ve signal is required, as they all share the same earth. aka common cathode.
The following example shows how to decode a value between 0-9 into 7 segment data and display it.