| Electronics > Projects, Designs, and Technical Stuff |
| Question on reversing polarity for DC Motors |
| (1/3) > >> |
| gammzy98:
I was wondering if anyone can help me with this situation. I have a 12V DC Motor. It will be powered by a 12V power supply, no batteries involved. It will be hooked up to a switch. The function I want to achieve is as follows: When the switch is flipped one way, the motor spins clockwise for "X" amount of seconds, then stops. X being a defined number that can be programmed or controlled. When the switch is flipped the other way, the motor spins counterclockwise for "X" amount of seconds, then stops. X being a defined number that can be programmed or controlled. What would be the easiest way to accomplish this function? Preferably off the shelf components that you can buy, but I am open to ideas. Here is the link to the motor: https://www.ebay.com/itm/500-RPM-Hobby-Project-12-V-DC-Gearhead-Motor-High-Torque-6mm-D-Type-Shaft/283249435191?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 Any help with this in the right direction would be greatly appreciated. Thank you. |
| MasterT:
Arduino UNO + H-Bridge Motor driver shield. Look on-line tutorial, basic functionality you can get in a few hours. |
| gammzy98:
--- Quote from: MasterT on January 23, 2019, 06:41:36 pm ---Arduino UNO + H-Bridge Motor driver shield. Look on-line tutorial, basic functionality you can get in a few hours. --- End quote --- Hey! Thanks so much for the reply! I will definitely look into this. I am just curious why this method specifically? Is this the most efficient and basic way to achieve what I am looking to do? So Arduino is the way to go? |
| coromonadalix:
you have some cheap timed relays boards on ebay with trigger pins etc, many models and modes to choose, you define/programm your needed timings ?? |
| MasterT:
--- Quote from: gammzy98 on January 23, 2019, 11:11:06 pm --- --- Quote from: MasterT on January 23, 2019, 06:41:36 pm ---Arduino UNO + H-Bridge Motor driver shield. Look on-line tutorial, basic functionality you can get in a few hours. --- End quote --- Hey! Thanks so much for the reply! I will definitely look into this. I am just curious why this method specifically? Is this the most efficient and basic way to achieve what I am looking to do? So Arduino is the way to go? --- End quote --- I think so. The alternative is to do some circuitry using logic IC or 555, but it would not be less pricey or less time consuming. With arduino you can add extensive functionality latter on, like soft start-up, RPM control etc. |
| Navigation |
| Message Index |
| Next page |