GithubHelp home page GithubHelp logo

xiaoyangfengle / imu6050_blocks_viewsanimation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wallnutss/imu6050_blocks_viewsanimation

0.0 0.0 0.0 35 KB

3D Visualization Results of IMU MPU6050 Angle Readings in Matplotlib 3D

C++ 12.39% Python 87.61%

imu6050_blocks_viewsanimation's Introduction

This repo holds the code to read angles reading from MPU-6050 IMU that's connected to a ESP32 Microcontroller. The idea in the program is that, I split the calculation, where I have put angle reading from the sensor in the microcontroller itself, and pass the data through Serial USB communication back to our Python program here in my Laptop. I have fun doing this, real-time data just makes me goes nuts, so viewing the results of reading in another program make me proud of myself. But there is still something wrong with the data flow, but meh will fix it next time. And it still not an accurate reading and maybe also the calculation of the rotation matrix,so you'll have to forgive me for that. 3D Visualization that's all matters.

Installation Instructions

First get the libraries that we will be using to read the angles from MPU-6050. I'm using MPU_LIGHT by rfetick. (https://github.com/rfetick/MPU6050_light)

Flash GETAngle_MPULIGHT.iso to the ESP32. Remember the port thou. If no connection, make sure microusb cable is data + power and not power only.

Running

First clone this repo and then after that flash the .ino code to your ESP32. Finally, Simply run 3dcuberotateanime.py in your favorite terminal or through VS Code. Or simply just run in in python

$ git clone https://github.com/WallNutss/imu6050_blocks_viewsanimation.git
$ cd imu6050_blocks_viewsanimation
$ python 3dcuberotateanim.py

imu6050_blocks_viewsanimation's People

Contributors

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