Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

Dependencies

This driver depends on the Register and Bus Device libraries. Please ensure they are also available on the CircuitPython filesystem. This is easily achieved by downloading a library and driver bundle.

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:

pip3 install adafruit-circuitpython-bno055

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

sudo pip3 install adafruit-circuitpython-bno055

To install in a virtual environment in your current project:

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

Usage Notes

Of course, you must import the library to use it:

import adafruit_bno055

This driver takes an instantiated and active I2C object as an argument to its constructor. The way to create an I2C object depends on the board you are using. For boards with labeled SCL and SDA pins, you can:

import board

i2c = board.I2C()

Once you have the I2C object, you can create the sensor object:

sensor = adafruit_bno055.BNO055_I2C(i2c)

And then you can start reading the measurements:

print(sensor.temperature)
print(sensor.euler)
print(sensor.gravity)

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Release files for adafruit-circuitpython-bno055 5.4.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-bno055 5.4.22
File Size Uploaded
adafruit_circuitpython_bno055-5.4.22.tar.gz 2.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-bno055 5.4.22
File Interpreter ABI Platform
adafruit_circuitpython_bno055-5.4.22-py3-none-any.whl Python 3 none any Details

Total release size: 2.2 MB

Release files / adafruit_circuitpython_bno055-5.4.22.tar.gz

Download URL adafruit_circuitpython_bno055-5.4.22.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8f67c4f24d9d01eaf1ede1ee2f1e04038bbe4227ac60e968bc34a18bb5d2ca98
BLAKE2b-256 checksum
How to use checksums
e0bcce0935061f77f7f48e1ecf35111cafeadbb8e7dbd450ab05e0d235fb8010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_bno055-5.4.22-py3-none-any.whl

Download URL adafruit_circuitpython_bno055-5.4.22-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4240371dbffd501b7f6863819b85d0524edcb7f83f3c17b4176ab5d4fb2bd2ff
BLAKE2b-256 checksum
How to use checksums
f0d54d500c4f5b0ad8d643d9dd1b22e3b45b5e33beff4357b2473611d966f40e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

5.4.22 This release

2 release files

5.4.21

2 release files

5.4.20

2 release files

5.4.19

2 release files

5.4.18

2 release files

5.4.16

2 release files

5.4.15

2 release files

5.4.12

2 release files

5.4.11

2 release files

5.4.10

2 release files

5.4.9

2 release files

5.4.8

2 release files

5.4.7

2 release files

5.4.6

2 release files

5.4.5

2 release files

5.4.4

2 release files

5.4.3

1 release file

5.4.2

1 release file

5.4.1

1 release file

5.4.0

1 release file

5.3.4

1 release file

5.3.3

1 release file

5.3.2

1 release file

5.3.1

1 release file

5.3.0

1 release file

5.2.6

1 release file

5.2.5

1 release file

5.2.4

1 release file

5.2.3

1 release file

5.2.2

1 release file

5.2.1

1 release file

5.2.0

1 release file

5.1.0

1 release file

5.0.2

1 release file

5.0.1

1 release file

5.0.0

1 release file

4.2.1

1 release file

4.2.0

1 release file

4.1.0

1 release file

4.0.1

1 release file

4.0.0

1 release file

3.1.2

1 release file

3.1.1

1 release file

3.1.0

1 release file

3.0.6

1 release file

3.0.5

1 release file

3.0.4

1 release file

3.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page