-
HT
说明: HT32F1755单片机基础程序,LCD,延时,定时器等等(HT32F1755 microcontroller-based program, LCD, delay, timers, etc.)
- 2014-05-13 21:00:33下载
- 积分:1
-
12864testdisplay
说明: 万能的12864显示驱动程序,稍加修改可应用于多种单片机(Almighty 12864 display driver, slightly modified can be used in a variety of SCM)
- 2010-04-08 12:14:42下载
- 积分:1
-
MSP430F149tu
msp430f149的电器原理图,学习该单片机的必备资料(msp430f149 electrical schematics, learn essential information on the microcontroller)
- 2013-07-16 19:59:33下载
- 积分:1
-
key
模拟键盘击键,比较不错的一个程序.做软件仿真的(Analog keyboard keystrokes, compare a good one. To do software simulation of)
- 2007-11-08 06:10:39下载
- 积分:1
-
CAN
基于STM32F10ZET6的CAN通信代码,可以实现CAN通信,并显示在TFT屏幕上。( U57FA u4E8ESTM32F10ZET6 u7684A u901A u4E1 u4EE1 u7801 uFF0C u53EF u4E5 u5B9E u73B0CAN u901A u4FE1 uFF0C u5E76 u663E u793A u5728TFT u5C5F u5E55 u4E0A u3002)
- 2020-07-10 16:28:56下载
- 积分:1
-
15年电赛控制类——风力摆
说明: 风力摆是一种通过风机作为唯一动力驱动的装置,深入研究该系统对空间飞行器、四旋翼无人机的运动状态和卫星姿态控制具有重大意义。(Wind pendulum is a device driven by wind turbine as the only power. It is of great significance to study the motion state of space vehicle, quad-rotor UAV and satellite attitude control.)
- 2020-06-19 10:40:02下载
- 积分:1
-
timer
使用定时器TIM3输出四路的SPWM波,其中一二路、三四路波形一致,一二路与三四路波形相差180°(Timer TIM3 is used to output four SPWM waveforms, of which one, two, three and four waveforms are identical, and one, two and three and four waveforms are 180 degrees different.)
- 2020-06-19 18:40:02下载
- 积分:1
-
200711-0054-05
TMS28335初始化完成之后,
1、 先DDS产生73.35hz的方波。(问流量管固定频率)
2、 乘法器的另一个数字端输入乘数直接给一个固定值(按照5v),系数是固定的就是对应PID输出的那个接口,串行十二位信号输出(需要先定好一个GPIO接口)。
3、 再延迟一定的时间0.1s或其他时间之后,开始ad采集信号,分别采两路AD信号,此时不稳定(为什么要等到一定的幅值才开始采集AD信号)
4、 选择250点估计一个频率,频率估计的方法采用计算峰值次数的方法或者过零点,总之是为了保证精度采用时域估计的算法,这一块主要是一个扫频子程序,计算频率共振点。
5、 之后改变DDS的输出频率,循环对512点的数据进行扫频的处理
6、 频率控制完成之后,就可以缓慢降低PID控制输出的参数,此时暂时不计算频率,通过不断调整系数使AB的幅度保持在1 的范围内。
7、 测试幅度控制稳定之后a、采用幅度和频率同时控制b。采集数据进入频率估计和相位差估计的后续程序的大循环
8、 注意:采样和控制是同时进行的,所以要设置中断,以及看懂AD的程序,以及内部存储以及数据处理资源的分配。
(TMS28335 initialization is complete,
1, the first DDS generated square wave of 73.35hz. (Q flow tube fixed frequency)
2, another digital side of the multiplier input multiplier directly to a fixed value (in accordance with 5v), the coefficient is fixed corresponding PID output interface, serial twelve signal output (need to be a good one GPIO interface).
3, and then after a certain time delay 0.1s or other time, ad signal acquisition were collected two AD signal instability (Why wait until a certain amplitude began collecting AD signal)
4, 250 point estimate a frequency, frequency estimation method using the method of calculation of the number of peak or zero crossing, in short, in order to ensure the accuracy of time-domain estimation algorithm, this piece is a sweep subroutine to calculate the frequency resonance point.
5, after the change of the output frequency of the DDS data of 512 points, the loop processing Sweep
6, after the completion of the frequency control, it can sl)
- 2013-04-07 15:03:14下载
- 积分:1
-
avr_com
//实验板的AVR程序,uart应用,和计算机通讯,回送PC发送的数据
//接线定义:PD0-RXD PD1-TXD 开关位置:SW6-7/8打开。
//使用串口调试器,使用十六进制方式,首先让PC发送一个字符给MCU,然后将接收到MCU返回的值。
//记事:本程序旨在对uart的理解与演示,程序适合初学者使用.
//使用片外8MHz晶体,9600bps波特率(//Experimental board AVR procedures, uart applications, and computer communications, PC loopback send data// connection definition: PD0-RXD PD1-TXD switch location: SW6-7/8 open.// Use the serial port debugger, use the hexadecimal mode, let PC send a character to the MCU, and then will receive the MCU to return value.// Note: This program seeks to UART understanding and demonstration of procedures suitable for beginners to use.// Use the chip 8MHz crystal, 9600bps baud rate)
- 2007-10-26 20:41:31下载
- 积分:1
-
AD_lcd
基于TI公司的msp430g2553单片机的lcd显示程序,好用(Based on TI company s msp430g2553 MCU LCD display program, absolutely easy to use)
- 2013-09-12 12:23:53下载
- 积分:1