You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2024. It is now read-only.
Docker container that keeps the CPU temperature at desired level with PWM enabled fan based on [http://www.sensorsiot.org/variable-speed-cooling-fan-for-raspberry-pi-using-pwm-video138/](http://www.sensorsiot.org/variable-speed-cooling-fan-for-raspberry-pi-using-pwm-video138/)
4
4
5
5
## Docker-compose
@@ -25,15 +25,15 @@ services:
25
25
### Environmental variables
26
26
Bellow are all available variables
27
27
28
-
| Variable | Description | Default value |
28
+
| Variable | Description | Default value | Units |
29
29
| --- | --- | :---:|
30
-
| `DESIRED_TEMP` | Temperature it tries to keep it at *(°C)* | 40 |
31
-
| `FAN_PIN` | PWM pin where is mosfet driver or load-switch connected to | 13 |
32
-
| `FAN_PWM_MIN` | Minimal duty cycle to turn the fan on *(%)* | 20 |
33
-
| `FAN_PWM_MAX` | Maximal duty cycle of fan *(%)* | 100 |
34
-
| `FAN_PWM_FREQ` | Broker address *(Hz)* | 17 |
35
-
| `P_TEMP` | Proportional constant | 18.0 |
36
-
| `I_TEMP` | Integral constant | 0.3 |
37
-
| `READ_INTERVAL` | How often read the temperature *(seconds)* | 2 |
30
+
| `DESIRED_TEMP` | Temperature it tries to keep it at | 40 | °C |
31
+
| `FAN_PIN` | PWM pin where is mosfet driver or load-switch connected to | 13 | |
32
+
| `FAN_PWM_MIN` | Minimal duty cycle to turn the fan on | 20 | % |
33
+
| `FAN_PWM_MAX` | Maximal duty cycle of fan | 100 | % |
34
+
| `FAN_PWM_FREQ` | Broker address | 17 | Hz |
35
+
| `P_TEMP` | Proportional constant | 18.0 | |
36
+
| `I_TEMP` | Integral constant | 0.3 | |
37
+
| `READ_INTERVAL` | How often read the temperature | 2 | seconds |
0 commit comments