Regulator with ATMEGA16
Posted: Mon Jun 28, 2010 10:46 pm
Hello,
I have a PID regulator with ATMEGA16 with two inputs: a bulb and a cpu fan. I must control them using PWM. I understand what PWM means, but i don't understand how to make space factor (pulse duty factor) to be variable, because I setonce the register OCR1A and then I don't increment it neither decrement. Temperature should be between two level a superior one and an inferior, and should have a rise with a proportional. Thank you.
I have a PID regulator with ATMEGA16 with two inputs: a bulb and a cpu fan. I must control them using PWM. I understand what PWM means, but i don't understand how to make space factor (pulse duty factor) to be variable, because I setonce the register OCR1A and then I don't increment it neither decrement. Temperature should be between two level a superior one and an inferior, and should have a rise with a proportional. Thank you.