1
0
Fork 0
mirror of https://github.com/nupplaphil/pySM9541 synced 2025-04-19 21:04:05 +02:00
SM9541 Python Library (Mirror)
Find a file
2017-03-05 18:01:00 +01:00
.gitignore Initial commit 2017-03-05 17:18:40 +01:00
LICENSE Initial commit 2017-03-05 17:18:40 +01:00
README.md Update README.md 2017-03-05 18:01:00 +01:00
SM9541.py Initial Commit 2017-03-05 17:20:17 +01:00
SM9541_Example.py Create Example 2017-03-05 17:21:16 +01:00

SM9541 Python library

This Python library allows you to read data from the SM9541 Ultra-Low Pressure Digital Sensor on a Raspberry Pi, Pi2 or similar device. Requirements

This library requires that you have installed the smbus-library

On Raspbian, you can install this package with the following commands:

sudo apt-get update sudo apt-get install python-smbus

Usage

To read a single set of data points from the SME9541, connect your Pi or Pi2 to the SM9541 breakout using I2C and run the following command from this folder:

python SM9541_Example.py

Credits