Рет қаралды 376,601
The GY-521 module is a breakout board for the MPU-6050 MEMS (Microelectromechanical systems) that features a 3-axis gyroscope, a 3-axis accelerometer, a digital motion processor (DMP), and a temperature sensor. This tutorial gives only a brief introduction to the GY-521/MPU-6050. In particular, it is shown how to retrieve the raw sensor values.
Written tutorial and source code: www.mschoeffler.com/2017/10/05...
Link to I2Cdevlib (advanced MPU6050 library): github.com/jrowberg/i2cdevlib...
:: List of materials ::
-- Arduino Uno
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Jumper wires
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Breadboard
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- GY-521
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
Video Chapters:
0:00 Tutorial Introduction
0:46 MPU6050 Specification
1:11 GY-521
3:06 Wiring
4:11 Programming
6:30 Example demonstration
Credits:
Songs: Killing Time
Artist: Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/...