Here's my thing. I have two pots(R1 and R2) and an electric motor.
I need to make it so that when R1 > R2, the motor turns on in one direction (CW) and when R1 < R2, the motor turns the other direction. But, once R1=R2, the motor stops.
I don't want to involve a microcontroler/PIC, or (god-forbid) an arduino in something this simple. I'm guessing this can be done with literally a handful of discrete components on a breadboard, I just can't figure out the circuit.
The motors are also slow enough that speed control won't be a problem. De-bouncing on the other hand, so it doesn't keep alternating to just too much to too little ad nauseum would be nice too...
I'm using this to control a bed. Currently, it has 4 buttons, up/down for the head and up/down for the feet. I want to replace them with two knobs and place pots on the joints. That way, I'll set the angle and it will adjust automatically without having me hold the button until it's in the right spot.
I need to make it so that when R1 > R2, the motor turns on in one direction (CW) and when R1 < R2, the motor turns the other direction. But, once R1=R2, the motor stops.
I don't want to involve a microcontroler/PIC, or (god-forbid) an arduino in something this simple. I'm guessing this can be done with literally a handful of discrete components on a breadboard, I just can't figure out the circuit.
The motors are also slow enough that speed control won't be a problem. De-bouncing on the other hand, so it doesn't keep alternating to just too much to too little ad nauseum would be nice too...
I'm using this to control a bed. Currently, it has 4 buttons, up/down for the head and up/down for the feet. I want to replace them with two knobs and place pots on the joints. That way, I'll set the angle and it will adjust automatically without having me hold the button until it's in the right spot.