PWM multiple 7-segment LEDs


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default Re: HW-179 8-Digit 7-Segment LED Display (MAX7219 Driver)

    The sink is always better choice than sourcing.

    Then N-channel MosFets along with NPN transistors are much better than P equivalent ones and more choices available.

    And finally, even if a PIC can source or sink 20, 30 or 50mA per pin, there is a maximum TOTAL dissipation for the whole chip, so that you cannot source at the same time on all pins a max of 50mA on each pin!

    You will melt the chip!

    So, yes. I am for the sink topology too.

    Ioannis

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default Re: HW-179 8-Digit 7-Segment LED Display (MAX7219 Driver)

    Now, if you look at datasheet, p236, for the 946 chip.

    Output Low is 0.6 Volt at only 8.5mA but,

    Output High Vdd-0.7 Volt at 3.0mA

    So, yes. It is better to sink than source.

    Ioannis

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,664


    Did you find this post helpful? Yes | No

    Default Re: HW-179 8-Digit 7-Segment LED Display (MAX7219 Driver)

    for my money i would do it the traditional way or if multiplexed display is not bright enough use a bunch of tpic6b595's

    Name:  multi.jpg
Views: 1392
Size:  261.6 KB

    note schema is not complete but you get the idea, i was going to try it in proteus then i remembered how crap proteus is at simulating multiplexing
    so i gave up
    Last edited by richard; - 16th February 2024 at 11:32.
    Warning I'm not a teacher

  4. #4
    Join Date
    Aug 2011
    Posts
    456


    Did you find this post helpful? Yes | No

    Default Re: HW-179 8-Digit 7-Segment LED Display (MAX7219 Driver)

    With that many displays I assumed they would be multiplexed as in richard's post #17.
    Surely a lot less supply current, and you wouldn't need nearly as many pic's to drive them... maybe get away with one or two 44-pin packages.

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: HW-179 8-Digit 7-Segment LED Display (MAX7219 Driver)

    Quote Originally Posted by richard View Post
    for my money i would do it the traditional way or if multiplexed display is not bright enough use a bunch of tpic6b595's...
    Thanks, I'm off to google that chip (no idea what it is). I've also seen talk about using a 74HC595 (never met that creature either).


    EDIT: Google says TPIC6B595 can sink up to 150mA at 50V. JLCPCB carries them at $1.54.

    Google says 74HC595 has a 70mA total limit, so there goes that chip. JLCPCB has them at $0.11 too.
    Last edited by Demon; - 16th February 2024 at 20:44.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default Re: PWM multiple 7-segment LEDs

    The 74HC595 is a shift register. How can this help on 7-seg LED's ?

    Dedicated chips like Maxims or the TPIC6B595 I think is the way to go.

    Ioannis

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: PWM multiple 7-segment LEDs

    Quote Originally Posted by Ioannis View Post
    The 74HC595 is a shift register. How can this help on 7-seg LED's ? ...

    Some people use them to drive 7-segment LEDs. They don't have digit control, only segment control, so you need one per digit.




    It turns out my supplier for 7-segment LEDs also print and assembles PCBs. It wouldn't be cost effective to ship my LEDs back, so I might very well do the jump to the MAX7219 if I have to buy more LEDs.

    I'm keeping all my options open for the time being, but the MAX7219 does offer one really neat feature; an intensity control. That TPIC6B595 is a close 2nd for common anode LEDs.
    Last edited by Demon; - 17th February 2024 at 01:06.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  8. #8
    Join Date
    May 2013
    Location
    australia
    Posts
    2,664


    Did you find this post helpful? Yes | No

    Default Re: PWM multiple 7-segment LEDs

    You should also look at HT16K33 , that can read in switches and buttons too
    ditto for
    tm1637 and 1638
    Warning I'm not a teacher

Similar Threads

  1. Re: RGB Fading Using 3 LEDs and PWM
    By Fernandoangel in forum Off Topic
    Replies: 0
    Last Post: - 8th April 2012, 05:59
  2. LEDs, current and PWM
    By Demon in forum Off Topic
    Replies: 10
    Last Post: - 2nd April 2012, 04:41
  3. Multiple LEDs and Time Coount
    By LexManos in forum General
    Replies: 4
    Last Post: - 24th July 2009, 06:36
  4. How to drive 7 segment using multiple ports?
    By guess79 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:43
  5. Multiple IR LEDs from 1 port using transistor
    By belpe123 in forum General
    Replies: 3
    Last Post: - 20th May 2005, 22:07

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