LED Matrix Question


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    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

  2. #2
    Join Date
    Sep 2007
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dave View Post
    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!

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    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

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    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

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    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

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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.

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    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.
    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.

  8. #8
    Join Date
    Sep 2007
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    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.

  9. #9
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    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">
    Attached Images Attached Images  
    Last edited by sayzer; - 26th September 2007 at 15:18.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  10. #10
    Join Date
    Sep 2007
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    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?

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    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.
    Sure technology advances forward but just to be sure, i'd put a small resistor there. You never know...

    Ioannis

  12. #12
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    <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/>
    Attached Images Attached Images  
    Last edited by T.Jackson; - 27th September 2007 at 09:53.

  13. #13
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    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

  14. #14
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post

    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/>
    I cannot see where the 300mv difference in drop is. Looks a bit like 30mv

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 04:59
  3. Newbie question about switch + led
    By mradde in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 24th January 2009, 17:40
  4. Replies: 27
    Last Post: - 7th December 2007, 22:28
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts