Dc motor or servo help

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
So im trying to use a 9v dc motor to run something im working on which needs to go forward and backwards at a low speed. Ive figured out how to lower the Vout now im trying to get the motor to go forward then stop then backward using a switch of some kind. Any ideas?
Thanks
 

MaxHeadRoom

Joined Jul 18, 2013
30,662
Any kind of limit switch, hall effect, proximity sw, reed switch, what is the current of the motor?
Do you need the switch to auto-reverse? Or return and stop or continue oscillating between extremes?
What kind of mechanism?
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
Any kind of limit switch, hall effect, proximity sw, reed switch, what is the current of the motor?
Do you need the switch to auto-reverse? Or return and stop or continue oscillating between extremes?
What kind of mechanism?
Max.

So the current Vout is about 1.3v. Very slow. Im building this thing to basically rise up to a certain height and im thinking a small tact switch to stop the motor when it reaches that height. Then ill need to have that reverse and go back down using the main switch.
 

MaxHeadRoom

Joined Jul 18, 2013
30,662
That is still very vague, 1.3v but what current?
Will the reverse be automatic?
Will it stop and wait for another initiate on the return stroke?
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
That is still very vague, 1.3v but what current?
Will the reverse be automatic?
Will it stop and wait for another initiate on the return stroke?
Max.
Sorry im no expert here. Im just trying to learn more about this. So i need the motor to raise up by flipping an exterior switch which will then raise until it hits the cut off point which i think i can use a tact switch for. It will stay in that position until the exterior switch is activated again and im trying to figure that out. Ive figured out how to engage the motor to make this unit rise and then stop but im having trouble figuring it out to make it return from that stopped position and lower back down. The value of the current im unsure of i just used a few resistors and a voltage regulator to take it from 12v in to about 1.3v out to the dc motor.
 

MaxHeadRoom

Joined Jul 18, 2013
30,662
Resistor method has quite a few draw back, you can buy a 555 base PWM off ebay for <$5.00.
You will need limits and a couple of relays, I am assuming that it raises and stops, and waits for the manual P.B. again for return?
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
Resistor method has quite a few draw back, you can buy a 555 base PWM off ebay for <$5.00.
You will need limits and a couple of relays, I am assuming that it raises and stops, and waits for the manual P.B. again for return?
Max.
What does the 555 base PMW require? And what kind of limits? And im sorry but P.B.? Do you mean push button?
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23

MaxHeadRoom

Joined Jul 18, 2013
30,662
The PWM just gives you efficient use of the motor/supply.
You haven't really given any concrete details so far, so it's all guess work!!
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
The PWM just gives you efficient use of the motor/supply.
You haven't really given any concrete details so far, so it's all guess work!!
Max.
Okay so let me try this again. I have a 12v dc adapter that will supply power to my motors which will raise and lower this thing im trying to build. I want a switch that will initiate the motor and make the small unit raise up until it hits the desired spot. Then i want to be able to hit the switch again to make the unit lower back down to a stationary position. I have capacitors and resistors to slower the speed of the motor as i don't need it going fast and dont need them operating very fast or continuous. Just need them to make the unit raise then stop and remain up then when i want it to go back down i want to just hit the switch again.
 

MaxHeadRoom

Joined Jul 18, 2013
30,662
Okay so let me try this again. I have a 12v dc adapter that will supply power to my motors which will raise and lower this thing im trying to build. I want a switch that will initiate the motor and make the small unit raise up until it hits the desired spot. .
Depends how you want to go, simple will mean not is much done automatically so needs manual intervention.
I have a flip-flop circuit that uses one P.B. and 3 relays and a couple of diodes and a capacitor.
If the motor is at the top and you lose power, it will cycle back to start when power is restored.
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
Depends how you want to go, simple will mean not is much done automatically so needs manual intervention.
I have a flip-flop circuit that uses one P.B. and 3 relays and a couple of diodes and a capacitor.
If the motor is at the top and you lose power, it will cycle back to start when
power is restored.
Max.
What is a flip flop circuit?
 

philba

Joined Aug 17, 2017
959
PWM is just a way of driving the motor. Varying the voltage is not as "good" but can work. I know this circuit will offend some purists but it will work and only requires a DPDT switch and 2 "lever microswitches" with NO/NC. Flip SW1 up and the motor will turn one direction until it hits one of the microswitches which turns off the power. Flip SW1 the other way and the motor will run the other direction until it hits the other microswitch and shuts off the power. Then, you can replace the battery with an adjustable voltage regulator to control the motor speed. I'd get 2 microswitches like the kind with a roller on the lever.

edit, see later post for correct schematic. sigh.
 
Last edited:

MaxHeadRoom

Joined Jul 18, 2013
30,662
What is a flip flop circuit?
In this case it is a circuit that enables simple single push button action for both up or down using small relays..
Just that like any circuit that is semi-automatic, it requires a little more than just a simple change over switch.
With the 'simple' circut using a change over switch two conductors can be eliminated by using diodes across the limit switches.
Max.
 

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
PWM is just a way of driving the motor. Varying the voltage is not as "good" but can work. I know this circuit will offend some purists but it will work and only requires a DPDT switch and 2 "lever microswitches" with NO/NC. Flip SW1 up and the motor will turn one direction until it hits one of the microswitches which turns off the power. Flip SW1 the other way and the motor will run the other direction until it hits the other microswitch and shuts off the power. Then, you can replace the battery with an adjustable voltage regulator to control the motor speed. I'd get 2 microswitches like the kind with a roller on the lever.
View attachment 134081
5
thank you. Im going to try it.
 

philba

Joined Aug 17, 2017
959
Can you kind of run down the diagram please?
Not sure the best insult for the diagram....:)

Oh, crap. I guess one insult is it doesn't reverse. sigh. let me think.

edit: this one actually works.
motor.png
Basically, it's a battery reversal circuit with the DPDT switch. The 2 microswitches simply interrupt the circuit and stop the motor. flip the switch to activate the other circuit.
 
Last edited:

Thread Starter

Richieyoung85

Joined Sep 1, 2017
23
Not sure the best insult for the diagram....:)

Oh, crap. I guess one insult is it doesn't reverse. sigh. let me think.
So if i use a dpdt switch for main then add a microswitch for when the motor raises to desired spot then flip the dpdt again and it would reverse power to return back down? Sound like it would work. Ill have to tinker nwith the set up of those switches.
 
Top