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
0.0.2
- Fix byte packing when sending data (unsigned char instead of signed char).
- Fix condition in set_temperature_offset.
- Fix reading data in get_temperature_offset.
- Add get/set_automatic_self_calibration_enabled.
- Add persist_settings.
- Repackage to latest boilerplate.
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.2.tar.gz
(11.0 kB
view hashes)
Built Distribution
scd4x-0.0.2-py3-none-any.whl
(6.7 kB
view hashes)