• Stars
    star
    255
  • Rank 158,969 (Top 4 %)
  • Language
    Shell
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

port of the argon one case power button and fan script for Ubuntu 20.04 on rpi 4

Argon One installation script for Ubuntu 20.04

The Argon One requires a one-line script to be run on the Raspberry Pi using the case for the power button and fan to function correctly.

Description

The Argon One case is a solid Aluminum alloy case for the Raspberry Pi 4 that offers passive and active cooling (see https://www.argon40.com/argon-one-raspberry-pi-4-case.html).

This script has been adapted from the original installation script which is designed to work with Raspbian (Raspberry OS); the modified scripted has been developed for use with Ubuntu 20.04.

The modified script contains three changes to the original script:

  1. Switch to python3 since python2 support for GPIO has been nuked in Ubuntu 20.04.
  2. Reading the temperature cannot be done using vcgencmd, so we use the sysfs instead.
  3. Package dependencies have been adapted for Ubuntu 20.04.

Install

Feel free to review the source code of the modified script before installation.

cd /tmp/
wget https://raw.githubusercontent.com/meuter/argon-one-case-ubuntu-20.04/master/argon1.sh
chmod a+x argon1.sh
sudo ./argon1.sh

Usage

Upon installation of the Argon One Pi 4 script for Ubuntu 20.04, the setting of the Argon one Pi 4 cooling system are as follows:

CPU Temp Fan Power
55 C 10%
60 C 55%
65 C 100%

However, you may change or configure the Fan to your desired settings by using argonone-config to configure the fan behaviour.

Commands

The script will generate several scripts and config files. The main commands are

  • argonone-config to config the fan behaviour
  • argonone-uninstall to remove all the scripts and services (conf file remains though)

I also added a custom command:

  • argonone-tempmon which monitors the temperature using the Linux sysfs.

Warning

This has been developed in an afternoon and has been only tested on my Raspberry Pi 4. No issues so far, but big disclaimer nonetheless: use at your own risk.

More Repositories

1

lualine-so-fancy.nvim

Small collection of _fancy_ components for the lualine.nvim plugin.
Lua
76
star
2

citizenshell

Interact with shell locally or over different connection types (telnet, ssh, serial, adb)
Python
18
star
3

nvim

nvim config
Lua
7
star
4

sool

Simple Object Orientation Library in C
C
4
star
5

mockme

Mock/Stub factory generator for cmockery
C
4
star
6

arkiv-rs

Thin convenience library to manipulate compressed archive of vairous types through a single interface.
Rust
3
star
7

habamax-plus.nvim

Variant of the habamax vim plugin.
Vim Script
3
star
8

hex-static.nvim

Converts hexstring to C style array
Lua
3
star
9

ray

OpenGL library written in C++14
C++
2
star
10

tiny

My take on thebennybox's 3D game engine tutorial
C++
2
star
11

dotfiles

Dotfiles
Shell
2
star
12

oxydized-money-rs

This crate aims at providing data types to manipulate amounts of money in specific currencies, convert amounts between currencies and make sure that any computation is performed on amounts of the same currency.
Rust
2
star
13

miniorm-rs

a *very* simple ORM built on top of sqlx.
Rust
1
star
14

react-apollo-typescript-parcel

Sample React/Apollo/Typescript/Parcel applications (both back and front)
TypeScript
1
star
15

home.nix

home-manager based dotfiles
Lua
1
star
16

devbox

custom devbox
Shell
1
star
17

angular4-webpack-starter

Angular v4 starter project using webpack v2
TypeScript
1
star
18

alacritty-issue-3765

Data for issue 3765 of alacritty
1
star
19

HelloTravis

Example of C++ compiled using cmake to be used in Travis
CMake
1
star
20

react-rollup-starter

Basic ReactJS + Rollup starter project
JavaScript
1
star