DC Motor Reversing with Limit Switches

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • In this video I show how you can have a DC motor turn one direction until it hits a limit switch. Then using a SPST switch or some other control circuit, you can reverse the DC motor until it hits another limit switch.
    This circuit is very handy for many situations where you have to open and close things for example.
    I have a corrected PNG image you can download here
    el34world.com/...
    Here is the wiring hookup diagram without the relay contacts
    This may help you do the basic wiring without showing the relay contacts
    el34world.com/...
    Here is my .diy file that you can open in DIYLC
    el34world.com/...
    Do it yourself layout creator info is here.
    el34world.com/...

Komentáře • 72

  • @alexanderross7666
    @alexanderross7666 Před 3 lety +2

    Excellent explanation, which almost answers my problem, which is to how to get the motor to stop midway and be ready to go either way.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      Most likely you would have to set up some sensors to detect where the motor is currently using Arduino,
      That's what I would do

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      I use IR sensors with Arduino all the time to sense when something is moving and then do something. It's really easy to set up this sort of thing, but it does take some mechanical know how and Arduino programming. But you can find lots of Arduino examples to use and modify.

  • @antesdedormirmanu6789
    @antesdedormirmanu6789 Před 2 lety +1

    Thanks a lot... Very usefull and too few components... Also very well explained... And the correction diagram provided was so usefull... Gettings from Colombia

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      You are most welcome.

  • @garyhanfling1419
    @garyhanfling1419 Před 3 lety +2

    Thank-you for the Video. It suits the needs I have. I did download the pdf. ( thank-you )
    I have a geared DC 100vdc brushed motor that I want to use this circuit / configuration for. It only draws an amp ( max. )
    So I will choose the correct rated relay for the job.
    Have a great 2021.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      Good luck with your project

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      Download a corrected PNG image here.
      The bottom row images in my video had the red cross wire drawn incorrectly.
      el34world.com/Misc/misc/BlastGates.png

  • @koaasst
    @koaasst Před rokem +1

    im one of those guys that has a diy cnc router, 3d printer, random experiments stuffed on shelves and in cabinets, more homemade tools and gadgets than you can shake a stick at. but ive never put one of these circuits together. im building a moon tower type pole that will have 3 retractable lights that all i need is the dc motor to go back and forth. atop the pole will be a wifi router in a waterproof box and a couple cams. i have a couple acres and this is gonna go right smack in the middle, almost 40 feet high. when the lights are retracted, the tower looks plain and straight, but when the lights are engaged, three arms move into action and swivel out 10 feet each, on a linkage i made based on the linkage for a casement window opener.
    its a spectacle but i cant help myself, dang adhd hyperfocus kicks in. i probaby wont finish it and it will be rope activated forever lol.

    • @EL34XYZ
      @EL34XYZ  Před rokem

      I don't know what a moon tower is, but it sounds like a cool project.

  • @EL34XYZ
    @EL34XYZ  Před 4 lety +3

    I uploaded a corrected PNG image here.
    The bottom row images in my video had the red cross wire drawn incorrectly.
    el34world.com/Misc/misc/BlastGates.png
    Here is the wiring hookup diagram without the relay contacts
    This may help you do the basic wiring without showing the relay contacts
    el34world.com/Misc/misc/DcMotorHookup.png
    And here is my .diy file that you can open in DIYLC
    el34world.com/Misc/misc/BlastGateSwiches4.diy

  • @nitishraj3333
    @nitishraj3333 Před rokem +1

    Please Sir , Make a practical video... it will be very needful for my project.
    Lots of love from India...
    Please make a video

    • @EL34XYZ
      @EL34XYZ  Před rokem

      Sorry, I don't have any more info for you.

  • @checkingoutgypsymike2075
    @checkingoutgypsymike2075 Před 3 lety +2

    I know next to nothing on electronics , or their abbreviations. I made a solar lift motor to lift my solar panels i have on a frame. I used the guts from a 12v cordless drill, a pvc T, and some muffler pipe. I attached it to a trailer tongue jack, and have a rocker switch to control the forward and reverse. I understand the toggle rocker switch center pins are for hot and ground, and i have to run a jump wire in an X pattern so i can go up with the switch pushed to one side and move it down by throwing the toggle switch down.
    I want to put limiter switches on so when i throw the switch for up it gets all the way up then stops the motor, but still has power to the motor when i throw the toggle switch to lower it down then stops. I've seen two prong and three prong switches, i thought maybe the thee prong would be what i need. I stopped at an electronics store and explained what i want to do, and was told i would need 4 or six prong limiting switches and wire each separate off the toggle switch. Is that correct or will a two or three prong limiting switch work?
    It seems like it would work off the three prong, or even run one wire thru to the first switch, and when it trips it would allow power to bypass and go to the second switch from the other leg. I was going to by a 6 pack of three prong/leg switches and just play with them until i figured it out. But if i need 4 or six prong limiting switches ill be wasting my time with the three. Sorry if it's confusing, i didn't want to watch a dozen videos to write down the terms lol. Any advice would be appreciated, i posted a video of the motor and lift if i wasn't clear, but i think you will understand. God bless!! (I guess the toggle switch is the same as your dpdt relay?)

    • @EL34XYZ
      @EL34XYZ  Před 3 lety +1

      There is probably info on Google for people that have done that?
      Like this one?
      www.hamradio.me/station/elevator-limit-switch-for-your-tower.html

  • @dominatorthegamer7935
    @dominatorthegamer7935 Před rokem +1

    how can i apply this toa eletrical drawimg circuit ?

    • @EL34XYZ
      @EL34XYZ  Před rokem

      Sorry, I don't know what you are asking?

  • @Tomc8030
    @Tomc8030 Před rokem +1

    This was a great video and excellent presentation….. can I use a prox switch in place of the limit switch? I do need to my motor to stop at point B and be ready to return to point A when I push the power button and reverse the cycle. Thank you for any help you can provide.

    • @EL34XYZ
      @EL34XYZ  Před rokem

      Thanks. Limit switches can be physical switches, IR sensors or hall sensors. Anything that can trigger an event. Of course, you would have to use Arduino or some other method to detect electronic devices used as limit switches. Physical switches do not need that.

    • @Tomc8030
      @Tomc8030 Před rokem +1

      @@EL34XYZ Thank you! I’ll figure out someway to use a limit switch…. What I have is a 5/16” rope pull system that needs to travel approximately 50” and my pulley system has 3 wheels in side a casing that’s 32” long. I’ll just need to figure out something I can attach to the rope that will travel pass a pulley…. Thank you for your help.

    • @EL34XYZ
      @EL34XYZ  Před rokem

      @@Tomc8030 Arduino is really simple and easy to setup IR switches and Hall effect magnetic switches. I really like hall effect switches. All you need is hall effect sensor hooked to an Arduino. You have a magnet on the moving part that triggers the hall sensor.

  • @motivasyon69
    @motivasyon69 Před 6 měsíci +1

    İşe yara bilgiler emeğinize sağlık

  • @johngrden5180
    @johngrden5180 Před 2 lety +1

    Help me. The Relay is divided. In your description . The relay has North and South terminals. I see a positive wire going from North to South or NO to NCl Then when the motor is reversed the red positive crosses from North to South or Common to NC. Is this wire soldered to the terminals permanently? The relay does not swiwtch North to South on its own, does it? I'm not the most solidly connected terminal on the bread board and need your help.
    John
    Baytown, Texas

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Make sure you look at the corrected diagram here
      I have a corrected PNG image you can download here
      el34world.com/Misc/misc/Blast...

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      The relay coil switches the contacts back and forth like you see in the corrected diagram

  • @the30kchannel
    @the30kchannel Před 2 lety +1

    Hi. Great video, thank you for filming and uploading it.
    I’m trying to recreate the circuit in this video but unfortunately I’m struggling to get the same result. Are you able to help me please?
    Thanks
    David .

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Take a look at this diagram without the relay contacts engaged. Follow this diagram
      Here is the wiring hookup diagram without the relay contacts
      el34world.com/Misc/misc/DcMotorHookup.png

  • @crafts4mecrafter763
    @crafts4mecrafter763 Před 2 lety +1

    for a major display of construction i want my crane to lift up hit the tope and reverse and go down hit the bottom and go back up and again and again till timer shuts it off

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Sorry, that is more complicated and you would have to use something like an Arduino to control that. I don't have anything to show you how to do that.

  • @crafts4mecrafter763
    @crafts4mecrafter763 Před 2 lety +1

    thaks. thats perfect. how can this be wired to go one way, hit a limit switch and then reverse automatically

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Did you watch the video? That's exactly what is happening in the video.

  • @crafts4mecrafter763
    @crafts4mecrafter763 Před 2 lety +1

    cxan i use the same 12v power source i am using to power the motor?

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      If the motor is a 12 volt motor and the relay coil is a 12volt coil, you could use the same power source. As long as it was rated higher than what the motor pulls. Coils don't use much current.
      So if the motor pulls 500ma while running, I would use a power source that was at least rated for 1 amp.

  • @Adventuremacro
    @Adventuremacro Před rokem +1

    First of all, thanks for the great video. For this circuit, how do you handle will the back EMF from the motor? I assume a flyback diode would work for the relay coil, but am having trouble seeing how to implement a elegant solution for the motor.

    • @EL34XYZ
      @EL34XYZ  Před rokem +1

      Hi, yes, use a diode across the relay coil as shown on this page. You can see the band on the diode in some of the photos.
      el34world.com/projects/relay_switch.htm

    • @AztecWarrior69_69
      @AztecWarrior69_69 Před rokem

      You don't. Not with this setup. In order for you to do that you will need 2 SPDT relays. OR an expensive ready made Board. Can't for the life of me remember the name of those boards. They use Zener Diodes and capacitors. I say expensive because comparing the cost to just using two SPDT relays why would you.

    • @EL34XYZ
      @EL34XYZ  Před 8 měsíci

      You use a common diode across the coils of relays.

    • @ronhurtt4412
      @ronhurtt4412 Před 8 měsíci

      This video was Exactly what I was looking for - THANK YOU! Just to double check, you would not put the diode in parallel at the motor, but at the relay coil, correct? And I assume you would do this to handle any kickback from both the motor and the relay coil with just the single diode? If not, would you then need a diode at the relay coil AND at the motor? Thank you again!@@EL34XYZ

    • @EL34XYZ
      @EL34XYZ  Před 8 měsíci

      Great!

  • @tarekchbeir8299
    @tarekchbeir8299 Před 2 lety +1

    Thank you for the instructions. So if I want the motor to constantly shuttle back and forth between the 2 limit switches on its own, should the relay be a latching relay? What other changes from this diagram? Eliminate the manual switch and have a constant connection instead? Thanks in advance!

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Maybe use an Arduino to cycle the spst switch back an forth using a spst relay instead?

    • @tarekchbeir8299
      @tarekchbeir8299 Před 2 lety

      @@EL34XYZ Thanks but I'm just totally ignorant in Arduino. May be I should just put the extra effort for it. I just was hoping a simple way with relays and switches

    • @tarekchbeir8299
      @tarekchbeir8299 Před 2 lety

      Just to clarify, in my project, the load of the motor varies in both direction, and therefore speed is affected. But once distance is reached, a limit switch must reverse the motion, until it reaches initial position (distance) where a limit switch would reverse the motion again, and so on so forth. Shuttling between the 2 positions (limit switches). Thanks again.

  • @alphadefenseindustries
    @alphadefenseindustries Před 2 lety +1

    How can a time delay be mechanically triggered for one direction and when motor meets the final point of direction stop at its original starting point (1 revolution) and reset for the time delay to be triggered again?

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      You would need to get into Arduino's to do something like that.

  • @howze2ID
    @howze2ID Před 8 měsíci +1

    Is it ok to power up the relay coil for a long time

    • @EL34XYZ
      @EL34XYZ  Před 8 měsíci +1

      Sure, as long as the voltage is correct.

  • @crafts4mecrafter763
    @crafts4mecrafter763 Před 2 lety +1

    i wtched and learned but wasnt sure i could do what i want

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      You man go back and forth all the time without stopping?

  • @chrispearce9224
    @chrispearce9224 Před 4 lety +4

    Great video. You spent a lot of time drawing up the diagrams. Very nice explanation. I do have a question though.
    Suppose I use a momentary push button for the SPST switch. Would I need to add a latching relay into the circuit? Overall I want to push a button, an arm swings to a certain point, the motor switches direction back to a starting point. Kind of like those carnival games with an arm that sweeps from a starting point out to the edge of a plate, and then retracts to it's start point.
    czcams.com/video/U3Df578aV4Q/video.html

    • @EL34XYZ
      @EL34XYZ  Před 4 lety +1

      A momentary SPST switch should work the same. The device being controlled would go all the way to one limit switch when the switch button is pressed. Then when you let go of the switch button, it would return back to the other limit switch

  • @mattsmith3716
    @mattsmith3716 Před 2 lety +1

    Could you do a video like this but with only one limit switch on the reverse side?

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      Hi Matt. Not sure I understand your question? Explain what the limit switch is supposed to do?

    • @mattsmith3716
      @mattsmith3716 Před 2 lety +1

      @@EL34XYZ I have a shear machine with a back gauge plate that moves forwards and backwards... Sometimes the operators move the back gauge plate too far and it's gets stuck, so I'll have to manually release the motor re align it. I just want a limit switch so when the back gauge reaches a certain point, it'll stop the motor from going to far.

    • @EL34XYZ
      @EL34XYZ  Před 2 lety +1

      @@mattsmith3716 Can you just set up a manual stop rod or some other physical stop?
      That would be like the stop I have on my lathe so the tool post cannot ram into the chuck.
      If not you could probably just set up a limit switch. The limit switch could close the contacts on a relay. The relay controls whatever electrical device you are trying to stop.
      For example, the power for a motor has to go through the relay contacts in order to run. If the limit switch is tripped, it opens the relay contacts and stops the motor.
      You have to use a relay that can handle the power of the motor.
      The coil of the relay is what the limit switch controls.

  • @crafts4mecrafter763
    @crafts4mecrafter763 Před 2 lety +1

    hi sorry this is new for me. what powers the relay?

    • @EL34XYZ
      @EL34XYZ  Před 2 lety

      You power the relay with what ever voltage the coil is rated at. If it is a 12volt relay coil you would use a 12volt power source. Wall warts work fine for this.

  • @pierre3036
    @pierre3036 Před 3 lety +1

    With regards to the Relay Coil. You said both sides are unrelated yet you've drawn but don't talk about the diagonal RED line which changes when the SPST switch is thrown. You don't mention 'how' or why this 'internal' connection is accomplished. Sorry, I am a newbie, I do understand this simple circuit but don't get how this diagonal line can change within the relay when the switch is thrown? Is there an 'internal' switch within the relay? Please excuse my ignorance. I've been wondering about how to do this for years. Thanks very much for the video and if you can clear up what I'm not getting it would be appreciated.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      The coil is just a magnet that flips the black and red horizontal switch contacts back and forth.
      You would have to go look at how relays are made internally.
      The red diagonal line does not move. You can draw it staying on the right side relay lug as it shows in the top row and it is still the same connection.
      Draw the diagonal line on the bottom row going to the same lug as the top row and follow the connection and you will see that nothing changes.

    • @pierre3036
      @pierre3036 Před 3 lety +1

      @@EL34XYZ You're right, I'll have to learn more about these type of relays. Thanks for your help.

    • @rok1475
      @rok1475 Před 3 lety

      The cross-connect (diagonal red line) is drawn incorrectly in the bottom row.
      Redraw it and the circuit will work as intended.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety +2

      Download a corrected PNG image here.
      The bottom row images in my video had the red cross wire drawn incorrectly.
      el34world.com/Misc/misc/BlastGates.png

    • @rok1475
      @rok1475 Před 3 lety

      @@EL34XYZ you may want to post a sentence in the description about the small mistake in the diagram shown in the video and refer to the correct diagram in the file.
      Aside from that one small hiccup this is useful info for many people.

  • @kludgemechanic
    @kludgemechanic Před 3 lety +1

    Hello! Great video. I am needing a similar circuit but I never want the motor to stop. When it hits either of the limit switches I need the motor to reverse immediately each time. I feel like a small change to this circuit could give me what I need but I can't figure out what the change would be.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      It's been a long time since I messed with this circuit. Looking at my diagram, it looks like you would have to somehow power the relay coil off and on. Probably could do that with a relay that has more contacts. I don't know off hand.

    • @tonyt8807
      @tonyt8807 Před 3 lety +1

      Dustin, Did you ever figure out the circuit for motor reverse/forward rotation? I'm looking for the same type of circuit.

    • @EL34XYZ
      @EL34XYZ  Před 3 lety

      Download a corrected PNG image here.
      The bottom row images in my video had the red cross wire drawn incorrectly.
      el34world.com/Misc/misc/BlastGates.png

    • @Kevin-gz7th
      @Kevin-gz7th Před 2 lety

      Great Question Dustin, would you let me know if you have this figured out? I want to do the same for a Design project, Thanks

    • @AztecWarrior69_69
      @AztecWarrior69_69 Před rokem

      @@Kevin-gz7th All you need is a Triple Pole Double Throw relay instead of the DPDT.

  • @MrAdy1306
    @MrAdy1306 Před 8 měsíci

    Can anyone please tell me the relay part number?

    • @EL34XYZ
      @EL34XYZ  Před 8 měsíci +1

      There is no specific part number. It would all depend on the motor and how much power you need to control.