DC Motor Reversing with Limit Switches
HTML-код
- Опубликовано: 10 сен 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/...
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.
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
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.
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
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.
I don't know what a moon tower is, but it sounds like a cool project.
Thanks a lot... Very usefull and too few components... Also very well explained... And the correction diagram provided was so usefull... Gettings from Colombia
You are most welcome.
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?)
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
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.
Good luck with your project
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
Please Sir , Make a practical video... it will be very needful for my project.
Lots of love from India...
Please make a video
Sorry, I don't have any more info for you.
İşe yara bilgiler emeğinize sağlık
Thanks
how can i apply this toa eletrical drawimg circuit ?
Sorry, I don't know what you are asking?
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
Make sure you look at the corrected diagram here
I have a corrected PNG image you can download here
el34world.com/Misc/misc/Blast...
The relay coil switches the contacts back and forth like you see in the corrected diagram
cxan i use the same 12v power source i am using to power the motor?
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.
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?
You would need to get into Arduino's to do something like that.
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
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.
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.
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.
@@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.
@@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.
thaks. thats perfect. how can this be wired to go one way, hit a limit switch and then reverse automatically
Did you watch the video? That's exactly what is happening in the video.
Is it ok to power up the relay coil for a long time
Sure, as long as the voltage is correct.
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 .
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
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!
Maybe use an Arduino to cycle the spst switch back an forth using a spst relay instead?
@@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
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.
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.
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
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.
You use a common diode across the coils of relays.
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
Great!
i wtched and learned but wasnt sure i could do what i want
You man go back and forth all the time without stopping?
hi sorry this is new for me. what powers the relay?
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.
Could you do a video like this but with only one limit switch on the reverse side?
Hi Matt. Not sure I understand your question? Explain what the limit switch is supposed to do?
@@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.
@@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.
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.
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.
@@EL34XYZ You're right, I'll have to learn more about these type of relays. Thanks for your help.
The cross-connect (diagonal red line) is drawn incorrectly in the bottom row.
Redraw it and the circuit will work as intended.
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
@@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.
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.
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.
Dustin, Did you ever figure out the circuit for motor reverse/forward rotation? I'm looking for the same type of circuit.
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
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
@@Kevin-gz7th All you need is a Triple Pole Double Throw relay instead of the DPDT.
Can anyone please tell me the relay part number?
There is no specific part number. It would all depend on the motor and how much power you need to control.
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.
ruclips.net/video/U3Df578aV4Q/видео.html
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