CATEGORII DOCUMENTE |
Bulgara | Ceha slovaca | Croata | Engleza | Estona | Finlandeza | Franceza |
Germana | Italiana | Letona | Lituaniana | Maghiara | Olandeza | Poloneza |
Sarba | Slovena | Spaniola | Suedeza | Turca | Ucraineana |
7 segment displays are a cheap and effective way to display data. The only real downsides to them are;
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.
Schematic
Note the PIC's power supply/oscillator are not shown
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.
Device 16F877
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 997
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved