# N-channel MOSFET in low-side switch allows current to pass when off

I am attempting to replicate the circuit below on a through-hole breadboard and am not getting the expected results. The "Bed-Heat" input on the far right of the schematic is a digital signal from a logic board of 0V or 5V to turn the transistor on. The two 'VBED' inputs up top correspond to my +24V in from a DC power supply, and the GND node contains both the ground from the Bed_heat input (logic board) and the ground from the power supply. The output is on the left (X11J and X11I), and should yield +24V when the input signal is on and 0 when the signal is 0.

As of now I can get the output to show +24V when on, but it's never at 0V when I turn off the input signal; instead I get a value between +14 and 16V. I've experimented with a couple different mosfets and diodes, and tried a 10 Ohm in the place of the 100 Ohm resistor going to the gate.

The transistor in question I'm using is PSMN2R2-40PS, and the Schottky diode is SB3100E-G. I'm not using the LED shown so that part is an open circuit in my case.

The circuit drives a heated bed for a 3D printer powered by a Rambo board (arduino). I have a power supply unit just for the heated bed and the electronics fans, separate from the power supply for the logic board.

Appreciate any pointers!

Edit: see two pictures at the top of this post for the breadboard I'm trying to make this circuit on. Red wire at top right is VBED (+24V in), thin red wire at the bottom is Bed_heat +5V input signal. The grounds of both inputs (white wire at top, black wire at the bottom) are shorted to each other via the orange wire on the board. The terminal at the bottom right will have the outputs X11J and X11I respectively left and right.

• Why is D10 needed? – User323693 Feb 7 at 16:14
• "As of now I can get the output to show +24V when on, but it's never at 0V ..." - How are you measuring this? Across X11J and X11I? Is there also a load present on these terminals? If not, what happens if you connect a load and re-measure? – marcelm Feb 7 at 17:57