登录
首页 » C/C++ » MPU6050

MPU6050

于 2016-03-17 发布 文件大小:325KB
0 76
下载积分: 1 下载次数: 14

代码说明:

  本程序实现如下功能:开机后,先初始化MPU6050等外设,然后利用DMP库,初始化MPU6050及使能DMP,最后,在死循环里面不停读取:温度传感器、加速度传感器、陀螺仪、DMP姿态解算后的欧拉角等数据,通过串口上报给上位机(温度不上报),利用上位机软件(ANO_Tech匿名四轴上位机_V2.6.exe),可以实时显示MPU6050的传感器状态曲线,并显示3D姿态,可以通过KEY0按键开启/关闭数据上传功能。同时,在LCD模块上面显示温度和欧拉角等信息。DS0来指示程序正在运行。(This program implements the following functions: boot, first initialize MPU6050 and other peripherals, and then use the DMP library initialization MPU6050 and enable DMP, finally, in an endless loop which constantly reads: temperature sensors, acceleration sensors, gyroscopes, DMP attitude Euler angles and other data solver after reporting to the host computer through the serial port (temperature does not report) using PC software (ANO_Tech anonymous axis PC _V2.6.exe), it can display MPU6050 sensor status in real-time curve, and displaying 3D gesture by KEY0 button on/off data uploading. Meanwhile, in the LCD display above the module temperature and other information Euler angles. DS0 to indicate that the program is running.)

文件列表:

MPU6050六轴传感器
.................\HARDWARE
.................\........\24CXX
.................\........\.....\24cxx.c,3807,2014-05-06
.................\........\.....\24cxx.h,1475,2014-09-26
.................\........\.....\myiic.c,2795,2014-05-06
.................\........\.....\myiic.h,1298,2014-09-26
.................\........\ADC
.................\........\...\adc.c,4245,2014-09-25
.................\........\...\adc.h,1324,2014-08-28
.................\........\BEEP
.................\........\....\beep.c,757,2014-09-20
.................\........\....\beep.h,676,2014-09-20
.................\........\CAN
.................\........\...\can.c,7949,2014-09-27
.................\........\...\can.h,1119,2014-08-29
.................\........\DAC
.................\........\...\dac.c,1258,2014-08-28
.................\........\...\dac.h,669,2014-08-28
.................\........\DHT11
.................\........\.....\dht11.c,2501,2014-05-07
.................\........\.....\dht11.h,1141,2014-08-29
.................\........\DMA
.................\........\...\dma.c,2686,2014-08-28
.................\........\...\dma.h,787,2014-08-28
.................\........\DS18B20
.................\........\.......\ds18b20.c,3611,2014-08-29
.................\........\.......\ds18b20.h,1266,2014-05-07
.................\........\EXTI
.................\........\....\exti.c,1843,2014-09-21
.................\........\....\exti.h,655,2014-05-04
.................\........\KEY
.................\........\...\key.c,1463,2014-07-09
.................\........\...\key.h,898,2014-07-08
.................\........\LCD
.................\........\...\FONT.H,35016,2014-01-02
.................\........\...\ILI93xx.c,79461,2014-10-11
.................\........\...\lcd.h,9801,2014-10-11
.................\........\LED
.................\........\...\led.c,789,2014-08-28
.................\........\...\led.h,692,2014-05-04
.................\........\LSENS
.................\........\.....\lsens.c,1062,2014-08-28
.................\........\.....\lsens.h,859,2014-08-28
.................\........\MPU6050
.................\........\.......\eMPL
.................\........\.......\....\dmpKey.h,19342,2012-12-14
.................\........\.......\....\dmpmap.h,6765,2012-12-14
.................\........\.......\....\inv_mpu.c,89368,2014-08-29
.................\........\.......\....\inv_mpu.h,4865,2014-05-09
.................\........\.......\....\inv_mpu_dmp_motion_driver.c,58387,2014-05-09
.................\........\.......\....\inv_mpu_dmp_motion_driver.h,3538,2012-12-14
.................\........\.......\mpu6050.c,5967,2014-09-28
.................\........\.......\mpu6050.h,4965,2014-05-09
.................\........\OLED
.................\........\....\oled.c,8033,2014-05-04
.................\........\....\oled.h,1565,2014-05-04
.................\........\....\oledfont.h,35017,2014-01-02
.................\........\REMOTE
.................\........\......\remote.c,4259,2014-08-29
.................\........\......\remote.h,871,2014-08-25
.................\........\RNG
.................\........\...\rng.c,1209,2014-10-02
.................\........\...\rng.h,736,2014-08-28
.................\........\RS485
.................\........\.....\rs485.c,3104,2014-09-26
.................\........\.....\rs485.h,1020,2014-09-26
.................\........\RTC
.................\........\...\rtc.c,8051,2014-11-13
.................\........\...\rtc.h,1594,2014-07-26
.................\........\SPI
.................\........\...\spi.c,2165,2014-08-28
.................\........\...\spi.h,968,2014-08-28
.................\........\TIMER
.................\........\.....\timer.c,5368,2014-08-28
.................\........\.....\timer.h,1179,2014-08-28
.................\........\TOUCH
.................\........\.....\ctiic.c,3262,2014-10-08
.................\........\.....\ctiic.h,1550,2014-08-22
.................\........\.....\gt9147.c,6375,2014-10-13
.................\........\.....\gt9147.h,1556,2014-10-11
.................\........\.....\ott2001a.c,4441,2014-10-11
.................\........\.....\ott2001a.h,1898,2014-10-13
.................\........\.....\touch.c,15216,2014-10-11
.................\........\.....\touch.h,2995,2014-10-13
.................\........\TPAD
.................\........\....\tpad.c,4171,2014-09-21
.................\........\....\tpad.h,921,2014-07-04
.................\........\W25QXX
.................\........\......\w25qxx.c,9326,2014-08-28
.................\........\......\w25qxx.h,2337,2014-08-28
.................\........\WDG
.................\........\...\wdg.c,2215,2014-05-04
.................\........\...\wdg.h,849,2014-05-04
.................\........\WKUP
.................\........\....\wkup.c,2611,2014-09-25
.................\........\....\wkup.h,756,2014-05-06
.................\keilkill.bat,399,2011-05-09
.................\OBJ
.................\...\TEST.hex,153395,2014-10-25

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104271会员总数
  • 57今日下载