Choosing a transistor


Closed Thread
Results 1 to 40 of 52

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Use a power MOSFET with logic-level Gate Drive.
    (You can drive it directly with the I/O of the microcontroller).

    For my Stereo microscope ring light (warm white LED's) I use
    IRLR/U2905 mosfets with I-Pak TO-251AA case. The microcontroller
    and the LED's use the same power supply of 3.25V.
    (20mA @ 3.25V for the used LED). The LED's are driven with PWM.

    IRLR/U2905 datasheet:
    http://www.irf.com/product-info/data...a/irlr2905.pdf

    Best regards,

    Luciano

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    (You can drive it directly with the I/O of the microcontroller).
    Should i not be doing that with normal transistors?

    I cant find that type of mosfet on rapid's site but they do have a mosfet category.

    Would i be right in saying the following
    Drain-source voltage is the max voltage it can output to the load
    Drain current (continuous) is the max amps it can output to the load
    Drain current (pulsed) same as above but relevant when using PWM.

    Im not so sure about the Drain-gate and Gate-source voltages. Looking at a few datasheets i would guess that the Gate-source voltage is the max voltage that the PIC chip can output to it. Does it matter if its a lot lower? One datasheet im looking at says +-18V. Does that need 18V to make the LED as bright as possible or will about 3V do the same job?

    I know how many volts and amps the circuit will be using so do i just have to look at Drain-source voltage and Drain current?

    Im planning a slightly bigger light too so i will need to know things like this. The bigger one will use seperate LEDs for each color so i can get the really bright ones. That means i can wire some in series to use less current too.

    Edit: I see there are N-type and P-type mosfets. Do i need a P-type?
    Last edited by The Master; - 30th September 2008 at 12:36.

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Use a power MOSFET with logic-level gate drive.

    This is what I use for my lamp:


    If you use a 12V supply use that:

    Best regards,

    Luciano

    EDIT: For the 12V schematic you can also connect groups of the 4 or 5 LED's in series.
    Last edited by Luciano; - 30th September 2008 at 13:13.

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ive found some logic level ones in rapid. They all seem to be n-type though. Does that matter? The circuit im making has to have the mosfet and LEDs the oposite way round. The multicolor LEDs have a common ground so its the positive side that needs to be switched

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Would it be better if i redesigned this small light to use seperate LEDs for each color? I cant add anymore LEDs because of space so it would be like dividing the amount of LEDs by 4. I could also connect them in series etc and group their anodes together so i can use either an NPN transistor or the same type of mosfet that you showed in your diagrams.

    The only problem with using seperate LEDs is the color mixing. The idea is that they combine to make loads of colors. When the light is shining at an object then its not so bad but these small ones are designed to be pointed at people. I think from a distance the colors should mix alright

  6. #6
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ive been playing around with the circuit design and using single color LEDs ive managed to fit 27 more of them on the board! Im not quite sure how i did it either :S I think this way might work better. I can use brighter LEDs now and instead of 2 blues i can use 1 blue and use the 4th chanel for white. The price of the light has about doubled by using more LEDs but it should be worth it. Is 35,000mcd bright? It sounds like quite a high number.

    Can i just double check that a 4V LED will be fine running on 12V if i use PWM? The average would end up being 3V. Im sure it was someone from here who said that would work but i dont remember who.

    The alternative is to wire the LEDs in series-parallel and not use PWM when they should be at full brightness. The only problem i see here is that the light would use 4 times a smuch current because all 4 sets of LEDs would be on at the same time

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    Is 35,000mcd bright? It sounds like quite a high number.
    Depends on the viewing angle.
    If you've got a 35kmcd LED with a viewing angle of 170 degrees, then, yes, that's a seriously bright LED. If that same 35kmcd LED only has a viewing angle (1/2 theta) of 10 degrees, then it won't be so bright.

    Can i just double check that a 4V LED will be fine running on 12V if i use PWM? The average would end up being 3V. Im sure it was someone from here who said that would work but i dont remember who.
    LEDs don't run on voltage...get that idea out of your head. Yes, they need voltage...'nuff said.
    It's CURRENT that makes an LED work. Yes, you have to have enough voltage to get the current required, which is why you also sometimes need a current limiting resistor. You start pumping 12v thru a single LED (unless it's rated for 12v of course), and you WILL burn it up sooner rather than later. If you've got 12v PWM running at 25% duty cycle, yes, the average would be about 3v-ish, but you're still hitting the LED with 12v. Again, if it's rated for that 12v, then I suppose you'll be fine. Otherwise, look to have a bunch of open LEDs eventually.
    Do yourself a favor and get a copy of 'The Art of Electronics' and do a bit of reading. It's my 'bible', great book, will teach you a lot about a lot of stuff.

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    The choice of using 17 LED's is not going to help you
    if you connect groups of LED's in series.

    * * *

    With the PWM you can control the brightness of the LED's.
    With or without PWM the maximum forward voltage is the same.
    The maximum forward voltage is visible in the datasheet of the LED.

    Best regards,

    Luciano

Similar Threads

  1. Replies: 24
    Last Post: - 7th November 2008, 05:41
  2. Power Transistor / Mosfet Suggestion?
    By exelanoz in forum General
    Replies: 8
    Last Post: - 13th July 2008, 09:51
  3. PIC driven transistor - smoothed signal edge - why?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th June 2008, 09:58
  4. LED with Transistor
    By mimi_deviL in forum Schematics
    Replies: 2
    Last Post: - 9th February 2008, 09:03
  5. Multiple IR LEDs from 1 port using transistor
    By belpe123 in forum General
    Replies: 3
    Last Post: - 20th May 2005, 23: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