Mk MPU6050 Tool Kit
Project description
Mk MPU6050 Tools
MkNxGn MPU - 6050 6-Axis Gyroscope Tools
Install with pip
-pip3 install mk_mpu6050_tools
Make sure to have py smbus installed on your device.
Use this Module to use the:
- MPU-6050
Code Example
import mk_mpu6050_tools
import sleep
Chipset = mk_mpu6050_tools.MPU_6050()
while True:
time.sleep(1)
print(Chipset.Gyro.x, Chipset.Gyro.y)
Virtualizing
Mk MPU Tools comes with Panda3D code to make visualization easy.
Make sure to Install Panda3D to
import mk_mpu6050_tools
import sleep
Chipset = mk_mpu6050_tools.MPU_6050()
from mk_mpu6050_tools import Visulize
Visulize.Run_visiulization_on_Gyro(Chipset.Gyro)
More on Virtualizing
Visualization comes with multiple models to use for visualization.
# POSSIBLE MODELS
# Visulize.MODELS.PLANE
# Visulize.MODELS.TRUCK
# Visulize.MODELS.DRONE
# Visulize.MODELS.GRYO_MULTIPLEX - Default
SELECTED_MODEL = Visulize.MODELS.DRONE
Visulize.Run_visiulization_on_Gyro(Chipset.Gyro, model=SELECTED_MODEL)
Made By Mark.
Endorsed By MkNxGn
Progressing Technology.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mk_mpu6050_tools-1.0.1.tar.gz
.
File metadata
- Download URL: mk_mpu6050_tools-1.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bd67ea0db467660e8b99b85b3c097460f814bb118c20ca61b2d6b577fffaa3 |
|
MD5 | a1a876f350f555583c99767aced098da |
|
BLAKE2b-256 | 765fede44b2540952cd1b4021023b0e128b2944cfc29080eb689b8b2fd1aaada |
File details
Details for the file mk_mpu6050_tools-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mk_mpu6050_tools-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3e7cdb62a0d15d99317a10ae582c2c461e87a673debdfe1affc800c77b0b85 |
|
MD5 | 5c2bd46ea1fe4ebe73eb5aa72b465e93 |
|
BLAKE2b-256 | d9f68e424bb012c1e21e530b2c4c0be9bdcaf07a335e23c70f9e9b4eb924c0e9 |