2N7000 - pepaslabs/LTSpice-parts GitHub Wiki

2N7000

The 2N7000 is an N-channel MOSFET. It comes in a TO-92 package.

When to use this part

This is your basic N-channel, low power, through-hole MOSFET. It's common and cheap. It should be your first choice when you have no special requirements. A student's very first MOSFET tutorial should probably use this part.

How to use the 2N7000 in LTSpice

To simulate a 2N7000 in LTSpice, we will place an 'nmos' part and then modify its attributes to use one of our 2N7000.lib files.

Start by creating the following test circuit.

After you place the nmos part, Control-right-click on it to bring up the part attribute editor.

Change the 'Prefix' to 'X' and the 'Value' to '2N7000'.

Make the voltage source 5V and make the resistor 1k. At this point your circuit should look like this:

Save your LTSpice circuit. Choose one of the 2N7000 parts (in parts/transistor/mosfet/nchannel) and drag it into the same folder. Here, I've chosen the 2N7000 manufactured by NXP Semiconductor.

Add a spice directive to load the 2N7000 part.

Create a transient simulation. Here, I'm simulating through 1 millisecond with a 1 microsecond time-step.

This should be your final circuit, ready to be simulated.

Run the simulation and measure the current through the 1k resistor. It should be just below 5mA.