登录
首页 » c » LPC1114 MPU6050六轴姿态传感器DMP方式(很稳定)

LPC1114 MPU6050六轴姿态传感器DMP方式(很稳定)

于 2022-07-12 发布 文件大小:929.52 kB
0 154
下载积分: 2 下载次数: 1

代码说明:

//使用NXP的LPC1114FN33的P0_11,P1_10连接MPU6050的IIC,采用MPU6050的DMP方式,直接获取四元数计算姿态,数据很稳定,还可以初始化零位,最大计算频率200Hz,一般的应用足够 int main (void) { int16_t temp[9]; // float ypr[3]; float temp1; float temp2; int16_t angle_temp1,angle_temp2,angle_temp3,angle_circle; // uint8_t i,ucErr,sign = 0; // uint8_t flash_temp[256],flash_temp2[256],i; int16_t Math_hz=0;//,last_Math_hz = 0; int16_t yaw,pitch,roll,full_yaw; int16_t last_yaw=0; SystemInit(); /* Enable AHB clock to the GPIO domain. */ LPC_SYSCON->SYSAHBCLKCTRL |= (1

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

发表评论

0 个回复

  • 我的web浏览器
    这是一个简易的WEB浏览器。(This is a simple WEB browser.)
    2004-12-21 19:42:12下载
    积分:1
  • tuxiangzhenshiganshanweijianmo.pdf
    形状和表面颜色是表征真实物体属性的两个要素.随着三维扫描技术的发展,获取精确稠密的三维数据已经 比较容易.通过对获取的三维数据做相关处理,就能够生成正确表达物体形状的几何模型,但仅仅如此还不足以精 确建模真实物体.为了建立照片真实感的三维模型,还需要将物体的表面颜色和几何模型融合.如果彩色相机和三 维扫描仪固定在一起,这个问题很容易解决.但是,这种固定采集方式在应用时很不方便,对采集数据限制很大,因 此需要将三维数据和彩色图片采集分开进行,通过后期合成方式来融合两种数据.(err)
    2008-03-03 15:32:46下载
    积分:1
  • 19
    说明:  在实现本实例之前先来简要了解一下加密的概念,加密是指通过 某种特殊的方法,更改已有信息的内容,使得未授权的用户即使得到 了加密信息,如果没有正确解密的方法,也无法得到信息的内容。谈 到加密的话题,一些读者一定非常感兴趣,而且会联想到复杂的加密 算法,本实例主要使用异或“^”运算符简单地实现了对数字加密的 功能(Take a brief look at the concept of encryption before implementing this example, encryption is defined by some special way, has changed the content of the information, the unauthorized users even get the encrypted information, if there is no correct decryption method can not get the information. When it comes to the topic of encryption, some readers will be very interested, and will associate the complex encryption algorithm. This example mainly uses XOR "^" operator to realize the function of digital encryption simply.)
    2018-01-01 18:58:03下载
    积分:1
  • LMSzishiyinglubo
    自适应滤波,用LMS算法做的,供大家参考(Adaptive filter, LMS algorithm used to do, for your reference)
    2011-06-02 02:37:16下载
    积分:1
  • PCtoLCD2002
    字摸提取软件,可以是图片,可以是汉字,并且大小可调,好用至极(Braille extraction software, which can be pictures, which can be characters, and the size is adjustable, extremely easy to use)
    2013-08-22 21:02:23下载
    积分:1
  • Ethernet-communication-
    C#串口,以太网通信代码,很详细的代码。可以使用(C# serial and Ethernet communication code, very detailed code. You can use)
    2020-07-01 01:20:02下载
    积分:1
  • 单例模式-工具箱02
    说明:  C# Cheat Sheet for your reference
    2020-06-24 08:20:02下载
    积分:1
  • USB读卡器(Slave)实验
    说明:  本实验将实现如下功能:开机的时候先检测SD卡和SPI FLASH是否存在,如果存在则获取其容量,并显示在LCD上面(如果不存在,则报错)。之后开始USB配置,在配置成功之后就可以在电脑上发现两个可移动磁盘。我们用DS1来指示USB正在读写,并在液晶上显示出来,同样,我们还是用DS0来指示程序正在运行。(This experiment will achieve the following functions: when booting, first detect the existence of SD card and SPI FLASH, and if there is, obtain its capacity, and display it on the LCD (if not, report an error). Then the USB configuration is started, and after the configuration is successful, two removable disks can be found on the computer. We use DS1 to indicate that the USB is reading and writing, and display it on the LCD. Similarly, we use DS0 to indicate that the program is running.)
    2020-06-24 05:40:02下载
    积分:1
  • slua543
    说明:  Unitrode Benchmarq BQ2092 / BQ2040 / BQ2060 用于bq275xx电量计德州仪器的WinCE / Linux驱动程序(Unitrode Benchmarq BQ2092/BQ2040/BQ2060 WinCE/Linux Drivers for bq275xx Fuel Gauge Texas Instruments)
    2020-06-17 05:40:02下载
    积分:1
  • Ray
    Orleans是一个框架,它提供了一种直接构建分布式高规模计算应用程序的方法,而无需学习和应用复杂的并发或其他扩展模式。 Ray在Orleans框架进行封装,在一致性方面得到了很好的处理(A straightforward approach to building distributed, high-scale applications in .NET. Orleans is a framework that provides a straightforward approach to building distributed high-scale computing applications, without the need to learn and apply complex concurrency or other scaling patterns.)
    2020-06-21 08:40:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载