Giter VIP home page Giter VIP logo

modified-bmi160---bmm150-arduino-libraries's Introduction

Modified-BMI160---BMM150-Arduino-Libraries

Update Arduino/Teensy Drivers for the BMM150 and BMI160 Bosch Sensors

This repository is a combination of three of existing libraries for the referenced Bosch sensors:

  1. BMI160-Arduino - This is a direct copy of the Hanyazou's BMI160-Arduino repository: https://github.com/hanyazou/BMI160-Arduino. No changes were made to this library.
  2. Grove_3_Axis_Compass_V2.0_BMM150 - is a slighly modifed version of the SeedStudio respository (https://github.com/Seeed-Studio/Grove_3_Axis_Compass_V2.0_BMM150) which is modeled after the Bosch BMI150 API. I added two additional functions to simplify modifications to the ODR and setup the DRDY interrupt if you choose to use the DRDY:
  • set_mag_rate(uint8_t rate) - where the uint8 rate is defined by the enum for the BMI ODR in the .h file
  • set_DRDY_bit(uint8_t enable_bit) - it can be either 1 or 0, 1 to use a interrup or 0 not too. Or just not call it and the interrupt won't be set.
  1. BMI160_Arduino_Combo - is an updated library for using the BMM150 in passthrough mode with a BMI160. The original library can be found here: BMI160_Arduino_Combo. The library has been reworked to reflect the changes in the BMI160 library so it can now operate in I2c or SPI modes. NOTE: i have only tested this with I2C.

I have also included 3 sketches that illustrate the use of each library.

Enjoy.

modified-bmi160---bmm150-arduino-libraries's People

Contributors

mjs513 avatar

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.