Welcome pyserialsensors’s documentation!

pySerialSensors

https://img.shields.io/pypi/v/pyserialsensors.svg https://img.shields.io/travis/Egenskaber/pyserialsensors.svg Documentation Status Updates

Serial communication with sensors via I2C, SPI and UART using FTDI USB bridges

Make sure your current user is member of the dialout group.

Development

Setup the FTDI USB interface using [PyFTDI installation instructions](https://eblot.github.io/pyftdi/installation.html).

Install git and clone the repository

git clone https://gitlab.com/Egenskaber/pyserialsensors.git

Install all requirements via .. code-block:: bash

pip install -r MMS/requirements.txt

To test your installation connect a supported I2C or SPI sensor and run

python -m pyserialsensors.examples.example_single_read

Supported Sensors

  • SHT85

  • SFM3000, 3200, 3300

  • SFM4100, 4200, 4300

  • SDP810

  • SPS30

  • BME280

  • SCD30, 41

  • ADS1015

  • MAX31865

  • SMGAir2

  • S8000 dew point mirror

  • Optidew dew point mirror

Rename FTDI

Use tools/rename.py

Check the result using

lsusb -d 0403: -v

Known Issues

  • All SFM sensors are indicated as SFM3XXX

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Indices and tables