Im wanting to know if its possible to test continuity using an arduino for a circuit that uses a mosfet. Basically, im making a pyrotechnic igniter that when i go high on the gate, the pyro will fire.
I have the mosfet and circuit all setup and working but I want to be able to test if the igniter has continuity. That means that if no igniter is connected, or the igniter is broken and wont complete the circuit, then the arduino will print Fail or something in the serial monitor and else, no error.
Have researched and looked at others but cant seem to find an answer that will work.
I would consider myself a little big more then beginner. I am slightly confused by some of the things you said so i thought i would just post the actual wiring image.
The transistor used is a IRF520. The code will switch the pyro on and off in a loop. The blue screw terminal is where i put the probes on the multimeter onto and get 9v on, the off (the code looping)
The supplier of these kits are using IRF540 (which is obsolete) by mistake OR they are trying to get rid of components that they got a good price on but are the wrong ones for use with a 5V microcontroller.
We see this all the time.
They should have used an IRL540 which is designed for microcontrollers like the UNO.
Gate threshold voltage (VGS-th) is 4V (max)
The line above is the voltage where the MOSFET is essentially turned OFF.
You want to look at the datasheet line as seen below.
You keep mentioning the IRF540 but the mosfet says IRF520. Just checking you are not thinking the wrong one? Everything seems to work absolutely fine with it