Electronic Pro Blog | Epro

2N7000 MOSFET Pinout, Specs & Switching Circuits

The 2N7000 is an N-channel enhancement-mode MOSFET in a TO-92 package, widely used as a small-signal switch. A microcontroller pin controls the gate, and the drain-source path switches a load that the pin itself cannot drive directly. If you work with Arduino, ESP32, or small battery circuits in Pakistan, the 2N7000 is one of the first MOSFETs you will meet. This guide covers the pinout, the specs in plain words, three practical uses, and the mistakes that damage the part.

2N7000 Pinout

Hold the 2N7000 with the flat side facing you and the leads pointing down. From left to right:

  • Pin 1 = Source
  • Pin 2 = Gate
  • Pin 3 = Drain

Always confirm against the flat side before wiring. The curved side is the back of the package. Do not rely on memory from a different MOSFET, because pin order varies between parts that look identical.

In a typical low-side switching circuit, the load connects between the positive supply and the Drain (Pin 3), the Source (Pin 1) connects to ground, and the microcontroller output drives the Gate (Pin 2) through a small series resistor. When the gate is high, drain-source conducts and the load turns on. When the gate is low, the load turns off.

Specs in Plain Words

  • Vds 60V maximum: the drain-source voltage must stay below 60V. This covers 5V, 12V, and 24V small circuits with headroom, but it is not a mains-rated part.
  • Id 200mA continuous, 500mA pulsed: this is a small MOSFET, not a power MOSFET. Keep continuous load current at or below 200mA. Short pulses can go higher, but do not design for continuous high current.
  • Vgs(th) 0.8V to 3V: the gate threshold is low, so the part is logic-level friendly. An Arduino or ESP32 GPIO at 3.3V or 5V can turn it on for small loads, although full enhancement is better at higher gate voltage.
  • Rds(on) maximum 5 ohm at Vgs = 10V: when fully on with 10V on the gate, the drain-source resistance is up to 5 ohms. At 200mA that means up to about 1V drop and 0.2W dissipation, so check heating in enclosed projects.
  • Package TO-92; -55C to +150C: through-hole package for breadboards and PCBs, with a wide operating temperature range for normal indoor and hobby use.

These numbers tell you the job the 2N7000 is good at: switching small loads with a logic signal. They also tell you its limit: if your load needs amps, choose a power MOSFET instead.

Three Practical Uses

1. Switching LEDs and Small LED Strips

A single GPIO pin can only supply a few tens of milliamps. With a 2N7000, the pin only charges the gate, while the MOSFET carries the LED current. This works for indicator LEDs, small LED modules, and short LED strips, as long as the total current stays within 200mA. Use a current-limiting resistor for LEDs and keep the supply voltage within the 60V limit.

2. Small Buzzers and Relay Coils

Buzzers and small relay coils often need more current than a GPIO can give, and they are inductive loads. A 2N7000 can switch small coils within its 200mA limit. Always add a flyback diode across the inductive load, with the diode cathode to the positive supply side, to absorb the voltage spike when the coil turns off. Without the diode, the spike can damage the MOSFET.

3. PWM Dimming and Level Shifting

Because the gate responds quickly, the 2N7000 works well for PWM dimming of small LED loads and for level shifting in battery circuits. A PWM signal on the gate controls average brightness, and the MOSFET isolates the microcontroller pin from the load current. Keep PWM wiring short and add a gate resistor to limit inrush current into the gate capacitance.

Newest in the store

Common Mistakes

Exceeding 200mA

The most common failure is treating the 2N7000 as a power device. Motors, large LED strips, and heaters quickly exceed 200mA. For motors and amp-level loads, use a power MOSFET in the IRF540 class or a dedicated motor driver, with proper heatsinking.

Wrong Pin Order

The 2N7000 and the BS170 are similar small MOSFETs, but their pin orders differ, so they are not always drop-in replacements. Swapping Source and Drain or misplacing the Gate leads to a circuit that does not switch, or to damage. Check the flat-side pinout every time: 1 Source, 2 Gate, 3 Drain for the 2N7000.

Floating Gate

A MOSFET gate left floating can pick up noise and turn on partly, causing heat or flicker. Add a gate series resistor from the microcontroller pin and a pull-down resistor from gate to ground so the default state is off when the pin is not driven, for example during reset.

Frequently Asked Questions

2N7000 vs BS170: what is the difference?

Both are small N-channel MOSFETs in TO-92 for similar low-current switching jobs. They differ in pin order and detailed ratings, so check the datasheet for the exact part in hand and do not assume a drop-in swap without rewiring.

Can I drive a relay directly with a 2N7000?

Yes, for small relay coils whose current is within the 200mA continuous limit. Add a flyback diode across the coil. For larger relays or contactors, use a larger transistor or MOSFET stage.

Where can I buy the 2N7000 in Pakistan?

You can buy the 2N7000 MOSFET at Electronics Pro for Rs 27, from Hall Road, Lahore, with cash on delivery nationwide. Browse the full MOSFET category for power MOSFETs and related discrete components for higher-current designs.

Keep the 2N7000 within 60V and 200mA, wire Pin 1 Source, Pin 2 Gate, Pin 3 Drain with the flat side facing you, protect inductive loads with a flyback diode, and it will serve reliably as a small-signal switch in Arduino and ESP32 projects.

Newest in the store

Leave a Reply

Your email address will not be published. Required fields are marked *