Coder Social home page Coder Social logo

argonfand's Introduction

ArgonOne Fan Service

Requirements

  • Create: /etc/modules-load.d/raspi-conf.conf

    and fill it with i2c-dev

  • Add to /boot/config.txt

    must contain

    dtparam=i2c_arm=on
    dtparam=i2s=on
    

    Example:

    enable_gic=1
    dtparam=i2c_arm=on
    dtoverlay=vc4-kms-v3d,i2c-rtc,ds1307,pcf85063
    initramfs initramfs-linux.img followkernel
    enable_uart=1
    

Raspberry PI must be fully restarted after this so i2c module will be loaded.

Run

ArgonOne case for Raspberry Pi 4B fan service.

./build.sh
sudo argonfand -g # generate default config, depends on case location it should be adjusted
sudo argonfand -f 100 # enforce max speed and exit
sudo argonfand # start service

ArgonOne case fan is quite noisy so for your own comfort it should never be exposed to direct light and settings should set speed to 0 if temperature is below 55.

Service

systemctl status argonfand.service
systemctl start argonfand.service
systemctl enable argonfand.service

Config

Config file must exists before starting application and is located:

/etc/argonfand.toml

Format:

verbose = false
delay = 1000

[[values]]
temp = 45
speed = 0

[[values]]
temp = 54
speed = 10

[[values]]
temp = 55
speed = 50

[[values]]
temp = 65
speed = 80

[[values]]
temp = 80
speed = 100

argonfand's People

Contributors

eraden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.