This is a sample python file to read the values of the MPU6050. Make sure to install both i2c-tools and smbus modules prior to running Also import os as we are using some os.system('clear') calls to keep the terminal screen clean between readings. I like the fact that this uniot also provides temperature as I would like to mount this on an engine for detecting vibrations and it will be interesting to see the possible temperature and vibration correlations when readings deviate from nominal.
-
Notifications
You must be signed in to change notification settings - Fork 0
AIoT-Consulting/MPU6050-Accelerometer-Sample-Code
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published