Code Monkey home page Code Monkey logo

sensorfusion's Introduction

SensorFusion

Using IMUs is one of the most struggling part of every Arduino lovers, here there is a simple solution.

Alt text

This library will work with every IMU, it just need the raw data of gyroscope and accelerometer (the magnetometer isn't mandatory), it is based on these two libraries:

I just made small modifications in the way the libraries handled the timing between two measurements and melted them together

Installation

Use the arduino/platformIO library manager or download directly from github

About

Click on the video to see it on youtube

Alt text

please note that the Roll is inverted

I am using an STM32F103F103 known as blue pill but also any Arduino board will work

The IMU is a cheap MPU9250, you could find it everywhere for about 2โ‚ฌ (eBay, Aliexpress, ecc), to use it I strongly suggest you this library

If you wish use IMU_tester in the extras folder to see how you IMU works (needs Processing) Note: I am using also this very useful library: Streaming

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.