Wednesday 21 January 2015

Arduino 8×8 LED Matrix

8×8 LED Matrix modules are now widely available, and fortunately they are easy to use with our favorite Arduino microcontroller. 8×8 LED Matrix module have many applications in real life, such as various types of electronic display panels.
The LED matrix can be driven in two ways (parallel or serial). Here we drive it in the serial manner in order to save interface (needs only three data lines). The serial-driven LED matrix actually dynamically displays the LEDs (row-by-row or column-by-column). The persistence of vision for humans is about 0.1s, so as long as we can serially display all 8 rows/columns within 0.1s, we’ll see a complete character or pattern.
Our project is infact an Arduino with Serially Interfaced MAX7219 Operates an 8X8 LED Matrix to display a heart pattern. The MAX7219 IC is a serial input/output common-cathode display driver that interfaces microprocessors to a 7-segment numeric LED displays of up to 8 digits, bar-graph displays, or 64 individual LEDs. For convenience, here an 8×8 LED matrix, integrated with a MAX7219 IC setup, available as a pre-wired module is used. Typical specification of this LED Matrix Module is shown below:
  • Operating Voltage: DC 4.7V – 5.3V
  • Typical Voltage: 5V
  • Operating Current: 320mA
  • Max Operating Current: 2A 

 
Wiring Instructions
  1. Connect Arduino pin8 to DIN on 8×8 LED Matrix
  2. Connect Arduino pin9 to CS of 8×8 LED Matrix
  3. Connect Arduino pin10 to CLK of 8×8 LED Matrix
  4. Connect an external 5VDC (1A) to VCC of 8×8 LED Matrix
  5. Connect external 5VDC supply’s GND, to the GND of 8×8 LED Matrix Module
Note that the 8x8LED Matrix Module should be common-grounded with Arduino, ie, always remember to interconnect the Arduino GND terminal with the external 5VDC power supply GND terminal. Connect pins according to the instructions given above, and download the sketch into Arduino board. If everything seems right, you can power up the Arduino (and the LED matrix) to see the LED matrix circularly displays a ‘sweetheart’ pattern!
Wiring Diagram
Warning!
Before powering up, ensure that corresponding wires are properly connected.



No comments:

Post a Comment