problem with led matrix 8x8 with 24pin

HI
I visited this website Arduino Playground - DirectDriveLEDMatrix
and it was good but the problem is my led matrix has 24 pin but the circuit in the website has 16 pin and I try a lot with it but doesn't work like some led work but the other won't ,it doesn't show the correct message like when you want to show "L" it doens't


please help

Do you have a part number for your LED matrix? Perhaps you have a dual color matrix, that would account for the extra pins.

Your one is probably a bi-colour display, so you would have for example 8 cathodes, and 2x8 anodes (1 set of 8 for each colour), which would give you 24 pins.

You could use the same circuit as from the playground, but you would only be able to show 1 colour. You could use both colours, but that would require a different set of hardware, e.g. two 8 bit latches, and then use an extra arduino pin to select the correct colour latch.
You just need to know the pinout for the display which will be in the datasheet.

This is a generic kind of display pictured in the data sheet. I believe it is common to most all 24 Pin dual color LED array's
(Enclosed file for LED display)
I don't know if your display is common anode or common cathode. The important thing is that it indicates which LED is connected to which pins and which is common to all the LED's in a row or column.
'Usually' there is a label or parts # on one side of the display and again 'usually' that is the pin 1 side of the display. So If the display is face up and the label pointing towards you pin 1 'should' be the left most pin on the row of pins closest to you.

Doc

_1588_Datasheet.pdf (555 KB)

tnx all for replay but i want which pins are colom and which pins are row and i now which pin is first pin
and i want the connection circuit like first pin on the matrix should connect to which pin on the arduino and with code
please help
tnx for rel :slight_smile:

Read the diagram and you can see which pins are column and which are row, that is why I included the file, I know nothing about your display and you didn't includethe part number... I have done part of the work.... BUT IT IS YOUR PROJECT and when you ask for help it would be a great help to know what part EXACTLY you are asking foe help with. If you don't know how to identify an led that is which pin is anode and which pin is cathode, then say so. I refuse to guess as there is a better than 50% chance I will be wrong. I have no idea of what you have for parts and tools/test equipment or whether you understand enough electronics to do the work your self. None of that is really important now... What is the Part number or where did you get it and what was the sellers name and the id or store part number...

Doc

item model's : 1588ABEG

So you likely have the top part shown on page 2

Connect to the cathodes on the left side, and to one color or the other of the anodes along the top.

MAKE SURE YOU ADD CURRENT LIMIT RESISTORS between the arduino pins and the anodes - otherwise you may burn out the output pins, or the LED.

Unless the current is limited to 3-4 mA, with 680 ohm resistor, make sure the code only attempts to drive one LED on at a time as well.
Turning on more will damage the arduino pin that is sinking current if it tries to sink more than 40mA of current.

The data sheet I sent you is for that display specifically, I own 10 of them and I have several more that I got by searching for the part data, why can't you do the same? READ THE DATA SHEET... Here are 3 more.... all found by "Googling" the numbers on my parts... no magic, nothing special... just me being WILLING to do Basic Reraearch
You? Since you again didn't indicate which pins are for what rows so that I or someone else could download and read the data sheets, I guess ...

Doc

_1588_LE-MM103.pdf (876 KB)

_1588_Datasheet.pdf (555 KB)

_1588_Datasheet.pdf (555 KB)

@Doc,
This data sheet is 1558A and 1558C, one is common anode, one is common anode.

"item model's : 1588ABEG" My guess would be its the A model, which has common cathode.

I couldn't find a datasheet that had BEG on it.

@zhirantaha,
You need to confirm which you have.
Connect a wire from +5, to a resistor, the other side the resistor to pin 5. Connect pin 24 to Ground. If the corner Red LED turns on, you have common cathode.
Leave the resistor connected to pin 5, move the Ground to 23,21,21,4,3,2,1 and see that the other LEDs in the column turn on.

If you swap, put the resistor to pin 24 and ground pin 5, and the LED turns on, then you have common anode.

You can use the same procedure and confirm the pins & LEDs that turn on.

MOG1558AC.pdf (94.9 KB)

Thank You... I have a Killer headache and I had little patience with someone who ask's someone else to do his work. he didn't indicate whether he could read the data presented. I keep those sheets only for the pin outs as common anode or cathode is for me irrelevant... that's just the choice of drivers/code.

Doc

the problem is my led matrix only has red color not green color and it has 24 pin that is the problem
there extra pins for row and colom

and here the back image of the led matrix

This might help:

The article is in chineese, but it looks the correct display. (Original article:表情矩阵:真的GEEK,不用说话也能卖萌| 果壳 科技有意思).

Some Chinese factory uses 24 pin on 8x8 matrix even for mono color. I have several ones with 24 pin and the front led shows 3 small dots x led typical of the rgb matrix ones but they are all red or yellow, the extra pin are connected but physically the led is not there.
Even the numbers doesn't help a lot. I have one called XSM-D1588BG, on the back there's another number:15882mL, on one side there's a big C stamped, it's a common cathode yellow one that looks like as an rgb!
I have a smaller one with 24 pin that doesn't have any number on it (apart an YS) and pins are totally different from 1588 series and it's a mono color, without a battery and big patience sometimes it's simply impossible identify those displays!

In case anyone comes across this. The datasheet leaves something to be desired not really showing where the pins are. Looking at the front with the poking out teeth to the west and south, then pin 1 is in bottom left corner, pin 12 is in bottom left, pin 13 top left and pin 24 top right. Pins 1-4 control the bottom 4 rows. Pins 5-12 are the green columns, 13-20 are the red columns, and pins 21-24 are the top four columns. Pin 1-4, 21-24 are the anodes so will need to set high to activate.

So for example to switch the bottom left green led on set pin 1 high, and pin 5 low.