Instead of a 50K pot can I use pwm signal to control it?
And in the loop write pwm*4 since pwm is 255 and analog is 1023?
Instead of a 50K pot can I use pwm signal to control it?
And in the loop write pwm*4 since pwm is 255 and analog is 1023?
if this is a standard audio amplifier your trying to modify then you will need to either motorize the current POT as described by Michael K above. or you could replace the POT with an equivalent digital POT and use the Arduino to control that .
the reason your approach wont work on a standard amp is because the actual audio is passing through the POT and being reduced in size by a resistor divider network consisting of the length of the pot and where the slider is. so you cant simply replace it with a PWM signal to manage the volume.
if it is not a standard amp then we would need far more details to be able to help. Make, Model of the amp, Pictures of the POT and its wireing etc.
Regards
Peter
if this is a standard audio amplifier your trying to modify then you will need to either motorize the current POT as described by Michael K above. or you could replace the POT with an equivalent digital POT and use the Arduino to control that .
the reason your approach wont work on a standard amp is because the actual audio is passing through the POT and being reduced in size by a resistor divider network consisting of the length of the pot and where the slider is. so you cant simply replace it with a PWM signal to manage the volume.
if it is not a standard amp then we would need far more details to be able to help. Make, Model of the amp, Pictures of the POT and its wireing etc.
Regards
Peter