Hi, so I am trying to figure out mosfet. I am new to arduino, and electronics, but I do have a basic understanding of them.
I have 2 questions that I think are related to better understand my issue.
-
I hooked 2LEDs (series with 330R) to a breadboard. One of the leds directly to 5v rail, and another led to pinout3 of the arduino, and uploaded a blinking program.
I noticed that the led connected directly to 5v is much brighter than the one activated by the arduino pinout... why? I figured a simple led wouldn't be an issue for a pinout... -
I am using the same program, and the same output to "activate" a mosfet, hoping that this time the mosfet won't limit in any way the current that goes though the led(drain), and it will be much brighter... The blinking ocurs, however is less bright than I would manually activate the mosfet (Gate) to the 5v/gnd rail instead of the pinout... I thought the drain current is not affected by the gate current, gate acting just like a switch... I don't understand?!?!
Also, just as a sidenote, I have seen everywhere that the mosfet has to be pulled(up or down - tried both) with the 10kR, however, this lights up the led brightly, and the blinking never ocurs, is like the pulling up is overwriting the Arduino...
This is just a test for a project that eventually will run a 12v solenoid valve (500mA)... but with the limited current... there is no way the valve will trigger. Also, the on/of will be in the range of 50-100 miliseconds, so it has to be very responsive.
I have used IRFZ44N... I also tried IRLB8721, which lights up the led at extremly low intensity...bearly visible.
here is a diagram...