-
最终版跷跷板
本实验开机后,先初始化MPU6050,然后利用DMP库,初始化MPU6050及使能DMP,最后,在死循环里面不停
读取:温度传感器、加速度传感器、陀螺仪、DMP姿态解算后的欧拉角等数据,通过串口上报给上位机(温
度不上报),利用上位机软件(ANO_Tech匿名四轴上位机_V2.6.exe),可以实时显示MPU6050的传感器状
态曲线,并显示3D姿态,可以通过KEY0按键开启/关闭数据上传功能。同时,在LCD模块上面显示温度和欧拉
角等信息。DS0来指示程序正在运行。另外,本例程也可以通过USMART调用MPU_Read_Byte/MPU_Write_Byte
等函数,来实现对MPU6050寄存器的读写操作(仅在UPLOAD OFF状态下).(This experiment starts with initializing MPU6050, then using DMP library, initializing MPU6050 and enabling DMP. Finally, it keeps on in the dead cycle.
Read: temperature sensor, accelerometer, gyroscope, Euler angle after attitude calculation of DMP and other data, report to PC through serial port (temperature).
The sensor of MPU6050 can be displayed in real time by using the upper computer software (ANO_Tech anonymous four-axis upper computer_V2.6.exe).
The state curve and 3D posture can be displayed, and the data upload function can be turned on/off by KEY0 button. At the same time, temperature and Euler are displayed on the LCD module.
Angle and other information. DS0 to indicate that the program is running. In addition, this routine can also call MPU_Read_Byte/MPU_Write_Byte through USMART
Equivalent function to achieve the read-write operation of MPU6050 registers (only in UPLOAD OFF state).)
- 2020-06-24 18:40:02下载
- 积分:1
-
yiweishumaguan
这是一个 在国信长天板实现一位数码管显示,模块化编程方法(This is one in the the Guoxin long day board to achieve a digital tube display, modular programming method)
- 2012-11-29 13:36:00下载
- 积分:1
-
FIFO-SCI_Modbus
TIF2801的modbus协议程序,带仿真函数(Modbus for TIF2801)
- 2020-11-18 14:59:38下载
- 积分:1
-
DiffADC_DAQ_UART_Send
C8051F120 实现四路的 差分ADC 采集,并且把其中的两路通过串口UART发送到电脑上。其中有通信方法RS232 说明和LabVIEW2010的上位机示波器。oscillograph(C8051F120 Different ADC DAQ LabVIEW 2010 Communication RS232 UART wavefrom oscillograph)
- 2012-02-05 02:34:09下载
- 积分:1
-
12864LCD
51单片机与12864LCD接口C源程序代码(51 Microcontroller Interface C source code with the 12864LCD)
- 2009-09-08 02:27:11下载
- 积分:1
-
8
说明: 课程:微机接口技术 课程设计题目:单片机最小系统(Course: Computer Interface Technology Curriculum Design Title: Single-chip minimum system)
- 2008-01-05 01:43:41下载
- 积分:1
-
1
说明: 单片机流水灯程序,流星灯,高级流水灯,程序简洁新奇。(SCM water lights, meteor lights, advanced light water, the program simple novelty.)
- 2013-10-20 19:16:17下载
- 积分:1
-
MDK-emWIN516
NXP LPC1788 移植emWin516 图形界面工程样例,7寸LCD外扩 RAM和Flash。(NXP LPC1788 transplant emWin516 graphical interface engineering sample, 7-inch LCD external expansion RAM and Flash.)
- 2013-11-14 16:20:18下载
- 积分:1
-
BDFM
spwm逆变器供电的无刷反馈电机调速系统的m文件编的算法()
- 2008-03-14 10:57:56下载
- 积分:1
-
Keilc51v802
单片机开发模拟仿真软件,KEIL最新版本V8.0,可进行ARM,AVR等多种硬件仿真。(MCU development simulation software, the latest version V8.0 KEIL, for ARM, AVR and other hardware simulation.)
- 2020-06-26 05:00:02下载
- 积分:1