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: Reverse electric motor with arcade buttons..  (Read 13966 times)

0 Members and 1 Guest are viewing this topic.

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Reverse electric motor with arcade buttons..
« on: March 30, 2012, 11:16:24 am »
I'm trying to come up with a way I could make a controller for a hight adjustable table my father in law got.
Now he uses two crocodile clamps on a paralell-connected gel batteries (12V), and reverse polarities to lower the table.

I was thinking something like this; http://www.robotroom.com/DPDT-Bidirectional-Motor-Switch.html
Only that I want to use some of my arcade buttons laying around (perhaps some of them lighted ones).
But how would I do something like this?

Can't wrap my brain around the solution..
HALP?!

lanman31337

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 606
  • Last login:January 10, 2024, 10:36:50 am
  • set to ludacris speed!
Re: Reverse electric motor with arcade buttons..
« Reply #1 on: March 30, 2012, 12:46:56 pm »
How many amps is this device pulling?  Get yourself two 12 volt relays from auto parts store/online, ect...  I'll draw you a picture to make it easier.  Fuse it going to the battery the amp rating of the motor.  One button will go up, one will go down. Enjoy.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:June 25, 2023, 02:23:57 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Reverse electric motor with arcade buttons..
« Reply #2 on: March 30, 2012, 01:03:28 pm »
You could also use a Double Throw Double Pole Toggle switch (radio shack has em), and just cross the terminals from one pole to the other. That effectively reverses the polarity to the motor. not arcade buttons, but it's a much easier hookup.

Keep in mind though that you may also want to put some limit switches in place, unless the motor/linear actuator already has them. Otherwise, you could burn out the motor or break things.

yaksplat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 13, 2021, 03:50:10 pm
    • Random Projects
Re: Reverse electric motor with arcade buttons..
« Reply #3 on: March 30, 2012, 01:30:37 pm »
+1 on the limit switches.  I built something similar for my mechanical engineering sensior design project.
Check out my current 3 machine build:
http://yaksplat.wordpress.com

Custom Control Panels: http://forum.arcadecontrols.com/index.php?topic=121245

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Re: Reverse electric motor with arcade buttons..
« Reply #4 on: March 30, 2012, 01:36:10 pm »
You could also use a Double Throw Double Pole Toggle switch (radio shack has em), and just cross the terminals from one pole to the other. That effectively reverses the polarity to the motor. not arcade buttons, but it's a much easier hookup.

Keep in mind though that you may also want to put some limit switches in place, unless the motor/linear actuator already has them. Otherwise, you could burn out the motor or break things.
The link provided uses DTDP switches, thats easy and cool and all. But not arcade buttons  :-\
Also, we don't have radio shack in Norway. We do have similar stores, but none of them stock DTDP switches (atleast when checking online).
I think the actuator has limit switches, or else I would have to install those.
Thanks!

How many amps is this device pulling?  Get yourself two 12 volt relays from auto parts store/online, ect...  I'll draw you a picture to make it easier.  Fuse it going to the battery the amp rating of the motor.  One button will go up, one will go down. Enjoy.
PICTURE
About the amp, i haven't measured. The relay switches is a good way to go, thanks a lot!
Also, you have 500 posts! The proof

lanman31337

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 606
  • Last login:January 10, 2024, 10:36:50 am
  • set to ludacris speed!
Re: Reverse electric motor with arcade buttons..
« Reply #5 on: March 30, 2012, 03:08:37 pm »
Whooohooo 500!!!!  The relays are going to be an inexpensive way to do your project.  If it's not high amperage, you could use a computer power supply to feed your 12 volt power.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #6 on: March 30, 2012, 05:40:38 pm »
If (and this is a big IF), the motor current is low enough that your arcade style pushbutton limit switches can safely power it, you can use this very simple method.
This method also supplies dynamic braking.


DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #7 on: March 30, 2012, 05:53:14 pm »
Need to add max travel up and down limits? (Still limits need to be able to handle the motor current).
You loose dynamic braking when the limits cut the motor off.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #8 on: March 30, 2012, 05:54:00 pm »
Need lamps to come on (IE lighted pushbuttons)when a button is pressed?

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: Reverse electric motor with arcade buttons..
« Reply #9 on: March 30, 2012, 05:55:05 pm »
Don't the +/- terminals need to be switched on one of the push buttons?  Currently, it appears that the two buttons will do the same thing.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #10 on: March 30, 2012, 05:56:35 pm »
Need lamps to come on when the end of travel limit is made?

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #11 on: March 30, 2012, 05:57:25 pm »
Don't the +/- terminals need to be switched on one of the push buttons?  Currently, it appears that the two buttons will do the same thing.

