Git Product home page Git Product logo

bno055's Introduction

Bno055

Low-level Elixir driver used to interact with the Bosch Sensortec BNO055 absolute orientation sensor.

Example

# Connect to the i2c bus (default is "i2c-1")
{:ok, ref} = Bno055.connect()

# The Bno055 has two addresses available, 0x28 or 0x29.
# We will be using 0x28

# Power on and initialize the device.
Bno055.init(ref, 0x28)

# Check current calibration status
Bno055.calibrated?(ref, 0x28)

# Get Calibration readings on a scale of 0-3.
Bno055.get_calibration(ref, 0x28)

# Get angular velocity from the gyroscope
Bno055.get_angular_velocity(ref, 0x28)

# Get orientation from fusion mode
# - Euler
Bno055.get_euler(ref, 0x28)
# - Quaternion
Bno055.get_quaternion(ref, 0x28)

Roadmap

[x] - Change power modes

[] - GenServer implementation?

[] - Device Reset

[] - Save and load calibration profiles

[] - Enable external crystal

[] - Get Revision

[] - Remap axis

bno055's People

Contributors

christianjgreen avatar

Stargazers

vad babushkin avatar

Watchers

James Cloos avatar  avatar

Forkers

mhar-andal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.