Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Argon40Tech/Argon-ONE-i2c-Codes
This is a list of i2c Codes utilized by Argon ONE Raspberry Pi Cases
https://github.com/Argon40Tech/Argon-ONE-i2c-Codes
Last synced: about 1 month ago
JSON representation
This is a list of i2c Codes utilized by Argon ONE Raspberry Pi Cases
- Host: GitHub
- URL: https://github.com/Argon40Tech/Argon-ONE-i2c-Codes
- Owner: Argon40Tech
- Created: 2020-05-20T07:01:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T08:35:15.000Z (over 4 years ago)
- Last Synced: 2024-08-04T06:01:51.414Z (5 months ago)
- Size: 13.7 KB
- Stars: 71
- Watchers: 5
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-argonone - Argon-ONE-i2c-Codes
README
# Argon-ONE-i2c-Codes
This is a list of i2c Codes utilized by Argon ONE Raspberry Pi Cases.**NOTE:** Operating system should have necessary libraries to control the Raspberry Pi GPIO.
# How to Send i2c Codes to the Argon ONE MCU
Example: **Setting Argon ONE to Mode 2 (Always ON)**
Type in the Terminal the code below:
i2cset -y 1 0x01a 0xfe
# Device Address:**0x1a**
Write Command
Only one byte(0~255) can be used# 1. HEX CODE: **0x01 to 0x64** (0~100)
**ACTION:** Sets the Fan's Duty Cycle from 0%~100%.**NOTE:** FAN only starts turning at 10% power input.
# 2. HEX CODE: 0x00
**ACTION:** Turns OFF the FAN.# 3. HEX CODE: 0xfd
Set the ARGON ONE to Mode 1:**ACTION:** Sets "Default Mode"
**Behaviour:** You need to PRESS button to Power ON from shutdown or power outage.
# 4. HEX CODE: 0xfe
Set the ARGON ONE to Mode 2:**ACTION:** Sets "Always ON Mode"
**Behaviour:** Power current will flow directly to Raspberry Pi. NO need to PRESS button to power ON from shutdown or power outage.
# 5. HEX CODE: 0xff
**ACTION:** Listens at Serial Port to cut power; Requires Serial Port to be ENABLED.**Behaviour:** When ARGON ONE receives 0xff,then ARGON ONE will check UART's voltage.
Then, it will cut the power when UART's voltage is low.