This is micropython code that runs on an ESP8266. It reads data from an MPU6050 6DOF IMU and provides it to clients via a simple TCP server.
The code uses a complementary filter to combine readings from the gyroscope and accelerometer to provide stable and responsive position information.
- MPU 6050 Register Map and Descriptions
- MPU 6050 Data Sheet
- Tilt Sensing Using a Three-Axis Accelerometer
- Quaternions & IMU Sensor Fusion with Complementary Filtering
py-mpu6050 -- visualization for py-mpu6050
Copyright (C) 2017 Lars Kellogg-Stedman [email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.