Extreme beginner question with MOSFET

Discussion in 'The Projects Forum' started by benchaz, Feb 2, 2009.

  1. benchaz

    Thread Starter Member

    Feb 2, 2009
    14
    0
    Hey guys, I'm pretty new to circuits

    I bought a IRLR7821 N-channel MOSFET, but I can't get anything working with it! :(

    Here's what i did

    i connected an led connected to 0v (ground) in series with a 1k resistor to the drain of the mosfet. the source of the mosfet is connected to +12v, and the gate is directly connected to 0v (ground).
    But the led stays on!!!

    Help!!! What am i doing wrong??? :confused:
     
  2. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    907
    First, you have the mosfet connected backwards. The source of an N-channel mosfet goes to ground.

    Try this configuration: resistor to V+, other side to LED anode (+ terminal), negative side of LED to mosfet drain, mosfet source to ground.

    The mosfet gate to a resistor (100 to 1K). When gate is grounded through the resistor, LED will be off; when gate is connected to 12V+ through the resistor, LED will be on.

    John
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    If you take a look at the data sheet, you will see that hexfets have inherent reverse polarity diode structures. By connecting the source and drain backwards, you forward biased the body diode and got uncontrollable current through the device. Good thing you have the limiting resistor in circuit.
     
  4. benchaz

    Thread Starter Member

    Feb 2, 2009
    14
    0
    wow, thanks!
    how about if i want to turn it on. i know you can just connect it with +v, and it works, but is it better to have a limiting resistor there too? what value?
     
  5. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    It's more for circuit stability. The resistance in the gate circuit is good anywhere from 100 ohms - 470 ohms. That's just rule of thumb, though.
     
  6. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    A resistance on the gate is useful when you switch the MOS on/off at high frequencies and thus the gate capacitance becomes significant and causes some current. However, you can use a resistor when you drive the gate with DC just to eliminate in rush currents through the gate.
    Also, connect a 10K resistor between the gate and the source to turn off the MOS (the resistor discharges the internal gate capacitance).
     
Loading...