-
最终版跷跷板
本实验开机后,先初始化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
-
ZBMAP
基坑监测坐标位移小程序,能任意放大坐标位移。虽然小,但是是原创。多谢指教(Excavation monitoring coordinate displacement small program that can coordinate any displacement amplification. Although small, but it is original. Thank you advice)
- 2014-12-06 14:31:59下载
- 积分:1
-
485
STM32 MAX485 example code.
- 2014-01-25 21:22:17下载
- 积分:1
-
SD_FATsystem_V1.0.0
use MDD file system v1.0.0 and the MCU of PIC24FJ64GA002 to operate files with SD card!
very simple example, pleasure read the Read Me.txt file!
- 2012-08-17 14:42:58下载
- 积分:1
-
农业物联网基于STM32的LoRa无线通信
基于STM32的Lora无线通信sx1278的测试代码(Test code for Lora wireless communication sx1278 based on STM32)
- 2018-02-02 15:59:28下载
- 积分:1
-
DC-motor-control-implementation
直流电机的控制实现,开启,转速,还有占空比显示的功能(DC motor control to achieve open, speed, duty cycle display)
- 2011-06-28 16:51:24下载
- 积分:1
-
基于stm32-CAN控制伺服电机程序
使用stm32f407单片机的CAN通信控制驱动电机,并且该程序可以通过红外遥控(CAN communication with stm32f407 MCU is used to control the driving motor, and the program can be controlled by infrared remote control.)
- 2020-11-23 20:59:33下载
- 积分:1
-
K60版电磁
智能车竞赛电磁组参考程序,与大家分享,与大家一起学习(Smart car competition electromagnetic group reference program, to share with you)
- 2018-06-18 17:58:49下载
- 积分:1
-
lock
具有记忆以及错误报警功能的密码锁的protel原理图 c源码(Has the memory and error reporting function of combination lock c source code
)
- 2010-12-02 20:55:16下载
- 积分:1
-
chaoshengboceju
利用51单片机开发一个超声波测距仪,精确度0.5mm,测量距离5—7米。(The use of an ultrasonic range finder 51 MCU development, the accuracy of 0.5mm, measure the distance 5-7 meters.)
- 2014-05-25 16:01:13下载
- 积分:1