Coder Social home page Coder Social logo

zoldaten / witmotion-wt901cttl-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 6harmony9/witmotion-wt901cttl-python

0.0 0.0 0.0 28 KB

A Python code for Witmotion's WT901CTTL IMU sensor (Acceleromenter, Gyroscope, and Magnetometer)

License: MIT License

Python 100.00%

witmotion-wt901cttl-python's Introduction

Witmotion WT901C TTL Python

This is a Python code for Witmotion's WT901CTTL IMU sensor (Acceleromenter, Gyroscope, and Magnetometer) Welcome to my very first project. Ever. Feedback is welcomed. Also let me know if there are any problems.

Some Important Notes:

This code reads in data from Witmotion's WT901CTTL IMU sensor which can read acceleration, angular velocity, tilt angles, and magnetism(?). It has been tested to work on both Linux and Windows 11.

Please make sure that you have the pyserial and numpy libraries installed. Also make sure that you install all of Witmotion's necessary drivers, too.

I reccomend that if the code is to be used in you project, the code should be integrated into your source code directly in the while loop and not with a separate function. I have tried to use functions but for some reason when I do that, the code has a tendency to hang on startup and read nothing. This problem was significantly worse on Windows 11, but not much of a problem on Linux.

Make sure that the physical USB TTL connection between your computer and the IMU sensor is not loose, otherwise the application will freeze.

Be sure to uncomment the print function for specific readouts.

Oh, and if you are on Windows 11, type:

'[System.IO.Ports.SerialPort]::getportnames()'

without the quotation marks into Windows Powershell to get a list of your COM ports.

So far, so good!

witmotion-wt901cttl-python's People

Contributors

6harmony9 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.