GithubHelp home page GithubHelp logo

arrebagrove / adafruit-win10-iot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasabifan/adafruit-win10-iot

0.0 0.0 0.0 42 KB

A set of libraries to interface with various Adafruit products from Windows 10 IoT Core

License: MIT License

C# 100.00%

adafruit-win10-iot's Introduction

Adafruit Library Implementations for Windows 10 IoT Core

A set of unofficial libraries to interface with various Adafruit products, including their "Absolute Orientation IMU" (BNO055) and PWM expansion boards, from Windows 10 IoT Core. This does not include comprehensive coverage of their product lines or feature sets; while I have generally tried to implement large amounts of their official interfaces, some advanced features may have been left out. Pull requests are welcome!

While these were written specifically for the Adafruit-distributed breakout boards, they should work with the base chips used in those boards as well.

This code has been tested on a Raspberry Pi 3; other boards should work, but that hasn't been confirmed yet. If you get it running with another hardware configuration, open an issue to let me know!

Notes on individual libraries

Absolute Orientation IMU (BNO055 breakout board)

Adafruit product page: https://www.adafruit.com/product/2472
Official library for Arduino: https://github.com/adafruit/Adafruit_BNO055
Chip datasheet: https://www.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf

While there are interfaces for setting all sensor-supported modes, certain ones (such as quaternion-based rotation) don't have pre-written logic to utilize them in this library. If you want to use those modes, you should use the raw ReadByte/WriteByte methods along with the BNO055Register enum.

Special thanks to Gunter Logemann and his ROV10 project for his implementation of the BNO055 interface. Some of the base logic in this implementation is based on his.

16-Channel 12-bit PWM/Servo Driver (I2C interface)

Adafruit product page: https://www.adafruit.com/products/815
Official library for Arduino: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library
Chip datasheet: https://www.adafruit.com/datasheets/PCA9685.pdf

The interface for the PWM board in this library is slightly different than that in the official Adafruit package. While low-level interfaces are provided, this library exposes higher-level functions differently to align with typical C# design practices. This should be considered when translating Arduino code into C# with this library.

The core logic in this implementation is based on the official Adafruit library.

adafruit-win10-iot's People

Contributors

wasabifan 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.