I am using the Arduino Nano 33 BLE Sense board together with the ov2640 camera connected to it. I want to make a switch and turn off my camera when I don't need it, so I decided to buy the IRF520N MOSFET and try it. I followed the instructions from the datasheet but it seems that I was not able to provide power to my camera and in the end, I could not get the expected result. Based on the datasheet:
1 pin (GATE) -> GPIO on Arduino (D2)
2 pin (DRAIN) -> first I tried to connect it to the camera GND but without results, as on the graphs I observed that my device completely lost the connection at that specific time when I wanted to use the camera. So I decided to try with:
2 pin (DRAIN) -> camera VCC (but I am still not able to read 3.3V on this pin using my multimeter which means that camera cannot get enough power to operate.
SOURCE -> Arduino GND
Did I maybe make somewhere a mistake or there is something that I missed to add or define in my code?
But I have the same solution as you (with a resistor of 1MOhm between SOURCE AND GATE). As I mentioned in the previous comment, I tested the solution with LED and it works, but when I connect the camera something happens and I am not able to run it properly. In my case instead of the motor, I have the camera and that's the only difference.
Okay, thanks for the advice. I ordered also this one (%product-title% kopen), as the one that I use, has a threshold at 4V and the camera is running at 3.3V. Can this one also be useful for my issue?
The IRLB8721 is not a logic level MOSFET, so no, it won't work.
If you look at the product page, these two specifications are stated:
U(GS)(th) max. 2.35 V
U(GS)(th) referentiestroom (max.) 25 µA
This means that when the gate voltage is 2.35V, at most 25 uA flows in the drain. That is not enough for your camera. A gate voltage of 10V is required to turn that MOSFET fully on.
Rds(on) is listed at 10V on the FQP30N06 so it is not logic level and will not turn on at 3.3V. The graph in figure 2 in the data sheet confirms that.
The part number that you want is FQP30N05L. Note the L at the end of the part number. I suppose that that means logic level. The FQP30N06L data sheet shows Rds(on) at 5V so the part is logic level and the figure 2 graph bears that out.
It's me again. I ordered this MOSFET ON Semiconductor FQP30N06L MOSFET 1 N-kanaal 79 W TO-220-3 but again not possible to enable my camera to work. Do you maybe know where the problem can be? I am following this pinout:
It is a logic level device. How exactly is it wired? Post a schematic and/or photos. Are you sure that the MOSFET that you have has the L at the end of the part number.
I'm certain that you could have got this thing squared away with a small-signal NPN (practically speaking, most any small-signal NPN) transistor.
I'm not meaning anything personal, but the 'logic-level' obsession is a conceit and it keeps people from getting things done.
That circuit won't work, you need the camera between Drain and Vcc.
What do you suppose happens to the GS voltage when the MOSFET turns on in your circuit?
I want to turn ON and OFF the camera when I need to use it. Mosfet will act as a switch in my case so I can keep the device in a deep sleep state before and after the camera task. Otherwise, the camera will always be ON consuming a lot of power. I hope that you can catch the goal from my description