MPU6050

From Let's Control It
Revision as of 17:37, 22 February 2017 by Justme-nl (talk | contribs) (→‎Hardware)
Jump to navigation Jump to search

WIP.gifYou may hear some construction noise in the background...

Introduction

The plugin for the MPU 6050 can be used as a motion sensor. Apart from singling the home controller when a certain amount of movement is detected, this plugin is also capable of showing the raw values from the dMPU 6050 device.

Hardware

Mpu-6050.jpg

The MPU 6050 is made by InvenSense and contains a accelerometer and gyroscope in one package for all three dimensional axis. Fitted with a build-in 16 bit analog to digital convertor per channel it is capable of capturing all three axis simultaneously. The sense is fitted with multiple I2C interfaces of which one is used for communicating with a master controller. The chip has one I2C address selection pin so two sensors can be attached to the bus simultaneously. The plugin supports using two sensors.

Connections

The commonly used breakout board GY-521 has

Software

Custom sketch

ESP Easy