Skip to main content

I2C driver for the Sensirion SBN4X sensor family

Project description

Python I2C Driver for Sensirion SBN4X

This repository contains the Python driver to communicate with a Sensirion SBN4x sensor over I2C.

SBN4X picture

Click here to learn more about the Sensirion SBN4x sensor.

The default I²C address of SBN4x is ****.

Connect the sensor

You can connect your sensor over a SEK-SensorBridge. For special setups you find the sensor pinout in the section below.

Sensor pinout

sensor wiring picture

Pin Cable Color Name Description Comments
1 green SDA I2C: Serial data input / output
2 black GND Ground
3 yellow SCL I2C: Serial clock input
4 red VDD Supply Voltage 4.9V to 5.5V

Documentation & Quickstart

See the documentation page for an API description and a quickstart example.

Contributing

Check coding style

The coding style can be checked with flake8:

pip install -e .[test]  # Install requirements
flake8                  # Run style check

In addition, we check the formatting of files with editorconfig-checker:

pip install editorconfig-checker==2.0.3   # Install requirements
editorconfig-checker                      # Run check

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensirion_i2c_sbn4x-1.1.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sensirion_i2c_sbn4x-1.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file sensirion_i2c_sbn4x-1.1.0.tar.gz.

File metadata

  • Download URL: sensirion_i2c_sbn4x-1.1.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sensirion_i2c_sbn4x-1.1.0.tar.gz
Algorithm Hash digest
SHA256 34157c586b92978a001a76f76ef4661937c27a70bb9bb1d5ce09b27a0ba961e5
MD5 223ed57a7a9222daff6cb9560e15cf11
BLAKE2b-256 b9145ed51816f39b5577cde505fa6eea950cb4b4dd623357635da3650163ebd0

See more details on using hashes here.

File details

Details for the file sensirion_i2c_sbn4x-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensirion_i2c_sbn4x-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06657b24230021e74fece6b8b6b0619351c2df54ff7546a309985137db803ab1
MD5 8dc9e1f8de8b4af7c746919fcb4b2d7d
BLAKE2b-256 1a8e3d20a3874f82a20615bd2fda9332c38e2161a09a3d607a3546d4ac63b7b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page