Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jposada202020/circuitpython_bmp384

CircuitPython driver for the Bosch BMP384 Pressure and Temperature sensor
https://github.com/jposada202020/circuitpython_bmp384

bmp384 bosch circuitpython driver pressure sensor temperature

Last synced: 9 days ago
JSON representation

CircuitPython driver for the Bosch BMP384 Pressure and Temperature sensor

Awesome Lists containing this project

README

        

Introduction
============

.. image:: https://readthedocs.org/projects/circuitpython-bmp384/badge/?version=latest
:target: https://circuitpython-bmp384.readthedocs.io/
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/circuitpython-bmp384.svg
:alt: latest version on PyPI
:target: https://pypi.python.org/pypi/circuitpython-bmp384

.. image:: https://static.pepy.tech/personalized-badge/circuitpython-bmp384?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads
:alt: Total PyPI downloads
:target: https://pepy.tech/project/circuitpython-bmp384

.. image:: https://github.com/jposada202020/CircuitPython_BMP384/workflows/Build%20CI/badge.svg
:target: https://github.com/jposada202020/CircuitPython_BMP384/actions
:alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black

CircuitPython Driver for the Bosch BMP384 Pressure and Temperature sensor

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython `_
* `Bus Device `_
* `Register `_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Community Bundle library and driver bundle `_
or individual libraries can be installed using
`circup `_.

Installing from PyPI
=====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI `_.
To install for current user:

.. code-block:: shell

pip3 install circuitpython-bmp384

To install system-wide (this may be required in some cases):

.. code-block:: shell

sudo pip3 install circuitpython-bmp384

To install in a virtual environment in your current project:

.. code-block:: shell

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install circuitpython-bmp384

Usage Example
=============

Take a look at the examples directory