How to Use a Solenoid with Arduino (Lesson #37)

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 23

  • @pto200
    @pto200 9 місяців тому

    Good video. Always enjoy the information. Well presented.
    Thank you.

  • @CombatWombat-q9w
    @CombatWombat-q9w 7 місяців тому

    Thank you for helping me again :)

  • @moulikgupta8303
    @moulikgupta8303 2 місяці тому

    Hi! Great video! I understand why we use all the components except the MOSFET transistor. What's the point of using the MOSFET transistor? Is it something we use to control components, as it provides a digital connection (between the Arduino and the component) and hooks it up to ground?

    • @Science.Buddies
      @Science.Buddies  2 місяці тому +1

      The Arduino's I/O pins cannot provide enough current to directly drive a motor or solenoid. If you check out our Arduino tutorial playlist (linked in the description) there are other videos on DC motors and external power that explain this a little more.

  • @OliverArment
    @OliverArment 3 місяці тому +1

    what transistor and diode are you using

    • @Science.Buddies
      @Science.Buddies  3 місяці тому

      For the diode, a common rectifier diode like 1N4001. For the MOSFET, RFP30N06LE 30A 60V N-Channel Power Mosfet TO-220

  • @lololoololdudusoejdhdjswkk347
    @lololoololdudusoejdhdjswkk347 4 місяці тому

    Would a relay here work as well in replacement of a transistor? I thought transistors are meant for fast switching

    • @Science.Buddies
      @Science.Buddies  4 місяці тому

      You're correct, a relay would work here as well, but not for controlling the speed of a motor with a PWM signal from the Arduino where you need the faster switching of a transistor.

  • @lahari__kancham
    @lahari__kancham 5 місяців тому

    Hlo
    I tried the project solenoid door lock using rfid and arduino.solenoid is not controlling.what would be the reason

  • @ArcanePath360
    @ArcanePath360 6 місяців тому

    I have a 3.7v tiny valve solenoid which has 2 black leads, and doesn't seem polarity sensitive. Do I still need a diode?
    Thanks for the informative video

    • @Science.Buddies
      @Science.Buddies  5 місяців тому +1

      Hi - technically it's good practice to use a flyback diode for any inductive load like a motor or solenoid.

    • @ArcanePath360
      @ArcanePath360 5 місяців тому

      @@Science.Buddies Thanks. I've got it running without one, or a capacitor ,and it seems fine.

  • @ishl3321
    @ishl3321 Місяць тому

    can you help me wire a 12volt solenoid with only 9v

  • @certifiedcelingfan
    @certifiedcelingfan 9 місяців тому

    🔥🔥🔥

  • @jmar247
    @jmar247 4 місяці тому

    I have a 12v solenoid and a relay, I don't have any mosfet or diode on my solenoid. Which is directed to relay.
    the relay is connected to the battery and solenoid, and to Arduino
    relay has NO, Common, IN.
    Is this safe? It is causing a random signal on my coin slot IR sensor, which is causing a count even though I'm not dropping a coin in the slot.
    Please help me.... this is for my project at school.

    • @jmar247
      @jmar247 4 місяці тому

      i hope you reply here

    • @Science.Buddies
      @Science.Buddies  3 місяці тому +1

      Hi - we recommend asking for help in a dedicated electronics forum like the official Arduino forums or a place like Reddit or Stackexchange. You will need to post pictures of your circuit and your code in order for people to help you, otherwise nobody can really tell what exactly is going on.

  • @nathanaelculak7541
    @nathanaelculak7541 5 місяців тому

    I have a 12v dc 5-2 Solenoid valve that I want to control with arduino. It’s a much bigger pneumatic actuator, will this work for that.

    • @Science.Buddies
      @Science.Buddies  5 місяців тому

      You'll want to check out some of our other Arduino tutorials, especially #'s 16 and 19: www.youtube.com/@Science.Buddies/search?query=arduino%20power

  • @thenerdbasket6659
    @thenerdbasket6659 29 днів тому

    Solenoid part number/item name?

    • @Science.Buddies
      @Science.Buddies  27 днів тому +1

      The solenoids are linked in the materials list of this project: www.sciencebuddies.org/science-fair-projects/project-ideas/Elec_p109/electricity-electronics/refreshable-braille-display#materials

    • @thenerdbasket6659
      @thenerdbasket6659 26 днів тому

      @@Science.Buddies Thank you. If I am not planning on firing all solenoids at once, ever, can I get away with duplicating everything off of pin 4 (and power) and adding more solenoids to fire based on user input in the code? Or do I always need a big enough power supply to power all 6 (even if I don't need to use them)?

    • @Science.Buddies
      @Science.Buddies  23 дні тому

      Hi - this gets a little more complicated than what we can answer in a UA-cam comment, you might want to ask in the official Arduino forums or a forum dedicated to electronics.