IC MAX7219 – 8 Digit 7 Segment, Dot Matrix 8×8 LED Display Driver IC

Spread the love

MAX7219 is an IC designed to control 8×8 Dot Matrix LEDs, 7-segment LEDs up to 8 digits or 64-point individual LEDs.

Pin Configuration

MAX7219 is a 24-pin IC available in various packages and selected depending on the requirements. Descriptions for each pin are given below :

Pin NumberDescription
COMMON CATHODE OF DISPLAY SEGMENTS
2DIG0- Common ground for all eight segments of DIGIT0
11DIG1- Common ground for all eight segments of DIGIT1
6DIG2- Common ground for all eight segments of DIGIT2
7DIG3- Common ground for all eight segments of DIGIT3
3DIG4- Common ground for all eight segments of DIGIT4
10DIG5- Common ground for all eight segments of DIGIT5
5DIG6- Common ground for all eight segments of DIGIT6
8DIG7- Common ground for all eight segments of DIGIT7
SHARED TERMINALS
4GND
19V+- Power Supply
SHARED SEGMENT TERMINAL OF ALL EIGHT DIGITS
14SEG A – SEGEMTENT A  of all DIGITS
16SEG B – SEGEMTENT B  of all DIGITS
20SEG C – SEGEMTENT C  of all DIGITS
23SEG D – SEGEMTENT D  of all DIGITS
21SEG E – SEGEMTENT E  of all DIGITS
15SEG F – SEGEMTENT F  of all DIGITS
17SEG G – SEGEMTENT G  of all DIGITS
22SEG DP – SEGEMTENT DOT of all DIGITS
FUNCTION PINS
1DIN –  Serial Data Input Pin
12LOAD(CS) – Chip Select or Data shift pin
13CLK –  Clock Pin
24DOUT –  Pin used to Connect Second chip serially
18ISET –  current output adjust pin

Features and Specifications

  • Operating voltage range: +4.0 to +5.5V
  • Recommended operating voltage: +5V
  • Maximum supply voltage: 6V
  • Maximum current allowed to draw through each segment pin: 100mA
  • Maximum current allowed to  through each DIGIT ground pin: 500mA
  • Low power consumption
  • Data-to-Segment Delay Time: 2.2mSec
  • Operating temperature: 0°C  to +70°C
  • Storage Temperature: -65°C  to +150°C

Similar IC

ICs that are similar or similar in function to MAX7219 are 74HC595 Shift Register ICs

MAX7219 IC is Used For

  • This IC is basically used where if we want to convert serial data to parallel data.
  • This chip is used to reduce the use of I / O pins from the controller or processor
  • Used to control 64 LEDs using only 3 PIN
  • Used to control the Dot Matrix 8 x 8 display
  • Used for 7 Segment display controllers. Chip or IC MAX7219 can control 7 Segments of up to 8 Digits
  • Can be used to control more 7 Segment displays by connecting more chips or IC MAX7219 serially

How to use MAX7219 IC

This chip is used similar to Shift Register. First we have to send data serially to the chip. After all data has been sent, we need to tell the chip to move this serial data to the output by activating the CS pin. The working procedure step by step goes like below.

  • First connect the DIN, CS and CLK pin. These three pins are important for controlling the chip.
  • Next is to choose a resistor for the ISET pin. As we know that there are no standard parameters for 7 segment displays on the market. They have different voltage and current settings. For the correct display, we need to select the appropriate resistor using the following table.
Forward voltage
ISeg1.5V2.0V2.5V3.0V3.5V
40mA12.2kΩ11.8kΩ11.0kΩ10.6kΩ9.69kΩ
30mA17.8kΩ17.1kΩ15.8kΩ15.0kΩ14.0kΩ
20mA29.8kΩ28.0kΩ25.9kΩ24.5kΩ22.6kΩ
10mA66.7kΩ63.7kΩ59.3kΩ55.4kΩ51.2kΩ

  • There are two ways to use this chip. One of them is to follow the instructions given in the datasheet to send data little by little. The second way is to use a library specifically written for the MAX7219 chip or IC. Using a library is the easiest way to get the results you need. With libraries, we only need to enter the data needed to be sent without the need to think about how it works.
  • We need to send data to the chip or IC MAX7219 via the DIN pin. Data is sent Bit by Bit by setting the clock chip for each bit. The chip stores serial data to its register until all data is received. After completing data transmission, we need to set the CS pin of the chip to shift all data stored in its register to the output.
  • After the data is released by the chip, it will turn on the appropriate LED to display the results.

Example of Use

The following are some examples of usage or examples of the MAX7219 program for display control :

Be the first to comment

Leave a Reply

Your email address will not be published.


*