I built a N-ch mosfet circuit for various loads using IRF520N and a low power transistor BC548C(NPN).
Altrough it works and is sensible enough to turn a 50W lamp on just when i touch input an ‘+’ end,on arduino it won’t work even if they are powered by the same 12V 4.5 A Pb-acid battery.This is the program i used for testing (i tried pin 11,12) and the eagle schematic with values. Arduino board works fine .
Thank you .
sketch_may29a.ino (297 Bytes)
Mosfet.zip (5.3 KB)