Hello all! I am relatively new to electronics and not too new to coding - so I would like some feedback on my schematic that I’ve generated from Fritzing.
In short what I am looking to do is drive a power FET with an Arduino digital signal. I have a basket of 4N35 optocouplers, and IRF540 MOSFET - N channel MOSFETS. I know that N-channel mosfets source current from ground, and that’s how they turn on and off by switching off and on the N-channel. I hope my terminology is correct! So I put together - based on other projects and products I’ve seen - a schematic that I’m trying to turn into a PCB to control 12v lighting. The IRF540 with heatsink can handle some pretty high current loads!!!
So what I have here are two circuits intersecting at the 4N35. This is a 5v Arduino circuit for the digital signals, and a 12v power circuit to drive the load (s). Both go back to their respective battery grounds because of the opto-isolation. That said - anything I could do to prevent say a voltage spike on the 12v side or overcurrent would be helpful. Also if I did anything wrong - or something is represented incorrectly, it would be greatly appreciated if the experts out there could provide some feedback. This is my first shot at a schematic - so bear with me!!!