Update Time:2025-11-18

Unlocking the Potential of the BS170 N-Channel MOSFET

Discover everything about the BS170 N-Channel MOSFET. From its datasheet specs and pinout to a critical comparison with the 2N7000, this guide helps you master low-side switching.

Components & Parts

BS170 N-Channel MOSFET

Have you ever needed to drive a small relay or a high-brightness LED with a microcontroller, only to find that your GPIO pins just don't have enough juice? You aren't alone. This is a classic scenario where a small signal MOSFET saves the day. While the 2N7000 is famous, its sturdier cousin, the BS170 N-Channel MOSFET, often flies under the radar despite offering superior current handling capabilities.

In the vast landscape of electronic components, the BS170 stands out as a reliable, cost-effective solution for low-voltage, low-current switching applications. According to recent industry data, the demand for efficient discrete semiconductors in IoT edge devices has grown by over 8% annually, making components like the BS170 more relevant than ever. Whether you are designing a logic level converter or a simple motor driver, understanding the nuances of this component is essential.

This article serves as your definitive roadmap. We will dissect the BS170 datasheet, clarify the confusing pinout differences between it and its competitors, and show you exactly how to integrate it into your next project.

1.0 What is the BS170 MOSFET? (The Small Signal Workhorse)

The BS170 is an N-Channel enhancement-mode Field Effect Transistor (FET) produced using DMOS technology. In plain English, it is a switch that turns "ON" when you apply a positive voltage to its Gate pin relative to its Source pin.

Unlike Bipolar Junction Transistors (BJTs) which are current-controlled, the BS170 is voltage-controlled. This means it draws almost zero current from your microcontroller's I/O pin, making it ideal for modern CMOS logic circuits.

1.1 Key Features and Benefits

Why choose the BS170 over a standard transistor? * **Voltage Controlled:** Minimal load on signal sources. * **Fast Switching:** Suitable for high-speed applications. * **Low Saturation Voltage:** Efficient operation with less heat generation. * **Direct Logic Interface:** Can be driven directly by TTL and CMOS logic.

1.2 Understanding the N-Channel Enhancement Mode

"N-Channel" means the majority carriers are electrons, flowing from Source to Drain. "Enhancement mode" means the device is **normally OFF**. It requires a positive Gate-Source voltage (Vgs) to create the conductive channel and turn the device ON. This is the safest and most intuitive behavior for a switch in digital circuits.

2.0 BS170 Pinout and Package Configuration

Getting the pinout wrong is the #1 reason for "magic smoke" in hobbyist projects. The BS170 pinout is housed in a standard TO-92 package, which looks like a small black semi-cylinder.

2.1 TO-92 Pin Configuration Diagram

BS170 pinout diagram TO-92 package showing Drain Gate Source configuration.

2.2 Identifying the Drain, Gate, and Source

If you hold the component with the **flat side facing you** and the pins pointing down, the pin numbering from left to right is typically:
  1. Drain (D)
  2. Gate (G)
  3. Source (S)

Warning: Always verify this with the specific datasheet from your manufacturer (e.g., onsemi, Vishay, or Fairchild), as variations can occasionally exist, though D-G-S is the standard for the BS170.

3.0 Technical Specifications: A Deep Dive into the Datasheet

To use the BS170 effectively, you must understand its limits. Exceeding these will result in component failure.

3.1 Voltage and Current Ratings

* **Drain-Source Voltage (VDS):** 60V. This is the maximum voltage the switch can block when it is OFF. * **Continuous Drain Current (ID):** 500mA (0.5A). This is how much current it can conduct continuously. * **Pulsed Drain Current (IDM):** Up to 1200mA (1.2A). Useful for brief surges, like motor startup currents.

3.2 Thermal Characteristics and Rds(on)

* **Rds(on):** This is the "on-resistance." For the BS170, it is typically around **1.2Ω to 5Ω** depending on the Vgs. A lower resistance means less voltage drop and less heat. * **Gate Threshold Voltage (Vgs(th)):** 0.8V to 3.0V. This confirms it can be driven by 3.3V and 5V logic.

Expert Tip: Although the max current is 500mA, the TO-92 package is not good at dissipating heat. If you are running close to 500mA continuously, the 1.2Ω resistance will generate significant heat. It is safer to stay under 300mA for continuous loads without a heatsink.

