The purpose of this project is to display a phrase of expandable length, as a scrolling massage across a 24x6 LED matrix. To make this possible there are numerous hardware and software requirements.

IMG 20160311 153713

Hardware Requirement Description Edit

The hardware system must be capable of multiplexing a 24-bit output serial signal form the HCS12 microprocessor. In this application multiplexing is the combination of six, 24-bit serial signals, which are patterns for each row of the matrix. To receive the serial signal down one line, a 24-bit shift register must be assembled with a clock controlled by the HCS12. Since a 24-bit shift register is not available, three 8-bit 74HC595 shift registers can be tied together to create a 24-bit register output for an active row of LEDs. The active row needs to be selected by the HCS12 to decode the bit patterns. To control a row, a 74LS138 3 to 8 decoder is used to decode a 3-bit output pattern from the HCS12. The aim of the 24-bit shift register and 3-bit decoder is to give the HCS12 a communication system to interface with a 24x6 LED matrix. To interface this communication system with the LED matrix a few more hardware components are needed for functional use. To start the LED matrix configuration is 24-anode by 6-cathode, meaning 24 resistors and 6 transistors. Each of the resistors must be capable of drawing an appropriate amount of current for 6 active LEDs. Each of the transistors must be capable of passing all the current from up to 24 LEDs for a row. The transistors base pins will be controlled by the 74LS138 decoder which has eight controllable outputs. One issue is that the 74LS138 has active low outputs which will not activate the transistors to allow current, becoming like an open switch. To fix this issue a 74LS04 inverter can be used to invert the LOW 0 volt signal to a 5 volt HIGH signal. With this extra hardware the HCS12 has full communication with the 24x6 LED matrix.

Components Edit

The required hardware components needed for this project are as listed below:

Schematics Edit


System Schematic (Display Not Connected)


24x6 LED Display Schematic

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.