•  
  •  

7 segment rolling display using PC

It is very interesting and convenient to be able to control everything while sitting at your PC terminal. Here, a simple hardware circuit and software is used to interface a 7-segment based rolling display. The printer port of a PC provides a set of points with some acting as input lines and some others as output lines. Some lines are open collector type which can be used as input lines. The circuit given here can be used for interfacing with any type of PC?s printer port. The 25-pin parallel port connector at the back of a PC is a combination of three ports. The address varies from 378H-37AH. The 7 lines of port 378H (pins 2 through 8) are used in this circuit to output the code for segment display through IC1. The remaining one line of port 378H (pin 9) and four lines of port 37AH (pins 1, 14, 16, 17) are used to enable the display digits (one a time) through IC2. The bits D0, D1 and D3 of port 37AH connected to pins 1, 14 and 17 of ?D? connector are inverted by the computer before application to the pins while data bit D2 is not inverted. Therefore to get a logic high at any of former three pins, we must send logic 0 output to the corresponding pin of port 37AH. Another important concept illustrated by the project is the time division multiplexing. Note that all the five 7-segment displays share a common data bus. The PC places the 7-segment code for the first digit/character on the data bus and enables only the first 7-segment display. After delay of a few milliseconds, the 7-segment code for the digit/character is replaced by that of the next charter/digit, but this time only second display digit is enabled. After the display of all characters/digits in this way, the cycle repeats itself over and over again. Because of this repetition at a fairly high rate, there is an illusion that all the digits/characters are continuously being displayed. DISP1 is to be physically placed as the least significant digit. IC1 (74LS244) is an octal buffer which is primarily used to increase the driving capability. It has two groups of four buffers with non-inverted tri-state outputs. The buffer is controlled by two active low enable lines. IC2 (75492) can drive a maximum of six 7-segment displays. (For driving up to seven common-cathode displays one may use ULN2003 described elsewhere in this section.) The program for rolling display is given in the listing DISP.C above. Whatever the message/characters to be displayed (here five characters have been displayed), these are separated and stored in an array. Then these are decoded. Decoding software is very simple. Just replace the desired character with the binary equivalent of the display code. The display code is a byte that has the appropriate bits turned on. For example, to display character ?L?, the segments to be turned on are f, e and d. This is equivalent to 111000 binary or 38 hex. Please note that only limited characters can be formed using 7-segment display. Characters such as M, N and K cannot be formed properly

If there are any problems please contact webmaster@electronic-circuits-diagrams.com

Please share & like


HP Workstation Z420 Tower PC Intel Xeon 3.60GHz 4GB 120GB SSD  Windows 10 Pro picture

HP Workstation Z420 Tower PC Intel Xeon 3.60GHz 4GB 120GB SSD Windows 10 Pro

$466.40



Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New picture

Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New

$15.85



Xeon E5 E7 Processor Packaging for Tray LGA2011  52.5 x 45 mm - Lot of 2 6 12 30 picture

Xeon E5 E7 Processor Packaging for Tray LGA2011 52.5 x 45 mm - Lot of 2 6 12 30

$15.85



100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam picture

100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam

$98.88



Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50 picture

Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50

$14.85



100 - Processor Shipping Packaging Case for LGA1366 Xeon with Anti Static Foam  picture

100 - Processor Shipping Packaging Case for LGA1366 Xeon with Anti Static Foam

$98.88



New Honeywell Xeon 1900 Barcode Scanner Desktop IntelliStand STND-15R00-000-6 picture

New Honeywell Xeon 1900 Barcode Scanner Desktop IntelliStand STND-15R00-000-6

$26.97



Honeywell Xeon 1900 Barcode Scanner Desktop Stand  picture

Honeywell Xeon 1900 Barcode Scanner Desktop Stand

$14.39



7X06CTO1WW ThinkSystem SR650 2U Server base picture

7X06CTO1WW ThinkSystem SR650 2U Server base

$1300.00



Supermicro X9SAE REV: 1.01A INTEL XEON - New Unused picture

Supermicro X9SAE REV: 1.01A INTEL XEON - New Unused

$195.48