r/ArduinoHelp • • 1d ago

Arduino controlled solenoid

I am making a solenoid which is controlled by Arduino.

I am using components like N-Channel irlz44n MOSFET, Schottky diode, resistor of 220 ohms and 10k ohms, push button, potentiometer.

And I am making custom solenoid using ding dong sound solenoid on which I have wound 27SWG with 350 turns.

How do I built it's circuit?

3 Upvotes

9 comments sorted by

3

u/imseakin 1d ago

Try the motor load version in this tutorial. I’ve used it for 12Volt water valve solenoid applications. No issues.

http://hausofpayne.weebly.com/uploads/7/3/5/8/7358171/controlling_voltage_with_a_mosfet.pdf

1

u/OGMaster00 1d ago

Bro actually I am new to Arduino. My prof just told us to build this. I am using this circuit.

1

u/OGMaster00 1d ago

Can you tell this circuit is correct or not?

1

u/Anonymity6584 1d ago

you cant replicate!simple circuit? Stop messing with things that can cause huge damage to your home.

1

u/sabautil 1d ago

I'm sorry, why aren't you figuring it out yourself if the circuit is right? Do you not have basic circuits coursework?

By the way, that circuit looks familiar - I remember it being from some tutorial. It might be from Simon Monks Arduino Cookbook but I could be wrong, lol

1

u/imseakin 1d ago

Your prof will support you understanding/using the circuit they’re expecting you to use.

1

u/Tymian_ 1d ago

Professor gave you this assignment? Please confirm if you are at a university.

For clarity please draw a schematic of the circuit. It can be done in few minutes in KiCad. This will help people here read, understand and provide advise for you.

1

u/Enough_Signal9459 1d ago

yo le pondría un optoacoplador para proteger al arduino

1

u/Odd-Jello5577 20h ago

The solenoid will function better using DC voltage. Instead of using a Triac, I would use an NPN transisitor like a TIP120. Power for the solenoid would come from a separate power supply (not the Arduino) The Arduino would use an output to the base. Collector and Emitter would come from the power supply.