mekohler, I might be blind but, I don't see any schematic, only an overlay for a PC board....
I may be able to help as I have used PCF8574A's for many products in the past.
Dave Purola,
N8NTA
mekohler, I might be blind but, I don't see any schematic, only an overlay for a PC board....
I may be able to help as I have used PCF8574A's for many products in the past.
Dave Purola,
N8NTA
You are correct, I didn't upload the schematic. That is here:
http://www.injektilo.com/PICHelp/schem.bmp
I have a feeling that jumping straight into this form of the project might be too difficult (considering my time constraints). I have come across a more common LED Matrix layout, and I have uploaded the pictures and code here:
http://www.injektilo.com/LEDMATRIX/
Again, I won't be using a 5x7 display, but a handmade 5x5 one. If I use this, it seems as though all the work is done for me (hehe).
My only question is....I want to replace each SINGLE LED with 5 LED's in PARALLEL (since I need to shine this through a diffusive plexi material, so I need the brightness and spread of light). Since they are in parallel they will each receive the same voltage as the single LED...but what about current? Would I need one resistor for each LED in the "parallel cluster" ?
My friend says: the important bit is that each LED should have its own resistor. Otherwise only the LED with the lowest internal resistance will light.
If so, what equation governs the value of each resistor? Argh! I just want to get this project I started over with before I move and then start my serious and gradual study of PIC programming.
Sorry for the change of course (or possible change). Again thanks for all the help guys!
No, you cannot parallel LEDs Diodes or Bipolar transistors (only FET). Since each of them is not a resistor the current cannot be shared among them. You sure need a resistor in series.
But you already have post this as in the link http://www.injektilo.com/LEDMATRIX/8...%20Example.JPG
Ioannis
mekohler, Why not series connect the LED's and use only 1 resistor. 1.8 volts x 5 = 9 volts. The driver you have is open collector so you can use 12 volts for the LED source and use say a 150 Ohm resistor in series and that will give you 20Ma. for the string.
Dave Purola
N8NTA
Thats what I meant but was not very clear. Anyway the link http://www.injektilo.com/LEDMATRIX/8...%20Example.JPG is just that in picture! Seems to be the best choice right now.
Ioannis
seems to have a problem with the link
i think it could be http://www.injektilo.com/LEDMATRIX/8...%20Example.JPG
now let's show the schematic <IMG SRC="http://www.injektilo.com/LEDMATRIX/8%20Led%20Matrix%20Example.JPG">
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Depends on the junction drop. If you have two LEDs perfectly matched, say 1.75V ea (or thereabouts) - both will share equal current. Tolerance levels are considerably quite remarkable nowadays. No need to spend hours with your meter looking for matched BJT pairs for that destined to be perfect amplifier.
Thanks for the help guys.
I think I settled on constructing the matrix like this:
And the schematic is:
Let me know if you see any problems. Also, the book I am learning from recommended using the74LS174 decoder. and has provided example code.
You seem to have good progress.
Here is a similar approach.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2045&d=1190816000">
Last edited by sayzer; - 26th September 2007 at 15:18.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Thanks!
If I'm only using RC0 - RC4 as my outputs on the PIC (ommitting RC5)...the declarations of PORTC = 0b111111 and PORTC = 0b011111 do the same thing, bcs the low 0 or 1 bit isn't connected to anything, correct? I can leave it like that, or should I omit that bit and just use 0b11111?
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2046&stc=1&d=119088114 8" align="center" border="1">
Diagram above depicts two 1A power diodes paralleled together in attempts of obtaining 2A. As you can see, only a minor difference in drop (300mV in this case) - will mean that one of them is going to be working harder. In the case of what's illustrated above, D2 will be working around 5% more than D1.
If anyone doesn't agree with this, by all means speak up.
<br/>
Last edited by T.Jackson; - 27th September 2007 at 09:53.
mekohler, I don't think your design using an 74LS174 will be able to drive the current you are anticipating using. Even with only 20 Ma. per led string in parallel, thats 40Ma. An normal 74LS series part can at best case source 5Ma. You are going to need a high power sourcing device such as a PNP transistor to source the required 40+ Ma. I beleive after your design has been prototyped you will find that if you are multiplexing the displays at any kind of rate you will lose almost all of the intensity. Therefore you will have to increase the current to the display system. Most wallboard displays you see in stores for advertising use anywhere from 100 to 500 Ma. as the display is multiplexed and switching at high speeds. I suggest looking at Allegro semiconductor as they have a variety of sourcing drivers available...
Dave Purola,
N8NTA
Bookmarks