greencardigan
Senior Member
Hello,
I have a triac phase controller circuit where I have replaced the control potentiometer with a 500K light dependent resistor coupled to a LED in a sealed tube.
I am PWMing the led to change the LDRs resistance and the universal motor's speed.
The problem is a linear change in the PWM duty cycle doesn't result in a linear change in the motor speed. I assume the sine wave, LDR and LED are all contributing to the problem.
I've experimented with some code to make linear motor speed changes with linear duty cycle changes but only had limited success.
What to do? Some sort of lookup table?
I have a triac phase controller circuit where I have replaced the control potentiometer with a 500K light dependent resistor coupled to a LED in a sealed tube.
I am PWMing the led to change the LDRs resistance and the universal motor's speed.
The problem is a linear change in the PWM duty cycle doesn't result in a linear change in the motor speed. I assume the sine wave, LDR and LED are all contributing to the problem.
I've experimented with some code to make linear motor speed changes with linear duty cycle changes but only had limited success.
What to do? Some sort of lookup table?