Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Proteus LED MATRIX design

Status
Not open for further replies.
I don't know if its the simulation model or if I'm doing something wrong.
Once i faced this problem in simulation but it worked on real hardware
 

Yes your design has rows =cathode and column=anode.

I don't know why but everything i have tried with your design doesn't work, very strange.
The PNP emitter follower should have worked, I don't know if its the simulation model or if I'm doing something wrong.

Alex


can you post pictures of what you've tried sir? i used tip147 in my rows, having gnd in my collector and my emitter to the pin of the row.. it worked fine.. that does mean i can implement it in a real circuit?
 

This should have worked but it didn't

finalTest2.jpg

the specific transistor is not important in simulation, and you will also need to add the resistors for the real design.

Alex
 

you need a common source for current

proteus isnt so hard

i made these models you need in leds matrix
labcenter made a poor copy

do you need them #? pm me
 

This should have worked but it didn't

View attachment 52526

the specific transistor is not important in simulation, and you will also need to add the resistors for the real design.

Alex

in that manner can it sink my rows sir?

---------- Post added at 15:47 ---------- Previous post was at 15:42 ----------

in that manner can it sink my rows sir?

at first the scrolling is broken but after 10sec its fine.. why is it so?

---------- Post added at 15:49 ---------- Previous post was at 15:47 ----------

you need a common source for current

proteus isnt so hard

i made these models you need in leds matrix
labcenter made a poor copy

do you need them #? pm me

you have some concrete schematic sir? i am building 7x40, 7 row cathode and 40 column anode
 

This is why i suspect a simulation problem,
also when i drive the transistor base and columns manually it works (using LogicToggle component)

Alex
 

This is why i suspect a simulation problem,
also when i drive the transistor base and columns manually it works (using LogicToggle component)

Alex

and also thats the reason i have to have a concrete schematic in our if i implement this on hardware it will surely work.. and btw what is a common anode and common cathode led matrix?

---------- Post added at 15:56 ---------- Previous post was at 15:55 ----------

Once i faced this problem in simulation but it worked on real hardware

nice this give me relief.. i have 74hc595 in my columns which is anode..how do i sink my column?
 

To simulate a led matrix with the reverse polarity (row=anode, column=cathode) double click the led matrix component ,
check "edit all properties as text " and replace {INVERT=A,B,C,D,E,F,G} with {INVERT=1,2,3,4,5}

Alex

---------- Post added at 17:08 ---------- Previous post was at 17:05 ----------

i wont use any ULN to my 595?

I'm not talking about a ULN chip, I'm taking about your C program in the mcu,
send the inverted serial bytes, use ~ in front of each byte to transmit the reversed byte.

Alex
 
To simulate a led matrix with the reverse polarity (row=anode, column=cathode) double click the led matrix component ,
check "edit all properties as text " and replace {INVERT=A,B,C,D,E,F,G} with {INVERT=1,2,3,4,5}

Alex

---------- Post added at 17:08 ---------- Previous post was at 17:05 ----------



I'm not talking about a ULN chip, I'm taking about your C program in the mcu,
send the inverted serial bytes, use ~ in front of each byte to transmit the reversed byte.

Alex

oh ok.. thank you.. ahmmm...

---------- Post added at 16:21 ---------- Previous post was at 16:13 ----------

To simulate a led matrix with the reverse polarity (row=anode, column=cathode) double click the led matrix component ,
check "edit all properties as text " and replace {INVERT=A,B,C,D,E,F,G} with {INVERT=1,2,3,4,5}

Alex

---------- Post added at 17:08 ---------- Previous post was at 17:05 ----------



I'm not talking about a ULN chip, I'm taking about your C program in the mcu,
send the inverted serial bytes, use ~ in front of each byte to transmit the reversed byte.

Alex

so in my schematic is my matrix a common cathode or anode?
 

You seem confused, let me explain,
when you transmit a serial byte to the 595, for example 0b11110000 this is what the output will show 11110000,
to invert it you can send ~0b11110000 (which is actually 0b00001111) and the output will be the 00001111, the reverse of the above output.

You can't provide the current for the led's directly in either the anode of cathode because you have 5 and 7 leds, you need to use transistors or a ULN chip
but this nothing to do with the way to invert your byte (and 595 output).

Alex

---------- Post added at 17:29 ---------- Previous post was at 17:21 ----------

I don't think you can name a matrix display that way , there is no common like in a 7 segment display,
it is a set of independent anodes and cathodes connected in a matrix.
I suppose you can select to buy a display with the anode in the rows or in the columns but that doesn't name it common ...

Alex
 
You seem confused, let me explain,
when you transmit a serial byte to the 595, for example 0b11110000 this is what the output will show 11110000,
to invert it you can send ~0b11110000 (which is actually 0b00001111) and the output will be the 00001111, the reverse of the above output.

