In my case i am using the shematics in a truck, i have the ground everywere on the truck body. I would like to control a led strip using mosfet (N or P) as a pwm switch on VCC (transistor beetween battery +12 and led's + wire).
Is it possible ?
Edit I have tried the solutions 1 and 2 of the possible duplicate link without success, any idear why and how to fix this ? My pwm command signal comes from an arduino 5V.