Bryan Mayland
TVWBB Hall of Fame
Has anyone noticed that while an alarm is ringing, the fan ceases to function properly? Well it does! I noticed this today when adding the ability to control a damper servo instead of a fan.
Technical details: the Arduino tone code that rings the alarm always uses TIMER2 regardless of which pin the alarm is connected to, instead of the hardware PWM. It changes the mode of the hardware PWM that coincidentally runs the fan. Dangit, I was going to fiddle with that hardware PWM!
So a warning: don't let your alarm go off unattended or you will certainly lose control of the pit temperature. When it stops beeping, things go back to normal control.
This will be fixed in the next version... I think.
Technical details: the Arduino tone code that rings the alarm always uses TIMER2 regardless of which pin the alarm is connected to, instead of the hardware PWM. It changes the mode of the hardware PWM that coincidentally runs the fan. Dangit, I was going to fiddle with that hardware PWM!
So a warning: don't let your alarm go off unattended or you will certainly lose control of the pit temperature. When it stops beeping, things go back to normal control.
This will be fixed in the next version... I think.