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.1.30.tar.gz
.
File metadata
- Download URL: mk_mpu6050_tools-1.1.30.tar.gz
- Upload date:
- Size: 5.5 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 | dc6ea7191e35f99ec4431f23d6db32b9e46d86fe2a5a627b25362f22a7fceb95 |
|
MD5 | d530e9f475ec3baed2537e2e6b9a361c |
|
BLAKE2b-256 | ad461a2450b416ef4a729c713314d71f8ca9bb84518c3661e6f0e87f4aca9fe7 |
File details
Details for the file mk_mpu6050_tools-1.1.30-py3-none-any.whl
.
File metadata
- Download URL: mk_mpu6050_tools-1.1.30-py3-none-any.whl
- Upload date:
- Size: 7.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 | 21989d771301d2c5cb23e209569ac038fc2e348968e9e42a6114924ee10c5327 |
|
MD5 | 7e53215defefed3ca852071e9d28eb97 |
|
BLAKE2b-256 | b0c1965a68faaf5bc413e6cb1b657637d96ebc3310e36fee145a4a886b44e853 |