New LED driver for PPDB Now Available

http://www.parallax.com/Store/Microcontrollers/PropellerDevelopmentBoards/tabid/514/CategoryID/73/List/0/SortField/0/Level/a/ProductID/515/Default.aspx

The 17 segment LEDs is not very often used to it's high amount of pins it uses.

Solution: a daughter board that is only using 3 prop pins, be powered with 3.3v or 5v.

Using three 74VHC595 and three dual-npn to sink the digits common cathodes.

To get better load balance,
I decided to that each 595 sources 6 led anodes
and 2 pins goes to the transistors.

I'm waiting to hear from parallax about the spacing of the gap between upper/lower pin cluster.
(I don't own a ppdb)
Hopefully it's 0.1" so you could use it on any bread board and not just the ppdb.
leddriver.gif



Any inputs before I send it away for order?
426 x 795 - 39K
«13

Comments

  • 62 Comments sorted by Votes Date Added
  • edited January 2011 Posts: 0Vote Up0Vote Down
    tonyp12 wrote: »
    I'm waiting to hear from parallax about the spacing of the gap between upper/lower pin cluster.
    If by that you mean the spacing between the 2x6 and 2x17 block, they are both aligned to 0.1" (there is effectively one usused pin between them).
  • edited January 2011 Posts: 0Vote Up0Vote Down
    That's pretty slick. I would probably finally use those 7 segment LEDs that are collecting dust on my PPDB. I typically just use TV out for simplicity of setup, but this would change that and enable me to use the PPDB by itself (no TV/VGA monitor/serial LCD/etc).
    Andrew Williams<br>WBA Consulting
  • edited January 2011 Posts: 0Vote Up0Vote Down
    Mark me down for two.
  • edited January 2011 Posts: 0Vote Up0Vote Down
    The breadboard is 0.06" higher than the tops of the headers on the board. You'll want to make sure pins are long enough to reach the headers across this gap.

    As kuroneko mentioned, the first pin (left most) on the second display header is 0.2" from the last pin (far right) on the first display header. Making the headers spaced so one pin would fit between the two headers.

    The last pin (P0) on the header of Propeller pins is about 0.15" from the first pin the first display header. Since these headers are so close together, I'm afaid your board might block part of the P0 header.

    This is would be a useful item.

    Is the price for the board include the ICs?
  • edited January 2011 Posts: 1,549Vote Up0Vote Down
    So it's confirmed that the space is just one "missing" pin, good.

    I did plan to move the pin headers closer to the upper limit, so not to block P0

    Yes, the price includes ICs and also a simple software driver.
  • SELSEL
    edited January 2011 Posts: 0Vote Up0Vote Down
    I would very much like to purchase this board. Please let me know when it is available>
  • edited January 2011 Posts: 0Vote Up0Vote Down
    What a great idea!
    Will the board come assembled?
    I know you said it comes with the parts.
    I don't see any caps across the power power pins of the ICs, are there any?
    This would be a great addition to my PPDB, so far I have never used the displays, due to lack of drivers.
  • edited January 2011 Posts: 1,549Vote Up0Vote Down
    Is decouping really neassary?, but in any case I added three
    0.1uF decoupling (a.k.a by-pass) capacitors. that's gray 0805s in picture.

    Also moved up layout a little to make sure P0 would not be blocked.

    Yes it will come completely assembled.

    I will probably use NXP's AHC595 when soic version of it is in stock.
    231 x 833 - 14K
  • edited January 2011 Posts: 0Vote Up0Vote Down
    I'll want at least one.

    I agree that the caps are a good idea.
  • edited February 2011 Posts: 0Vote Up0Vote Down
    Did you have any of these boards made yet? I'd like to get one and I know of at least one other person (that doesn't frequent the forums often) that would want one too.

    Robert
  • edited February 2011 Posts: 1,549Vote Up0Vote Down
    I got one made, everything is working as expected.
    I will have 20 units ready in about a week.

    It can control 102 LEDs with it's 16% duty cycle.

    I'm using 2K resistors for the NPN transistor base
    specs shows:
    hFE DC current gain VCE = 5 V; IC = 2 mA.......typical 300
    VBEsat base-emitter saturation voltage IC = 100 mA; IB = 5 mA
    I guess 1K would be complete saturation at 5v, but 2K would be fine even for 3.3v?
    http://www.nxp.com/documents/data_sheet/BC846DS.pdf
    mov       asm_cnt,bit_test    'load the value that only have bit 24 set to 1.
             
    :loop2        test      serial,asm_cnt wz   'is this bit a 1?
                  muxnz     outa,#4             'the answer is in z, and turn pin4(serial) based on this.
                  or        outa,#1             'turn pin0 on  (clock) 
                  andn      outa,#1             'turn pin0 off (clock)
                  sar       asm_cnt,#1 wz       'shift right
            if_nz jmp       #:loop2             'if not zero, jmp 
                  
                  or        outa,#2             'turn pin1 on  (latch) 
                  andn      outa,#2             'turn pin1 off (latch)   
    
    serial        long      %00000000_11111100_11111100_11111110 'the two lower bits in each byte controls the 6 npn transistors
    bit_test      long      %1<<24
    
    539 x 719 - 113K
  • edited February 2011 Posts: 0Vote Up0Vote Down
    So Im not the only one. I found the old PDB for stamps/SX 7-segs much more useful. They just aren't worth wiring up on the PPDB unless I add jumpers to make them 7-segs. Even then. I'm always going to video or TTL out.

    Thomas Talbot, MD - New Market, Maryland, USA
  • edited February 2011 Posts: 1,549Vote Up0Vote Down
    I have 12 units ready for sale, introduction priced at $16.00 +$3.50 shipping per order ($2 more for international shipping)
    Limit 2 per person
    (edit: they are fully assembled)
    payment by paypal.com

    Video showing mutiplexing in slowmotion
    More units will be made.
  • edited February 2011 Posts: 0Vote Up0Vote Down
    Are you selling them as kits or assembled?


    Paul
    Some times my mind seems to wander..... these days I just tag along.
  • edited February 2011 Posts: 1,549Vote Up0Vote Down
    fully assembled
  • edited February 2011 Posts: 0Vote Up0Vote Down
    I'll take 2. Paypal sent!

    Paul
    Some times my mind seems to wander..... these days I just tag along.
  • edited February 2011 Posts: 0Vote Up0Vote Down
    I want one! Please check your messages and I should be covered.

    Thank You!

    Robert
  • edited February 2011 Posts: 0Vote Up0Vote Down
    Paypal sent for 2 units :smile:
  • edited February 2011 Posts: 0Vote Up0Vote Down
    I also just sent you $ for two.

    Thanks,

    Duane
  • edited March 2011 Posts: 0Vote Up0Vote Down
    Tony,

    I just received (3/5/2011) my two "17 Segment LED Driver Boards for the PPDB" :smile:.
    I tried it with the test program Tony e-mailed and it works great.

    Thanks,
    zappman
  • edited March 2011 Posts: 1,549Vote Up0Vote Down
    I just created the fonts 0-9 and A-Z
    I post it here if someone else wants them
    My full spin driver for the 17seg Led driver should be avilable soon.
    font          long      A1+A2+B+C+D1+D2+E+F+J+M         '0
                  long      B+C                             '1
                  long      A1+A2+B+D1+D2+E+G1+G2           '2
                  long      A1+A2+B+C+D1+D2+G2              '3
                  long      B+C+F+G1+G2                     '4
                  long      A1+A2+D1+D2+F+G1+K              '5
                  long      A1+A2+C+D1+D2+E+F+G1+G2         '6
                  long      A1+A2+B+C                       '7
                  long      A1+A2+B+C+D1+D2+E+F+G1+G2       '8
                  long      A1+A2+B+C+D1+D2+F+G1+G2         '9
                  long      0,0,0,0,0,0,0                   'unused
                  long      A1+A2+B+C+E+F+G1+G2             'A
                  long      A1+A2+B+C+D1+D2+G2+I+L          'B
                  long      A1+A2+D1+D2+E+F                 'C
                  long      A1+A2+B+C+D1+D2+I+L             'D
                  long      A1+A2+D1+D2+E+F+G1+G2           'E
                  long      A1+A2+E+F+G1                    'F
                  long      A1+A2+C+D1+D2+E+F+G2            'G
                  long      B+C+E+F+G1+G2                   'H
                  long      I+L                             'I
                  long      B+C+D1+D2+E                     'J
                  long      E+F+G1+J+K                      'K
                  long      D1+D2+E+F                       'L
                  long      B+C+E+F+H+J                     'M
                  long      B+C+E+F+H+K                     'N
                  long      A1+A2+B+C+D1+D2+E+F             'O
                  long      A1+A2+B+E+F+G1+G2               'P
                  long      A1+A2+B+C+D1+D2+E+F+K           'Q
                  long      A1+A2+B+E+F+G1+G2+K             'R
                  long      A1+A2+C+D1+D2+F+G1+G2           'S
                  long      A1+A2+I+L                       'T
                  long      B+C+D1+D2+E+F                   'U
                  long      E+F+J+M                         'V
                  long      B+C+E+F+K+M                     'W
                  long      H+J+K+M                         'X
                  long      H+J+L                           'Y
                  long      A1+A2+D1+D2+J+M                 'Z
    
  • edited March 2011 Posts: 0Vote Up0Vote Down
    I just received the one that I ordered and I must say it looks nice! After I get the kids to sleep I'm going to try it out.

    Robert
  • edited March 2011 Posts: 0Vote Up0Vote Down
    I just ordered one
    OS-X: because making Unix user-friendly was easier than debugging Windows

    My band's website
    Our first album on the iTunes Store
    Ryer Island: our second album...
  • edited March 2011 Posts: 0Vote Up0Vote Down
    zappman wrote: »
    Tony,

    I just received (3/5/2011) my two "17 Segment LED Driver Boards for the PPDB" :smile:.
    I tried it with the test program Tony e-mailed and it works great.

    Thanks,
    zappman


    Already! Dang! Mine hasn't arrived yet.
    Some times my mind seems to wander..... these days I just tag along.
  • edited March 2011 Posts: 0Vote Up0Vote Down
    Got them! Look forward to playing with them tonight!!

    Thanks Tony!

    Paul
    Some times my mind seems to wander..... these days I just tag along.
  • edited March 2011 Posts: 0Vote Up0Vote Down
    I received mine yesterday. Thanks Tony.

    I haven't played with mine yet.

    I think I'm going to switch the two and three pin headers for female headers. I'm thinking with female headers, I can use normal hookup wire to make the necessary connections.

    I'm curious if any of you prefer the male headers and why?

    Somewhere I should have an object that uses both uppercase letters and lowercase letters for these 16-segment LEDs. I found the lowercase example somewhere on the internet.

    When I find it, I'll share it here.
  • Is it possible to order one of these without the male hookup headers installed?

    OBC
    <br>
  • edited March 2011 Posts: 1,549Vote Up0Vote Down
    I guess I thought ever one had a few femal to male jumpers around.
    http://www.schmartboard.com/index.asp?page=products_jch&id=127


    I'm sold out now, Next batch I make I will go with female headers.
  • Please put me down for one, possibly two when you get the next batch in.

    OBC
    <br>
  • edited March 2011 Posts: 0Vote Up0Vote Down
    Duane Degn wrote: »
    I think I'm going to switch the two and three pin headers for female headers. I'm thinking with female headers, I can use normal hookup wire to make the necessary connections.

    I'm curious if any of you prefer the male headers and why?

    For this application the female connectors like the ones used on the development board make more sense for this particuar application. I think I have some and may switch those out. For anyone keeping the male headers you may want to switch those with straight ones that stick up. The original ones that lay down may interfere with projects on the proto area.

    Other than that it works great and now I can finally use those nice displays! I think I'm just going to leave it on the board all the time now.

    Robert
Sign In or Register to comment.