-
STM8-MCU
STM8 源代码
STM8 programming language
TMIR1 TMIR2 SPI IIC (STM8 programming language
TMIR1 TMIR2 SPI IIC )
- 2012-05-07 17:25:37下载
- 积分:1
-
最终版跷跷板
说明: 本实验开机后,先初始化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
-
CAN收发
说明: stm32版本的can通信的接收与发送例程,扩展帧方式(Receiving and sending routines of STM32 version can communication, extended frame mode)
- 2019-03-13 14:51:05下载
- 积分:1
-
ADC
avr-adc ADC:模数转换(AD)实验(avr-adc ADC: analog-digital conversion (AD) experiment)
- 2011-10-25 09:00:27下载
- 积分:1
-
5529控制舵机
msp430f5529通过输出PWM波控制舵机(Msp430f5529 control steering gear)
- 2020-10-12 20:57:32下载
- 积分:1
-
ad-E31TTL50
单片机ad转换 实时显示在1602上 并通过串口实时发送(Single chip microcomputer for AD conversion, and AD conversion data real-time display on 1602, and through wireless E31TTl50 serial port real-time send to other terminals)
- 2017-07-23 21:43:15下载
- 积分:1
-
bin转s19
BIN文件转换成带地址的S19文件的工具,在windows平台下运行,一直在用比较方便。(The tool for converting BIN files into S19 files with addresses, which runs on Windows platform.)
- 2020-06-18 22:40:02下载
- 积分:1
-
wave-height
港口海岸工程中波高测量后,用于波高统计的上跨零点法。(wave height)
- 2021-04-14 14:38:55下载
- 积分:1
-
ADC+DMA+串口
AD转换,DMA传输,通过串口实现上位机传输(AD conversion, to achieve the host computer transmission)
- 2017-06-24 16:59:22下载
- 积分:1
-
chaoshengboceju
超声波测距(5 28线性处理),测量线性度很高(Ultrasonic Ranging (528 linear processing), high linearity measurements)
- 2013-09-01 21:20:13下载
- 积分:1