Driver for the SCD4X CO2 sensor.
Project description
SCD4X C02 Sensor
Pre-requisites
You must enable:
- i2c:
sudo raspi-config nonint do_i2c 0
You can optionally run sudo raspi-config
or the graphical Raspberry Pi Configuration UI to enable interfaces.
Installing
Stable library from PyPi:
- Just run
pip3 install scd4x
In some cases you may need to use sudo
or install pip with: sudo apt install python3-pip
Latest/development library from GitHub:
git clone https://github.com/pimoroni/scd4x-python
cd scd4x-python
sudo ./install.sh
Changelog
0.0.1
- Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scd4x-0.0.1.tar.gz
(4.5 kB
view details)
Built Distributions
scd4x-0.0.1-py3-none-any.whl
(4.3 kB
view details)
scd4x-0.0.1-py2-none-any.whl
(4.3 kB
view details)
File details
Details for the file scd4x-0.0.1.tar.gz
.
File metadata
- Download URL: scd4x-0.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c8aefcb6cc95153f7b1538dbf152286e420ef6e552f7590f97c6497b30290d |
|
MD5 | 73cdacddd62766dfc7611b6157533287 |
|
BLAKE2b-256 | 9c49e0352da2f4ac4e523879b4db2079dd9273edc39f92b86c6af1525f52a8fc |
File details
Details for the file scd4x-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: scd4x-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59c4b6a220a67fd85cc75d48bf17ce10c737b35f6d1b400b55ae255596ca2f3 |
|
MD5 | 6cb60552007b43a62d3d247b4b73c902 |
|
BLAKE2b-256 | 8457ecd09e713f5bec85006ddf7163ee7de3c2cfa903b184546c7c3f702f8978 |
File details
Details for the file scd4x-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: scd4x-0.0.1-py2-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10b91bff7b295a8522096fb28551a3bc78e12e548d43a5c11e2fa5cefff60453 |
|
MD5 | 78b4794ccac0afb609b7163bee5ead14 |
|
BLAKE2b-256 | e9e48608654a8e8c3b19e8fb02b287d1cb301765cc579649b65fb62bfa0d6b3e |