Summary of Dot matrix display
This Dot Matrix Scrolling Sign project uses a 5x7 LED matrix (LTR-747HR) controlled by an ATMega328 microcontroller. Rows are managed via PORTB, and columns via PORTD. Three 74HC595 shift registers sequentially switch columns every 3ms, with signals amplified by a ULN2003 to control the LEDs. The PCB includes all components except the microcontroller, connecting through flat cable connectors to boards like the ATTiny2313 or STK500. Software is developed using the AVR-BASCOM compiler, supporting scrolling messages and customizable text displays.
Parts used in the Dot Matrix Scrolling Sign:
- ATMega328 microcontroller board
- 5x7 Dot Matrix Display (LTR-747HR, 0.7 inch)
- 74HC595 shift register ICs (3 units)
- ULN2003 Darlington transistor array
- PCB with connectors for microcontroller boards
- 10-pin flat cable connectors
This is a Dot Matrix Scrolling Sign. A Dot Matrix Display has an 5×7 led matrix with 5 columns and 7 rows. The display is controlled by the ATMega328 microcontroller board. The rows are controlled by PORTB of the microcontroller, while PORTD puts the data on the columns to make the characters. The Dot matrix display used here is the LTR-747HR and is 0.7 inch (17.8mm) high.
Circuit Schematic and PCB Layout
The circuit is stand alone and can be connected to the ports B and D off the AVR microcontroller. The circuit consists of three shift registers IC’s 74HC595 which switches each column of the displays sequentially on and off for 3ms. PORTB controls the the 74HC595. When a column is selected, the data for the column is put on PORTD, the signals from PORTB are amplified by the ULN2003, and switches the LED’s on and off. While each column is swithed on and off seqeuntially, the characters on the display are formed. The PCB contains all the parts except for the microcontroller part. The PCB has to be connected via the two 10 pin flat cable connectors to the attinyboard or the STK500 for example. You can buy the ATTiny Board at www.bizztronix.eu
Software
The program code is made with the AVR-BASCOM compiler. There is a program for the ATTiny2313, which can show several moving messages on the sign.
There is also a program that is made for the ATMega8 which is more extensive, with this program you can enter a text with maximum 40 characters in a variable in the program, which is shown on the display. It has also a bigger character set. Below you can download the software code
For more detail: Dot matrix display