4.0 The Great Debate: BS170 vs. 2N7000

The BS170 and 2N7000 are often mentioned in the same breath. They are very similar, but they are not always drop-in replacements due to one critical factor.

4.1 Pinout Differences (The "Gotcha" Moment)

This is the most important takeaway of this article. * **BS170 Pinout (Flat side, L to R):** Drain, Gate, Source. * **2N7000 Pinout (Flat side, L to R):** Source, Gate, Drain.

If you swap them without crossing the legs, you will connect the Source to the Drain supply and likely damage the circuit or the component.

4.2 Current Handling Comparison

The **BS170** is generally the stronger candidate. * **BS170:** Max continuous current ~500mA. * **2N7000:** Max continuous current ~200mA.

Verdict: If you need to drive a slightly heavier load, such as a small solenoid or a cluster of LEDs, the BS170 is the superior choice. For signal switching where current is negligible, either will work (mind the pinout!).

FeatureBS1702N7000
Pinout (L->R)D - G - SS - G - D
Max Current (ID)500mA200mA
Rds(on)~1.2Ω (Low)~5Ω (Higher)
PackageTO-92TO-92

5.0 Practical Applications and Circuit Examples

The versatility of the BS170 makes it a staple in any electronics lab.

5.1 Low-Side Switching with Microcontrollers

The most common use is "low-side switching." This means the MOSFET is placed between the load and the ground.

The Setup:

  1. Source connects to Ground.
  2. Drain connects to the negative side of your Load (e.g., LED cathode).
  3. Gate connects to your GPIO pin via a small resistor (e.g., 100Ω to reduce ringing).
  4. Pull-down Resistor: A 10kΩ resistor from Gate to Source ensures the MOSFET stays OFF when the microcontroller is booting up.

Circuit diagram of BS170 low-side switch controlling an LED.

5.2 Logic Level Converters and Relay Drivers

Because the Gate draws almost no current, the **BS170** is perfect for stepping up logic signals. You can use it to translate a 3.3V signal from a Raspberry Pi to a 5V signal needed for a legacy sensor. Similarly, its 500mA capacity is perfect for driving small 5V or 12V relays, provided you include a flyback diode across the relay coil to protect the MOSFET from voltage spikes.

In Conclusion

The BS170 N-Channel MOSFET is a mighty component in a miniature package. Its ability to bridge the gap between delicate logic circuits and power-hungry loads makes it indispensable for modern electronics design. By understanding its pinout quirks and thermal limits, you can leverage its 500mA switching power to build robust and efficient systems.

Whether you are repairing legacy equipment or prototyping the next big IoT device, keeping a stock of BS170s is always a smart move.

Ready to start building? Check out our wide selection of MOSFETs and discrete semiconductors at Aichiplink to find the authentic components you need for your project.

Frequently Asked Questions

What is the difference between BS170 and 2N7000?

The main differences are <strong>current capability</strong> and <strong>pinout</strong>. The BS170 can handle up to 500mA, whereas the 2N7000 is typically rated for 200mA. Furthermore, their pin configurations are usually reversed (Drain vs. Source positioning) in the TO-92 package, so they are not direct drop-in replacements without modifying the circuit layout.

Can I use a BS170 with an Arduino?

Absolutely. The <strong>BS170</strong> has a gate threshold voltage well within the range of the 5V logic output of an Arduino. It is an excellent choice for driving loads that require more current than the Arduino's I/O pins can supply (typically limited to 20-40mA).

Does the BS170 need a heatsink?

In most small-signal applications, no. However, if you are pushing the device near its 500mA limit or switching at very high frequencies, it will get hot. The TO-92 package is not designed for heatsinks, so for high-power applications, you should consider a power MOSFET like the **<u><a href="https://en.wikipedia.org/wiki/IRF540" target="_blank">IRF540</a></u>** or similar.

What is the maximum voltage for a BS170?

The maximum Drain-Source Voltage (VDS) is **60V**. Ensure your load supply voltage does not exceed this limit to prevent breakdown.

Is the BS170 ESD sensitive?

Yes, like all MOSFETs, the **BS170** has a high-impedance Gate that is sensitive to Electrostatic Discharge (ESD). It is good practice to handle it with anti-static precautions and design your circuit with a gate resistor.