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
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.
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
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...
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,
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.
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.
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.