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

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

于 2022-07-12 发布 文件大小:929.52 kB
0 169
下载积分: 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 个回复

  • SQL
    图书管理系统,能够查询,删除,添加等。 是一个非常不错的系统(Books management system management system, able to search, delete, add, etc.Is a very good system )
    2011-12-29 23:06:24下载
    积分:1
  • Plus_1-Ver0.2
    stm32 canfestival v1.0 stm32f103vct6上直接运行(stm32 canfestival v1.0 stm32f103vct6 run directly)
    2014-05-18 11:12:34下载
    积分:1
  • bestFitDecrease
    本代码,直接编译可用,解决NP难问题使用的是局部最优BFD算法,其中用到了链表以及大顶堆排序算法(This code can be compiled directly, and it can solve the NP hard problem. It uses the local optimal BFD algorithm, which uses the linked list and the big stack sort algorithm.)
    2018-07-19 11:23:22下载
    积分:1
  • 0.91寸OLED显示屏.rar
    说明:  0.96OLED stm32官方代码 0.91寸OLED显示屏+12832液晶屏+显示器件提供程序原理模块(stm32 0.96OLED Official Code and other)
    2020-06-19 00:40:01下载
    积分:1
  • YongciContronerCAN_V2.0.X-master
    说明:  永磁同步电机控制器程序,主控芯片为dspic30F6012A(Program of permanent magnet controller, the main control chip is dspic30F6012A)
    2020-01-15 11:53:03下载
    积分:1
  • GB28181平台对接-上级下级级联
    本程序适用于GB28181平台对接,现阶段已对接成功海康、科达、大华、雄迈平台,很多GB28181的坑已经填平,在2014年送北京一所送检成功
    2022-05-23 20:08:15下载
    积分:1
  • time-controler
    作息时间控制器,实现屏幕的时分显示,冒号闪烁表示秒。此外,有定时闹钟的设定与响应,日历查看等。(Rest time controller, the screen midnight show, colon flashes to indicate seconds. In addition, the timing settings for the alarm response, calendar view.)
    2013-05-21 15:41:37下载
    积分:1
  • STM32PULSE
    毕业设计,基于STM32平台,通过传感器脉搏计数,进行数字显示并通过GSM上传到手机,通报给客户(Graduation design, based STM32 platform, through the sensor pulse counting, digital display and uploaded to the phone via GSM, communicated to the customer)
    2015-09-10 09:15:35下载
    积分:1
  • Test
    说明:  基于C++实现des加密算法,包含详细说明,基于C++实现des加密算法,(encryption algorithm, encryption algorithmencryption algorithm encryption algorithm)
    2018-12-31 05:42:39下载
    积分:1
  • Consensus
    含过时信息多智能体系统一致性Matlab仿真(Simulation of Unified consensus of Multi-Agent System with Outdated Information by MATLAB)
    2020-10-19 15:37:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载