r/ArduinoHelp • • Nov 02 '26

solenoid project connectivity help

hiii i have a question, im trying to build a 12V solenoid powered refreshable braille device and idk how to go about it. is the connection in the first or second better? im using a irlz44n mosfet

1 Upvotes

51 comments sorted by

View all comments

Show parent comment

1

u/not_its_me Nov 03 '26

hiii i tried it and nothing happened. my parts are all brand new so i dont understand what could've gone wrong and yes its is G-D-S. the website is tinkercad

1

u/CueAnon420 Nov 04 '26

Did you try the 5V jump test?

Failing that, try jumping the Drain and Source pins - that eliminates the mosfet entirely and will prove if you have some wiring issue in your solenoid circuit, which seems more likely than a blown mosfet to me.

1

u/not_its_me Nov 04 '26

jumping the drain and source? what exactly does that mean? but isnt the mosfet for safety?

1

u/CueAnon420 Nov 04 '26

Jumping the drain and source is basically acting like what the mosfet should do when it works - it connects the D+S pins together when the gate is triggered.

I say to test that because I think you will find your problem is elsewhere. This is a very simple circuit and while mosfets can fail, it is not typical unless they were overloaded. Jumping the D+S pins basically bypasses the mosfet.

1

u/not_its_me Nov 04 '26

sure, how do i do that? do i just get a juper wire connecting the two?

1

u/CueAnon420 Nov 04 '26

Exactly

Same idea as the 5V test to the Gate pin.

1

u/not_its_me Nov 04 '26

right so same circuit as 5v except i connect the drain and source ?

1

u/CueAnon420 Nov 04 '26

Yes - the circuit is always the same. The 5V test just tries to prove that the Arduino IO pin would work by manually supplying 5V to the gate pin instead of the Arduino chip and code. The D+S jump test proves that if the Ardunio turned on the mosfet the solenoid would pull in.

Remember that the mosfet is like an automatic switch - when it sees 5V on the gate, it connects the drain and source together, which completes the power circuit for the solenoid. If you jump the D+S with a wire by hand, you are bypassing the mosfet and doing what the mosfet should be doing.

I suspect that jumping the D+S will not power the solenoid because I think you have some wiring issue in the solenoid power. But if it does work, then that proves the mosfet is bad for whatever reason.

1

u/not_its_me Nov 04 '26

okay so i still keep the write from source to negative bus right?

1

u/not_its_me Nov 04 '26

jumping the drain and source? what exactly does that mean? but isnt the mosfet for safety?