Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to wire 2 micro switches to automatically turn off a reversible dc motor  (Read 18646 times)

0 Members and 1 Guest are viewing this topic.

loonytu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:March 02, 2017, 09:40:51 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

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9500
  • Last login:Today at 07:18:17 am
  • Designated spam hunter
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.



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.





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


Scott

loonytu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:March 02, 2017, 09:40:51 pm
Thanks for your help I will try to figure it out

DaOld Man

  • Moderator
  • Trade Count: (+4)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5147
  • Last login:July 06, 2024, 01:20:33 pm
  • Wheres my coffee?
    • Skenny's Outpost
Hello Loonytu.
Check out this thread:

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

Also feel free to ask any questions.

loonytu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:March 02, 2017, 09:40:51 pm
this is what I have now how do I add two more for stopping

DaOld Man

  • Moderator
  • Trade Count: (+4)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5147
  • Last login:July 06, 2024, 01:20:33 pm
  • Wheres my coffee?
    • Skenny's Outpost
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.)


loonytu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:March 02, 2017, 09:40:51 pm
thxs I will try that your pic never showed for me just a x in black box

DaOld Man

  • Moderator
  • Trade Count: (+4)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5147
  • Last login:July 06, 2024, 01:20:33 pm
  • Wheres my coffee?
    • Skenny's Outpost
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.

DaOld Man

  • Moderator
  • Trade Count: (+4)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5147
  • Last login:July 06, 2024, 01:20:33 pm
  • Wheres my coffee?
    • Skenny's Outpost
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.
« Last Edit: January 30, 2016, 09:08:25 pm by DaOld Man »