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 02 '26

is this what you meant?

1

u/CueAnon420 Nov 02 '26

Yes ;-)

That should work. And you should be able to prove it by removing the green wire from the Arduino pin and touching it to the 5V rail from the Arduino board (basically acting like the program pin by hand). That should turn on the solenoid - if it doesn't, that mosfet may be bad (which can also be confirmed by using a wire to jump the Drain and Source pins together).

1

u/not_its_me Nov 02 '26

okayyyy tyyyy im gonna try it ill update in some time. lets hope i dont end up blowing it up again if it works i will be forever indebted to you

1

u/CueAnon420 Nov 02 '26

If you are worried about blowing things up, try without the Arduino pin first (so you just have the +5V and ground from Arduino board to breadboard). Use a jumper wire and touch the gate to the 5V from the Arduino board. Solenoid should pull in. Once you confirm this, go back to trying the program.

1

u/not_its_me Nov 02 '26

so like this?

1

u/CueAnon420 Nov 02 '26

100%

If the solenoid doesn't pull in when wired like that, something is very wrong and it's possible the mosfet has blown from prior experiements gone south. If you pull the red 5V wire, solenoid should turn off.

I will also say that I am not familiar with that breadboard app and I am assuming that the mosfet pins are the standard G-D-S

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.

→ More replies

1

u/not_its_me Nov 04 '26

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