This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem Driving MOSFET with GPIO Pin

I have a RedBear BLE Nano v2 (nrf52832) connected to 3 AA batteries for power. I also have a Maxbotix (MB1043) ultrasonic sensor attached. I have configured a gpio pin for output and have connected it to an N-Channel MOSFET (RFP30N06LE) to be utilized as a switch. When the GPIO pin is set high, the MOSFET should complete the circuit and turn on the ultrasonic sensor. 

The problem I am having is that the GPIO pin is not causing the MOSFET to complete the circuit. If instead, I supply the MOSFET gate with the battery, it works as expected and turns on the sensor. I measured the voltage and current as exactly the same from the battery as from the GPIO pin. So my question is why is the GPIO pin failing to activate the MOSFET?

Related