I am working on a circuit to control a DC motor from a microcontroller. The motor needs to have 5 distinct speed settings that are manually set from 5 potentiometers. The microcontroller will be used to select from those 5 different speeds (over it's ethernet connection).
I have a PWM motor controller that works great on it's own. However this motor controller has just one pot used for setting the motor speed. I would like to modify the motor controller circuit to have 5 pots, and use the microcontroller to select which pot is active in the circuit.
see the original motor controller circuit diagram at http://www.skot9000.com/proj/fountain/pwmcircuit.jpg
I am using an input voltage of 12VDC to the circuit. The pot of interest in the diagram is labeled "VR 10K" and it's just left of center connected to the non-inverting op-amp terminal.
I am thinking I should use transistors as switches, possibly between R12 and "VR 10K" but I can't quite wrap my head around how it will work, and what the effect of not having any of the transistors switched on would be on the op-amp.
anyone have any thoughts?
thanks!!
-skot
I have a PWM motor controller that works great on it's own. However this motor controller has just one pot used for setting the motor speed. I would like to modify the motor controller circuit to have 5 pots, and use the microcontroller to select which pot is active in the circuit.
see the original motor controller circuit diagram at http://www.skot9000.com/proj/fountain/pwmcircuit.jpg
I am using an input voltage of 12VDC to the circuit. The pot of interest in the diagram is labeled "VR 10K" and it's just left of center connected to the non-inverting op-amp terminal.
I am thinking I should use transistors as switches, possibly between R12 and "VR 10K" but I can't quite wrap my head around how it will work, and what the effect of not having any of the transistors switched on would be on the op-amp.
anyone have any thoughts?
thanks!!
-skot