dot matrix display pic1

This is a Dot Matrix Scrolling Sign. A Dot Matrix Display has an 5x7 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 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

 dot matrix display sch

dot matrix display pcb

 dot matrix display pic2


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

dot matrix display 4digit tiny2313_1.bas

dot matrix display 4digit M8_1.bas


 

Video

dot matrix display from avrprojects.net on Vimeo.