Affichage des articles dont le libellé est parallel wiring. Afficher tous les articles
Affichage des articles dont le libellé est parallel wiring. Afficher tous les articles

mardi 20 mars 2018

matrix 8*8

Matrix 8x8




Hello guys , here we are again to learn utilisation of another device. Today's device is Matrix of led.


First we gonna start by defining a matrix led, how it is build from inside, number of pins and how to connect it.



Matrix led

a matrix led is a display device, it's easy to use and it have many applications in real life, such as various types of electronic display panels and in other projects.

today we gonna use a 8x8 matrix. so we have a 64 led , it can be of any color (red, green, blue, ...) . this leds are wired as it's shown in the picture below (every row have a common anode and a different cathode and every colomn have a common cathode and a different anode ).





 that's  give us a 16 pin s to connect to our microcontroller but sometimes it's too much and we can't connect any other device with it so today we gonna show you two different ways to connect a matrix led. for this tutorial we will just connect it simply.


first let's start by defining the function of each pin





1:R5
2:R7
3:C2
4:C3
 5:R8
6:C5
7:R6
8:R3
9:R1
10:C4
11:C6
12:R4
13:C1
14:R2
15:C7
16:C8

with R : row
        C : col



connect matrix simply 


we ll just connect the 16 matrix pins with our microcontroller(arduino in our case) directly 
download code : click here