Dot LED Matrix To Parallel Port
Dot LED Matrix To Parallel Port
BSECE 3B
Activity 7
Dot LED Matrix to Parallel Port
A matrix of LEDs placed in a rectangular form makes up an LED dot matrix display. By turning
on and off a certain combination of LEDs, the required character or visuals may be shown. Common
display configurations available are 7×5, 8×8, 7×15, etc. LED dot matrix displays can be employed in
simple display applications when resolution isn't an issue. The LED configuration of a typical 75 dot
matrix display is seen in the diagram below.
By switching the needed number of rows and columns, any individual LED or group of LEDs in
the matrix may be triggered. If Row1 is set high and Column1 is made low, the top left LED (address
R1C1) will illuminate in the example above. Let's look at how we can use the display to display the
letter "A" as an example. The logic levels at each pin for displaying A are shown in the tables below.
Only one LED in a row will be on at a time in the diagram above, but any number of LEDs in a
column can be on at the same time. That is, the microcontroller's port pin may directly drive a row,
but the column lines require a separate circuit. Below is a circuit schematic for connecting a dot
matrix display to an 8051 microprocessor.
Demecillo, Froilan N.
BSECE 3B
Circuit Diagram
In this situation, the role of ULN2003A is to drive the display's column lines. The ULN2003A is
a high-voltage (50V) and high-current darlington transistor array (500mA per channel). There are
seven channels in each IC, each with its own output clamp diode. The ULN2003A is an active high
device, which means that a logic high must be delivered to the input to create the corresponding
output high.
Program:
Demecillo, Froilan N.
BSECE 3B
A driver IC such as the MAX6952 or MAX6953 is required to drive a 5x7 Dot LED Matrix. The
only difference between these ICs is their data ports, which are nearly identical. The software
(https://bit.ly/357WKuj) is given by a third party and is compatible with earlier versions of Windows
such as 95, 98, and XP. The self-extracting download also includes instructions on how to install the
program.
LPT1 and/or LPT2 are the printer ports in use. The software above simulates the SPI interface
with 3 and 8 output lines from the LPT port, as well as 2 extra lines for the IC interface. One line of
the port is utilized for reading blink status. It is possible to manage up to 16 MAX6952 ICs in
sequence at once.
Within the application interface, you can select LPT1 or LPT2. The port might be in normal,
ECP, or RPP mode. circuit of connection below:
Demecillo, Froilan N.
BSECE 3B
The software is run and displayed below. After powering on, the initial state of MAX6952 and
MAX6953 registers may be examined here—select driver type: SPI MAX6952 or I2C MAX6953.
When working in SPI mode, you can control up to 16 drivers. The following is a list of the IC
drivers that are cascaded: The Din on the second IC driver of MAX6952 is linked to the Dout on the
first IC driver. On the software's interface, many controls are displayed. The number of drivers may
increase. The “Number of Drivers” slider can be changed.
Demecillo, Froilan N.
BSECE 3B
Check the boxes labeled "Enable global driver write" and "Enable auto-increment" if you're
using more than one IC driver. This is important because the command will write the identical data to
all drivers during execution, and the driver counter will automatically rise.
After the application has been launched, the function "Test Stream" may be used to test the
SPI Interface. By selecting the “Port Connections and Help” button, you may access it. The
application allows up to 16 drivers to be controlled in I2C mode (MAX6953). The address of the first
driver is 1010000x, and it increases as the driver's nth number increases.
The "Design User Fonts" button invokes a method that allows you to create and save user
symbols for usage in the Dot LED Matrix. By default, just a few pre-built symbols from the MAX6952
fonts.txt file may be shown.
Typeface “xx” indicates the font number, which can range from 0 to 23. Dataxxxxxxxx is an 8-
bit data row for a dot LED matrix (up to 7 rows for one symbol). The MSB to LSB data is preserved to
characterize the symbol.
Source:
http://schematicandwiring.blogspot.com/2014/11/interfacing-dot-matrix-led-display-to.html?
m=0
https://scienceprog.com/drive-dot-led-matrix-display-using-lpt-port-and-driver-ic/