I have a 3D printer. Its control board gets too hot - it works but it get too hot.
I want that the current of the hotend flows through a MOSFET source ->mosfet (using ramps output as signal)->hotend to the hotend and not form the source ->ramps->hotend.
I discovered that if I touch the ground of the source and the ground of the hotend control board output it automatically turns on without command, so I had to use some isolator.
I built the following circuit; I use a 4N35 for isolating the hotend controlboard output, and then use a PNP transistor to connect the gate from the MOSFET to the 12 V rail. I put 2 diodes to step down the voltage to 10 V. I want to use an IRF740N.
I don't know if my circuit is wrong or if it's my circuit simulator that is wrong because the MOSFET is always on.
In theory the pnp transistor should be open if no voltage is aplied in the base, so the mosfet will be off, but in my circuit simulator its always on, and i dont know why, i dont know if my circuit is bad or my simulator has a bug.
So i choose to divide the current with resistor
after building the circuit i realize that the circuit simulator was wrong, i am using livewire 1.14. The circuit actualy work as intended.
But after conected it in to the ramps dosent work, but stand alone with a led and a power supply works fine.
I research a litte and discover that the heat come from the 5v regultor from the arduino board.
The reason of the heat wasen't the mosfet or the hotend, it was the graphics lcd that draws too mach current of the arduino regulator.
The solution is to remove one diode of the ramps and feed external 5v in a pin, so the regulator it's dosent need it. but i dont know why when i pluged the second circuit it dosent work, for somebody who knows the ramps 1.4 board maybe can solve the problem
I consider my problem solved,and learned a lot about mosfet in the experince, thanks a lot to those that really wants to help people and are very humble