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 hashes)
Built Distributions
scd4x-0.0.1-py3-none-any.whl
(4.3 kB
view hashes)
scd4x-0.0.1-py2-none-any.whl
(4.3 kB
view hashes)