All Projects → adafruit → Adafruit_CircuitPython_BNO055

adafruit / Adafruit_CircuitPython_BNO055

Licence: MIT license
CircuitPython driver for BNO055 absolute orientation sensor

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Adafruit CircuitPython BNO055

circuitpython
CircuitPython - a Python implementation for teaching coding with microcontrollers
Stars: ✭ 3,097 (+4324.29%)
Mutual labels:  circuitpython
PyDOS
DOS-like OS for microcontroller boards running Micropython or Circuitpython
Stars: ✭ 40 (-42.86%)
Mutual labels:  circuitpython
kerntroller
No description or website provided.
Stars: ✭ 31 (-55.71%)
Mutual labels:  circuitpython
circuitpython-build-tools
Build scripts for CircuitPython libraries and the bundle
Stars: ✭ 20 (-71.43%)
Mutual labels:  circuitpython
lightroom-macro-pad
Lightroom Macro Pad With CircuitPython Boards
Stars: ✭ 33 (-52.86%)
Mutual labels:  circuitpython
CircuitPython-online-IDE
CircuitPython online IDE
Stars: ✭ 15 (-78.57%)
Mutual labels:  circuitpython
qtpy-knob
QT Py Media Knob using rotary encoder & neopixel ring
Stars: ✭ 49 (-30%)
Mutual labels:  circuitpython
microS2
microS2 - An esp32-s2 based development board 🚀
Stars: ✭ 18 (-74.29%)
Mutual labels:  circuitpython
usbhostcopro
USB Host Co-processor
Stars: ✭ 54 (-22.86%)
Mutual labels:  circuitpython
Big Honking Button
A simple Eurorack sampler and performance module in a silly package.
Stars: ✭ 45 (-35.71%)
Mutual labels:  circuitpython
Sol
An open-source MIDI-to-CV Eurorack module that runs CircuitPython
Stars: ✭ 56 (-20%)
Mutual labels:  circuitpython
Adafruit CircuitPython CharLCD
Library code for character LCD interfacing
Stars: ✭ 54 (-22.86%)
Mutual labels:  circuitpython
adafruit-circuitpython-weekly-meeting
Notes from the weekly circuitpython meetings on Discord
Stars: ✭ 22 (-68.57%)
Mutual labels:  circuitpython
CircuitPython GC9A01 demos
Demos showing how to use CircuitPython displayio driver for GC9A01 round LCDs
Stars: ✭ 18 (-74.29%)
Mutual labels:  circuitpython
Adafruit CircuitPython SD
SD card drivers for Adafruit CircuitPython
Stars: ✭ 24 (-65.71%)
Mutual labels:  circuitpython
CapableRobot USBHub Driver
www.crowdsupply.com/capable-robot-components/programmable-usb-hub
Stars: ✭ 17 (-75.71%)
Mutual labels:  circuitpython
awesome-macropad
A curated list of awesome applications, macros, 3d printed cases, guides, and more for the Adafruit CircuitPython rp2040 Macropad.
Stars: ✭ 26 (-62.86%)
Mutual labels:  circuitpython
Adafruit CircuitPython AMG88xx
circuit python driver from AMG88xx GRID-EYE 8x8 IR sensor
Stars: ✭ 33 (-52.86%)
Mutual labels:  circuitpython
Adafruit CircuitPython MiniMQTT
MQTT Client Library for CircuitPython
Stars: ✭ 51 (-27.14%)
Mutual labels:  circuitpython
Env-KB
A custom mechanical keyboard inspired by the CFTKB Mysterium utilizing the Raspberry Pi Pico
Stars: ✭ 203 (+190%)
Mutual labels:  circuitpython

Introduction

Documentation Status Discord Build Status Code Style: Black

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].