In this instructable I’m going to show you how to Interface with LED matrix using an Arduino and MAX7219 IC, this project can be used to make low resolution images using LEDs. This project is very simple to build and serves as a basics to getting started with controlling a large number of LEDs using the Arduino Uno.
For this project we will be using the MAX7219 which is display driver IC, which works with SPI communication. An 8×8 LED matrix has 64 Pins in total if all the cathodes are connected together while an Arudino has only 14 digital pins, and the Arduino is not capable of providing 64 LEDs with enough current so we use the MAX7219, which needs only two Arduino pins to control the LEDS.
Step 1: Tools and Components
Here is the list of components required to build this project, most of these parts can be purchased on eBay –
- Arduino Uno
- 8×8 LED matrix with MAX7219
- Header Wires
- 5V power supply
Step 2: Circuit
The connections are very simple and can be assembled on a breadboard. The Connections goes as follows –
- Max7219 CLK => Arduino digital pin10
- Max7219 CS => Arduino digital pin9
- Max721 DIN => Arduino digital pin8
- Max721 GND => Arduino digital GND
The VCC pin from the LED matrix should be connected to an external 5v power supply (5v 1A recommended), each pin of the Arduino is capable of providing a max current of 40mA. And the 5V regulator is capable of providing a max current of 200mA. The led matrix requires higher operating current.
Read more: Arduino 8×8 LED Matrix using MAX7219