BC337 not working - darlington???


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1

    Default BC337 not working - darlington???

    Hi Guys,

    I'm using a pic12f675 to drive 5 groups of LEDs like the schematic bellow:



    As a driving transistor I'm using a BC337 but it looks like there's not enough current comming from each output of the PIC to drive the transistors (the LEDs are lit so poorly).

    If I connect the base of the transistor (with the 1K resistor) directly to the positive they lit very bright. I also tried with 470 ohms and less.

    So, I'm thinking that maybe a darlington transistor could help me with this.

    I already have the PCB done (see bellow) and I don't want to do it again, just replace the BC337 with something that might work. Any ideas?




    Thanks!

    Daniel.
    Last edited by DanPBP; - 14th October 2007 at 08:48.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Use a N channel MOSFET. You may have to bend the pins some to fit.

    Open question --- Why are so many people making the PCB and then trying to get things working? What happened to prototyping on a test board (bread board) to identify components needed?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Lightbulb Possible without damage ...

    Hi,

    Instead of placing the 337 between 100R and the anodes of your leds ... place it between cathodes and Ground ...

    so simple as that !!! ... for next time you draw your PCB




    not to change the existing PCB ... use a P-channel Mosfet and invert your pic output level ...

    Alain

    PS: Hi, McCrack ... your N channel won't turn on the leds : its gate might be at a ~ 8.4v level ... far from PIC output limits !!!
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    PS: Hi, McCrack ... your N channel won't turn on the leds : its gate might be at a ~ 8.4v level ... far from PIC output limits !!!
    I guess I should have stated a 5volt or less saturation on the gate.
    Dave
    Always wear safety glasses while programming.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    First, thanks for you answers!

    And one more question, could this darlington transistor work?

    MPSA14 http://www.onsemi.com/pub/Collateral/MPSA13-D.PDF

    Daniel.
    Last edited by DanPBP; - 14th October 2007 at 20:34.

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


    Did you find this post helpful? Yes | No

    Default OHM's law is critical!

    My first bit of advice would be to learn OHM's law. If you have a collector resistor of 100 ohm, and VC (voltage collector) is 7.2V, the most amount of current you'll squeeze out is: VC - (0.6 + 3.2) / 100 = ~34mA The 0.6 is the emitter drop on the transistor while the 3.2 is the drop on the LEDs.
    Last edited by T.Jackson; - 15th October 2007 at 07:01.

Similar Threads

  1. 16F877A with 20MHz XTAL not working?
    By ustredna in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th August 2011, 15:04
  2. 2x16 lcd not working with pic16f72
    By vu2iia in forum Schematics
    Replies: 4
    Last Post: - 16th February 2011, 14:59
  3. Blink.Bas on 18f45k20 Newbie seeks working example.
    By DiscoEd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 03:36
  4. Pic 16 F628A not working
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th March 2009, 12:26
  5. Hserin not working...
    By robert0 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd August 2005, 12:25

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