Reads the analog temperature sensor every 100 ms. Converts analog value to temperature (°C). Stores it in a shared variable currentTemp protected by a mutex. alarmTask Checks the current temperature ...
I made this project because I wanted a way to automatically control the speed of a DC fan according to the temperature read by a LM35 sensor. I had a few problems with the PWM part mainly because the ...