You can't provide the current for the led's directly in either the anode of cathode because you have 5 and 7 leds, you need to use transistors or a ULN chip
but this nothing to do with the way to invert your byte (and 595 output).

Alex

---------- Post added at 17:29 ---------- Previous post was at 17:21 ----------

I don't think you can name a matrix display that way , there is no common like in a 7 segment display,
it is a set of independent anodes and cathodes connected in a matrix.
I suppose you can select to buy a display with the anode in the rows or in the columns but that doesn't name it common ...

Alex

thanks for that information sir.. :) i have way more problems rather than this.. is my design concrete enough to be implemented in real? or you have any suggestion on my hardware.. i also want to make patterns out of my design.. like scrolling up, down and scrolling to right and also blinking.. but thats way beyond my brain.. hahaha seriously im weak on programming.. :( and i need help to finalize and finish this up :(

i will make a led matrix display manually.. because in the simulaation ive seen they mentioned a common anode about it..
 

I haven't used any matrix display but your circuit seems to be ok,
you just have to drive the leds using resistors to limit the current and with devices that can handle the current for the lest (ULN or transistors).
About your programming, I don't use pic at all i only use avr's but in any case it wouldn't be possible for someone else
to make your project, if you need help in specifics we will try to help if we can.

Alex
 
I haven't used any matrix display but your circuit seems to be ok,
you just have to drive the leds using resistors to limit the current and with devices that can handle the current for the lest (ULN or transistors).
About your programming, I don't use pic at all i only use avr's but in any case it wouldn't be possible for someone else
to make your project, if you need help in specifics we will try to help if we can.

Alex

im not asking someone to make my programming... i just need guidance about my hardware and you guys are so helpful.. :) i appreciate all your effort of replying in my thread.. ;) so to finalize my design.. am i going to attach PNP transistors in my row?

---------- Post added at 16:56 ---------- Previous post was at 16:47 ----------

You seem confused, let me explain,
when you transmit a serial byte to the 595, for example 0b11110000 this is what the output will show 11110000,
to invert it you can send ~0b11110000 (which is actually 0b00001111) and the output will be the 00001111, the reverse of the above output.

You can't provide the current for the led's directly in either the anode of cathode because you have 5 and 7 leds, you need to use transistors or a ULN chip
but this nothing to do with the way to invert your byte (and 595 output).

Alex

---------- Post added at 17:29 ---------- Previous post was at 17:21 ----------

I don't think you can name a matrix display that way , there is no common like in a 7 segment display,
it is a set of independent anodes and cathodes connected in a matrix.
I suppose you can select to buy a display with the anode in the rows or in the columns but that doesn't name it common ...

Alex

and someone said to me that in reality if common anode display is used then i will use 7 PNP driver transistor..
 

PNP can be connected to the cathode to sink (collector to gnd) and is turned on with a low (0) in the base,
it depends on the matrix you are going to use , cathodes can be in the rows or columns.
ULN2003 should work too, it can ground (sink) the cathodes but with a high in the input (1) and not low as the PNP.

Alex

---------- Post added at 18:00 ---------- Previous post was at 17:57 ----------

I don't understand what you mean by common, you have to be able to light any of the 30 leds (dots) individually,
this is not possible with a common and 7 control lines, you need 5x7 control lines.

Alex
 

PNP can be connected to the cathode to sink (collector to gnd) and is turned on with a low (0) in the base,
it depends on the matrix you are going to use , cathodes can be in the rows or columns.
ULN2003 should work too, it can ground (sink) the cathodes but with a high in the input (1) and not low as the PNP.

Alex


---------- Post added at 18:00 ---------- Previous post was at 17:57 ----------

I don't understand what you mean by common, you have to be able to light any of the 30 leds (dots) individually,
this is not possible with a common and 7 control lines, you need 5x7 control lines.

Alex

maybe i will stick to row = cathode because if i will make my row as anode i might change my programming.

and so am sir alexan.. someone mention that to me.. about common anode display.. and im totally confused about that..

---------- Post added at 17:30 ---------- Previous post was at 17:05 ----------

**broken link removed**

this is what i am confused with sir.. hehehe
 
I have some link love from some projects :

**broken link removed**

**broken link removed**

**broken link removed**
 

I have some link love from some projects :
**broken link removed**

sir how can i download your designs?

---------- Post added at 17:39 ---------- Previous post was at 17:33 ----------

I have some link love from some projects :

**broken link removed**

**broken link removed**

sir i dont know how to download your projects :(

**broken link removed**

sir i dont know how to download your projects :(

---------- Post added at 17:46 ---------- Previous post was at 17:39 ----------

**broken link removed**

the download link is brokenn..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top