Skip to content
Micropython code for interacting with an MPU6050 6DOF IMU
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile added more references Feb 12, 2017 major refactoring of mpu code Feb 11, 2017 added routines necessary to support motion detection Feb 14, 2017


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.



py-mpu6050 -- visualization for py-mpu6050
Copyright (C) 2017 Lars Kellogg-Stedman

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

You can’t perform that action at this time.