I used the below 555 timer PWM circuit to control the speed of a dc motor, and it works like a charm 馃檪
now i have a requirement to change the PWM speed externally from another module, that module consists from a simple potentiometer, as shown below
both VCC and GND is common between the 2 modules.
so basically what i need is to find a way to make the output signal from the POT, change the speed of the PWM output, alternative to change the R100k value in the first picture, i could not make it works at all 馃檨
i also tried the VCO mode, but the result of motor speed was not reliable,
Thanks all in advance
Best Answer
The easiest way to convert a variable voltage to PWM is to feed it and a triangle/sawtooth wave into a voltage comparator.
Obviously, this means it's time to abandon the 555 implementation in favor of a new design altogether. You can get "function generator" chips that will produce the needed triangle wave more easily than you can get anything based on the 555 to do it.
Of course, the modern way to do this is to get a small MCU that has an ADC to read the signal voltage and a timer capable of generating PWM, and program it to do the job.