No. Look at it again.

Nephasth

  • Guest
  • Trade Count: (0)
Re: Reverse electric motor with arcade buttons..
« Reply #12 on: March 30, 2012, 06:00:07 pm »
Don't the +/- terminals need to be switched on one of the push buttons?  Currently, it appears that the two buttons will do the same thing.

Nope. When neither button is pressed, you'll have voltage at both motor terminals with no path to ground to complete the circuit. When one of the buttons is pressed it grounds its respective motor terminal completing the circuit causing the motor to spin one way, pressing the other button does the same for the opposite motor terminal causing it to spin the other way. When one of the limit switches is hit, it opens the path to ground, stopping the motor.

Afterburner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 164
  • Last login:July 27, 2016, 01:02:00 am
Re: Reverse electric motor with arcade buttons..
« Reply #13 on: March 30, 2012, 08:46:31 pm »
I'd personally take a simpler approach...this assumes the amperage of the motor isn't too high for the buttons....

Rig up two buttons....one for up and one for down.  Label them as such.  Keep them as momentary pushbuttons, meaning he'll have to hole the button down for the table to move.  That gets rid of the need for limit switches and is safer than having it run automatically in case something get caught in it.
  2-player upright dual trackball / dual 8-way rotary joysticks - built from scratch

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #14 on: March 30, 2012, 08:53:34 pm »
My circuit above is using arcade style pushbuttons. (I drew the limt switches that attach to the buttons, well, I attempted to draw them anyway LOL). The buttons must be held for the full travel, if you release the button, the motor will stop.

darthpaul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 447
  • Last login:November 23, 2022, 07:34:53 pm
  • Join, It's your duty
Re: Reverse electric motor with arcade buttons..
« Reply #15 on: March 31, 2012, 12:07:27 am »
I'm doing the same thing, but I'm using a servo to push the switches, my only regret is, I should have consulted with DaOld Man first, while my wiring works, his way is a lot cleaner and simpler.
"You don't know the power of the Dark Side"
Automated Cabinet
Nintendo Pi
PiCubed

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Re: Reverse electric motor with arcade buttons..
« Reply #16 on: March 31, 2012, 01:39:26 am »
Awesome!
I'm going to check out DaOld Man's thingy here. There is something about the reversal I just can't understand right now, guess I have to do it IRL to understand.
That's how I'm wired!  ;D

Again, thanks alot!
Will post update when there is one to be posted!  ;)

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #17 on: March 31, 2012, 03:04:33 am »
I'm doing the same thing, but I'm using a servo to push the switches, my only regret is, I should have consulted with DaOld Man first, while my wiring works, his way is a lot cleaner and simpler.

Thanks Darthpaul, but you got to take into account that Ive been doing this stuff for 35 years now (They dont call me DaOld Man cause Im boring LOL (Thats another story)).
If your setup works (safely), thats 99.999% of the job.

Anyway, this drawing was done quick and you can tell, plus the limit switches and pushbuttons are not drawn like that in my world, but I did it here for clarity's sake.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Reverse electric motor with arcade buttons..
« Reply #18 on: March 31, 2012, 03:06:51 am »
Awesome!
I'm going to check out DaOld Man's thingy here. There is something about the reversal I just can't understand right now, guess I have to do it IRL to understand.
That's how I'm wired!  ;D

Again, thanks alot!
Will post update when there is one to be posted!  ;)

Thats what we are here for my friend. Good luck on your project and Im looking forward to seeing how it turns out. (Dont forget we crave pictures here!)

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Re: Reverse electric motor with arcade buttons..
« Reply #19 on: March 31, 2012, 04:33:36 am »
The table:


The motor/actuator:

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Re: Reverse electric motor with arcade buttons..
« Reply #20 on: April 15, 2012, 04:29:08 pm »

Prototype.
It does the job, does not light up tho.. Bad bulbs?

Nephasth

  • Guest
  • Trade Count: (0)
Re: Reverse electric motor with arcade buttons..
« Reply #21 on: April 15, 2012, 05:01:02 pm »
It does the job, does not light up tho.. Bad bulbs?

Doesn't look like you have them grounded (or powered?) hard to tell from the pics, but looks like you only have 1 terminal for each light wired...
« Last Edit: April 15, 2012, 05:02:53 pm by Nephasth »

dextercf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 432
  • Last login:December 10, 2022, 05:26:18 pm
  • [thisispersonal]
Re: Reverse electric motor with arcade buttons..
« Reply #22 on: April 15, 2012, 05:04:54 pm »
Haha!  ;D
Thats so true! Oh snap..