~~NOTOC~~ ===== Accelerometer MPU-6050 by Invensense / TDK ===== This MEMS device combines a 3-axis accelerometer and a 3-axis gyroscope. On the [[https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6050/|official MPU-6050 website]] you find a link to the documentation including datasheet. * {{https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf|MPU-6000/MPU-6050 Datasheet}} (pdf) Some information is also provided in the [[https://playground.arduino.cc/Main/MPU-6050/|Arduino Playground]] The GY521 Module is a breakout board for the MPU-6050. It is also part of the Elegoo kit we are using in class. ==== Tutorial by DroneBot Workshop ==== The tutorial by **Bill Jamshedji** of [[https://dronebotworkshop.com/|DroneBot Workshop]] is an excellent point to start with. Bill is explaining **[[https://dronebotworkshop.com/mpu-6050-level/|how to build an electronic levelmeter]]** based on the MPU-6050. ^ **Bill Jamshedji, DroneBot Workshop** ^^ | **1. Tutorial \\ Website** | **:!: [[https://dronebotworkshop.com/mpu-6050-level/]]** | | **2. Video \\ Tutorial** | {{youtube>XCyRXMvVSCw?medium}} | ==== Tutorial by Michael Schoeffler ==== https://mschoeffler.com/2017/10/05/tutorial-how-to-use-the-gy-521-module-mpu-6050-breakout-board-with-the-arduino-uno/ ==== Exercises ==== === 1. Build === Follow the tutorial and build the device. Remarks: - The I2C bus is a serial bus for inter-IC communication (IC: integrated circuit). There are other busses such as SPI and 1Wire. - The LED character display pins (several) are connected to an interface hardware which provides an I2C bus interface. You find such an interface in the cardbox I sent to you. It is a black PCB (printed circuit board) with 16 pins on one long side and 4 pins on a short side named GND, VCC, SDA, SCL. Use the second breadboard to connect display and I2C display interface. === 2. Exercises on Git === I will push the second exercise sheet on Git. We have a problem with an expired certificate. Therefore I will push the repo elsewhere and let you know.