The NEW Build Your Own Arcade Controls

Software Support => Automated Projects => Topic started by: loonytu on January 25, 2016, 11:57:38 pm

Title: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: loonytu on January 25, 2016, 11:57:38 pm
I have been trying to find a tutorial, but have not been able.  the dc motor goes forward, hits the micro switch and turns off.  Flip the DPDT switch, the motor turns on and goes in reverse, hits another micro switch and turns off again.  not sure how todo it
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: PL1 on January 26, 2016, 02:02:59 am
This diagram uses the Common (COM) and Normally Closed (NC) tabs on the limit switches.

When a limit switch is not pressed, it is in the green position -- connection between COM and NC.

When a limit switch is pressed, it is in the red position -- no connection between COM and NC.

It also uses a Double Pole Double Throw (DPDT) switch.

The dashed line between the poles (blue) indicates that they are linked mechanically, but not electrically -- both will be in the middle (shown below), both will be up, or both will be down.

A black dot indicates that wires are connected and no black dot indicates that the wires are not connected.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=132881.0;attach=296500;image)

If the DPDT switch is placed in the "Up" position, current flows from your power supply "-" (electrons have a negative charge so current flows from - to +), in through the "-" tab of the DPDT switch and out the "Up -" tab, through the actuator, through the upper limit switch (green position), in through the "Up+" tab of the DPDT and out the "+" tab, and back to the power supply.

The actuator will go up until it presses the upper limit switch (red position) which breaks the connection and stops current from flowing through the limit switch.

With no current flow, the actuator stops.

Changing the DPDT switch to the down position allows current to flow throught "Down-", the actuator, the lower limit switch (green position) and "Down+" until the lower limit switch is pressed (red position) and the actuator stops.

If neither limit switch is pressed, the actuator can go up or down, depending on the switch position.

This diagram will work with any of these three styles of switches:
1. DPDT 2-position On-On
2. DPDT 3-position On-Off-On
3. DPDT 3-position (Momentary On)-Off-(Momentary On) -- sometimes abbreviated as "(On)-Off-(On)".

The downside to the first two options is if one of the limit switches isn't working or adjusted properly, the motor can reach the end of its range of motion and still have power applied -- eventually burning up the motor or damaging the mechanism.

With option 3, power is only applied for as long as you press the switch which provides a secondary level of protection in addition to the limit switches.   ;D

The DPDT switch tabs and attached wires will probably be physically arranged like this.

(http://ecx.images-amazon.com/images/I/51Z1PrdZi3L._SL1100_.jpg)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=132881.0;attach=296498;image)

When in doubt, use your ohmmeter to verify which tabs are/are not connected when the switch is in each position.


Scott
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: loonytu on January 26, 2016, 07:48:17 am
Thanks for your help I will try to figure it out
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: DaOld Man on January 26, 2016, 10:30:22 am
Hello Loonytu.
Check out this thread:

http://forum.arcadecontrols.com/index.php/topic,110207.0.html (http://forum.arcadecontrols.com/index.php/topic,110207.0.html)

Also feel free to ask any questions.
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: loonytu on January 27, 2016, 01:03:22 pm
this is what I have now how do I add two more for stopping
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: DaOld Man on January 27, 2016, 07:23:43 pm
You can place a microswitch that makes when the monitor has reached its travel limit. (Limit switches)
You will need two switches, one for vertical and one for horizontal.
Place the switch in the line going to the NO contact on the switches you have already using.
use the NC and Comm contacts on the limit switches.

Using your original png file, see where I have broken the wires. Insert the limit switches in these two places.

(sorry for the bad pic.)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=136713.0;attach=343400)
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: loonytu on January 27, 2016, 07:52:40 pm
thxs I will try that your pic never showed for me just a x in black box
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: DaOld Man on January 27, 2016, 09:12:09 pm
Yeah, its a cheesy pic.
Just connect the limit switches where the X's are.
Common and NC.
When the limit switch is made (or actuated), the NC contact opens, shutting off the power to the motor in that direction only.
I can draw you a better pic if you need it.
Title: Re: How to wire 2 micro switches to automatically turn off a reversible dc motor
Post by: DaOld Man on January 30, 2016, 01:14:22 pm
Sorry about the late reply. See if this pic shows, and If you understand it.


Edit: Both limit switches need to be on N.O. contact of each associated pushbutton switch.