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
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ The controller was developed with **Armbian OS** but you should be able to run i
25
25
- 12V (.08A-.2A) generic fan (**do not** try to use more than **200mA**)
26
26
27
27
And software:
28
-
- Kernel: Linux 4.4.231-rk3399
29
-
- OS: Armbian Buster (20.08.9) stable
28
+
- Kernel: Linux 4.4.213-rk3399
29
+
- OS: Armbian Buster (21.08.8) stable
30
30
- GNU bash v5.0.3
31
31
- bc v1.07.1
32
32
@@ -80,15 +80,17 @@ Usage:
80
80
-s int The MAX SIZE of the TEMPERATURE ARRAY. Interval between data points is set by -l. Default (store last 1min data): 6.
81
81
-t int Lowest TEMPERATURE threshold (in Celsius). Lower temps set the fan speed to min. Default: 25
82
82
-T int Highest TEMPERATURE threshold (in Celsius). Higher temps set the fan speed to max. Default: 75
83
+
-u int Fan-off TEMPERATURE threshold (in Celsius). Shuts off fan under the specified temperature. Default: 0
84
+
-U int Fan-on TEMPERATURE threshold (in Celsius). Turn on fan control above the specified temperature. Default: 1
83
85
84
86
If no options are provided, the script will run with default values.
85
87
Defaults have been tested and optimized for the following hardware:
86
88
- NanoPi-M4 v2
87
89
- M4 SATA hat
88
90
- Fan 12V (.08A and .2A)
89
91
And software:
90
-
- Kernel: Linux 4.4.231-rk3399
91
-
- OS: Armbian Buster (20.08.9) stable
92
+
- Kernel: Linux 4.4.213-rk3399
93
+
- OS: Armbian Buster (21.08.8) stable
92
94
- GNU bash v5.0.3
93
95
- bc v1.07.1
94
96
@@ -121,6 +123,11 @@ This is free. There is NO WARRANTY. Use at your own risk.
121
123
./pwm-fan.sh -F 10
122
124
```
123
125
126
+
- When using args `-u` and `-U` (introduced by [@araynard](https://github.com/araynard) via [#7](https://github.com/cgomesu/nanopim4-satahat-fan/pull/7)), it is recommended to leave a difference of at least 5°C between them. In most cases, `-u` can be set to a value slightly higher than the idle temperature *with* the fan, whereas `-U` can be set to a value slightly higher than the idle temperature *without* the fan.
127
+
```
128
+
./pwm-fan.sh -u 45 -U 55
129
+
```
130
+
124
131
125
132
# Run in the background
126
133
If you're running options different than the default values, first edit the `pwm-fan.service` file to include those options into the `ExecStart=` command execution.
0 commit comments