“Microduino MPU6050 calculate angle(Microduino 10dof)”的版本间的差异
Jasonsheng(讨论 | 贡献) (Created page with "{{Language | Microduino MPU6050计算角度(Microduino 10dof)}} {| style="width: 800px;" |- | ==Objective== This tutorial will teach you how to use Microduino-10 dof module wh...") |
Timeslider(讨论 | 贡献) |
||
第25行: | 第25行: | ||
==Program== | ==Program== | ||
− | Refer to MPU6050AngleOLED | + | Refer to MPU6050AngleOLED https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Sensor/MPU6050AngleOLED |
There are many ways to calculate the angle by MPU6050. The corresponding algorithm is different, two types complex and simple, the result is different too, accurate and inaccurate. You can find several methods to calculate in internet, such as: | There are many ways to calculate the angle by MPU6050. The corresponding algorithm is different, two types complex and simple, the result is different too, accurate and inaccurate. You can find several methods to calculate in internet, such as: |
2014年4月24日 (四) 13:04的最新版本
Language | English |
---|
ObjectiveThis tutorial will teach you how to use Microduino-10 dof module which has the MPU6050 sensors and can be used to calculate the x, y, and z axis angle, and display the value via OLED. Equipment
Schematic
ProgramRefer to MPU6050AngleOLED https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Sensor/MPU6050AngleOLED There are many ways to calculate the angle by MPU6050. The corresponding algorithm is different, two types complex and simple, the result is different too, accurate and inaccurate. You can find several methods to calculate in internet, such as:
This program will use the third method to calculate the angle. You also can try the DMP and kalman by yourself. DebugStep 1:Stack all the module, as follows: Step 2:Compile the program and download. Step 3:Swing module and watching the number on OLED ResultModule rotates on three axis, and OLED displays the x, y, z axis angle change. Videohttp://v.youku.com/v_show/id_XNjk4NDIzMjQ0.html
|