8000 Update documentation per #7 · cgomesu/nanopim4-satahat-fan@85acbda · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Update documentation per #7
Browse files Browse the repository at this point in the history
  • Loading branch information
cgomesu committed Jan 23, 2022
1 parent 641e3c2 commit 85acbda
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ The controller was developed with **Armbian OS** but you should be able to run i
- 12V (.08A-.2A) generic fan (**do not** try to use more than **200mA**)

And software:
- Kernel: Linux 4.4.231-rk3399
- OS: Armbian Buster (20.08.9) stable
- Kernel: Linux 4.4.213-rk3399
- OS: Armbian Buster (21.08.8) stable
- GNU bash v5.0.3
- bc v1.07.1

Expand Down Expand Up @@ -80,15 +80,17 @@ Usage:
-s int The MAX SIZE of the TEMPERATURE ARRAY. Interval between data points is set by -l. Default (store last 1min data): 6.
-t int Lowest TEMPERATURE threshold (in Celsius). Lower temps set the fan speed to min. Default: 25
-T int Highest TEMPERATURE threshold (in Celsius). Higher temps set the fan speed to max. Default: 75
-u int Fan-off TEMPERATURE threshold (in Celsius). Shuts off fan under the specified temperature. Default: 0
-U int Fan-on TEMPERATURE threshold (in Celsius). Turn on fan control above the specified temperature. Default: 1
If no options are provided, the script will run with default values.
Defaults have been tested and optimized for the following hardware:
- NanoPi-M4 v2
- M4 SATA hat
- Fan 12V (.08A and .2A)
And software:
- Kernel: Linux 4.4.231-rk3399
- OS: Armbian Buster (20.08.9) stable
- Kernel: Linux 4.4.213-rk3399
- OS: Armbian Buster (21.08.8) stable
- GNU bash v5.0.3
- bc v1.07.1
Expand Down Expand Up @@ -121,6 +123,11 @@ This is free. There is NO WARRANTY. Use at your own risk.
./pwm-fan.sh -F 10
```

- 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.
```
./pwm-fan.sh -u 45 -U 55
```


# Run in the background
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.
Expand Down

0 comments on commit 85acbda

Please sign in to comment.
0