









Below is the pin configuration for a typical P-Channel MOSFET in a TO-220 package:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | Gate | Controls the flow of current between the |
| source and drain. A negative voltage is | ||
| applied here to turn the FET on. | ||
| 2 | Drain | Current flows out of this terminal when |
| the FET is on. | ||
| 3 | Source | Current flows into this terminal. |
| Tab | Drain | The metal tab is internally connected to |
| the drain terminal for heat dissipation. |
Connecting the Terminals:
Gate Resistor:
Protection Diode:
Driving the Gate:
Below is an example of using a Basic FET P-Channel to control an LED with an Arduino UNO:
// Define the pin connected to the gate of the P-Channel FET
const int gatePin = 9;
void setup() {
pinMode(gatePin, OUTPUT); // Set the gate pin as an output
digitalWrite(gatePin, HIGH); // Turn off the FET (gate voltage = source voltage)
}
void loop() {
// Turn on the FET (apply negative voltage to the gate)
digitalWrite(gatePin, LOW);
delay(1000); // Keep the LED on for 1 second
// Turn off the FET (gate voltage = source voltage)
digitalWrite(gatePin, HIGH);
delay(1000); // Keep the LED off for 1 second
}
Note: In this example, the source terminal of the FET is connected to the positive voltage supply (e.g., 5V), and the drain terminal is connected to the LED and a current-limiting resistor.
FET Not Turning On:
Excessive Heat:
Load Not Functioning:
Q: Can I use a P-Channel FET with a 3.3V microcontroller?
A: Yes, but ensure the gate voltage is sufficiently negative relative to the source. You may need a level shifter or gate driver circuit.
Q: Why is my FET always on?
A: This could be due to a floating gate. Add a pull-up resistor between the gate and source to ensure the gate voltage is properly controlled.
Q: Can I use a P-Channel FET for high-side switching?
A: Yes, P-Channel FETs are ideal for high-side switching applications. Ensure the source is connected to the positive voltage supply and the gate voltage is properly controlled.