I am trying to vary the speed of a DC motor WITHOUT the use of a manual potentiometer (twisting a knob).
Is a digital potentiometer the simplest way to do this? If so, does anyone have a digital potentiometers that they recommend for a beginner? If there is an easier way to do this, can you please advise?
My ultimate goal is to vary the speed of the motor based on the quantity of light in a room (using a photoresistor).