? SUBSCRIBE for upcoming projects ▷ https://www.youtube.com/user/jomirife?sub_confirmation=1

Circuit to safely control a Solenoid with an Arduino
https://jomirife.blogspot.com/2020/04/arduino-circuit-safely-control-solenoid.html

The danger of controlling a solenoid or a motor with an Arduino, is that the energy sent to the solenoid can be received back and burn the Arduino. To avoid this danger, in this project I will demonstrate how to create a circuit with a transistor and a diode to act as a kickback, so that electricity is prevented from returning to the Arduino on pins other than the ground.
In this project I demonstrate how to assemble the entire circuit so that you can control a solenoid with an Arduino. For this you need: 1 Arduino, 1 Breadboard, 1 Solenoid (or 1 motor), 6 cables, 1 transistor IRF520, 1 diode 1N4007, 1 resistor of 330 ohm, 1 resistor of 2.2k ohm.

? More Arduino and Electronics projects
https://jomirife.blogspot.com/2019/02/arduino.html

? More videos in the playlist Arduino and Electronics projects

Facebook https://facebook.com/JomirifeMedia
Twitter https://twitter.com/jomirife
Youtube https://youtube.com/jomirife
Instagram https://instagram.com/jomirife
Tech Blog https://jomirife.blogspot.com

, https://i.ytimg.com/vi/RfrDtAEQ95c/hqdefault.jpg

source

26 Comments

  1. Please show component names or number, such as Resistor 1000 ofms, diode 1N4007, transitor Tip120. Thank you.

  2. I HAVE A (I THINK) 9V SOLENOID WHICH IS POWERED OFF THE SAME 6V SUPPLYING THE ARDUINO. I KNOW ITS NOT COOL BUT IT ALL WORKS OK AND NOTHING BLOWS UP. AREN'T THE ARDUINO BOARDS FITTED WITH ENOUGH PROTECTION TO LOOK AFTER THEMSELVES?

  3. Great video, was very useful! Just wondering would it be safe to use DC power with the vin and replace the 5v solenoid with a larger 12v solenoid in this circuit?

  4. For some reason my solenoid doesnt respond to the low comand on the pin. It retracts due to the power supply but thats it.

  5. Hi, I want to connect a motion sensor at input and when someone waves, I want the solenoid to operate. Can you help with this ?

  6. I note you are powering the solenoid via the Arduino power supply (USB). Does the solenoid draw too many Watts on the inrush current for the capability of the USB power? Would a separate power feed to the breadboard and the IRF520 be a more cautious approach?

    Otherwise a nice clear explanation with good diagrams. Thank you.

  7. I like the video. Definitely its wonderful but you could have shown the the components names on the screen when you explained those.

  8. Does it matter how much voltage is used for the solenoid? ; Can i use the same transitor and diode you used for a simular setup using a 9V solenoid?
    Also, how do you know which is the right mosfet and diode to use in a setup like this? Or are all mosfets and diodes simular enough for a setup like this?
    Thanks in advance anyone! 🙂

  9. Sir, i follow ur instruction but only the light on but the solenoid wont move at all. Can you explain why? Thank you sir for your tutorial

  10. Hi. Would this work with a solenoid that draws more current, or would I need different resistors etc?

  11. Sir,I need the 5v pin of the arduino for another component of the curcuit….
    What shall I do in that case?
    Sir, this is very important for my project…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.