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 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/CueAnon420 Nov 04 '26

Yes

1

u/not_its_me Nov 04 '26

do i do the green or the blue connection? basically before or after the negative solenoid connection?

1

u/CueAnon420 Nov 04 '26

Do the green jumper. I'm betting the solenoid doesn't work because there is something else wrong somewhere. But this will eliminate one variable.

1

u/not_its_me Nov 04 '26

yepp,nothing.

1

u/CueAnon420 Nov 04 '26

That shows that the mosfet isn't the problem. With that green jumper, you have basically connected the solenoid directly to the power supply as if nothing else was involved. You need to check all your wiring and figure out why the solenoid isn't getting power. Maybe one hole off on the breadboard somewhere?

→ More replies