Hi everyone,
I'm working on a project using an Arduino Pro Mini (3.3V version) and a P-MOSFET IRLML6402 to control power to a module. The MOSFET is wired as shown in the attached schematic.
Setup:
Questions:
I'm working on a project using an Arduino Pro Mini (3.3V version) and a P-MOSFET IRLML6402 to control power to a module. The MOSFET is wired as shown in the attached schematic.
Setup:
- Arduino Pro Mini (3.3V)
- P-MOSFET: IRLML6402
- Control pin: D10
- Supply voltage: 3.3V
- When I turn the MOSFET on (digitalWrite(pinD10, LOW):
- Drain (D): 3.3V
- Gate (G): 0.146V
- Everything seems to work fine.
- When I turn the MOSFET off (digitalWrite(pinD10, HIGH):
- Gate (G): 3.3V
- Drain (D): 0.3V - 0.6V (I expected 0V!)
Questions:
- Why is the MOSFET not fully turning off?
- Could this be related to the gate-source voltage threshold (V_GS(th)) of the IRLML6402?
Arduino code for mosfet:
#define pinA3 A3
#define pinD10 10
void setup() {
pinMode(pinA3, OUTPUT);
digitalWrite(pinA3, LOW);
pinMode(pinD10, OUTPUT);
digitalWrite(pinD10, HIGH);
}
void loop() {
Serial.begin(115200);
Serial.println("Mosfet turn on 5 sec...");
digitalWrite(pinA3, HIGH);
digitalWrite(pinD10, LOW);
delay(5000);
Serial.println("Mosfet turn off 5 sec...");
digitalWrite(pinA3, LOW);
digitalWrite(pinD10, HIGH);
delay(5000);
}
Attachments
-
22.8 KB Views: 17
-
2.6 MB Views: 15
-
2.8 MB Views: 9
