-
这是从网上找来的一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID
参数必须由具体对象通过实验确定。由于单片机的处理速度和...
这是从网上找来的一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID
参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,
而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可
大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余
数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。
- 2022-04-07 10:43:08下载
- 积分:1
-
Sl811 increase the use of single
利用单片机arm加sl811芯片实现对u盘读写的控制,代码仅供大家参考,如有不对之处,敬请谅解-Sl811 increase the use of single-chip chip arm of the u disk read and write control code for your reference, if doing so after updating
- 2022-03-17 18:22:58下载
- 积分:1
-
支持键盘双击的C51程序,用于单片机辨别键盘双击
支持键盘双击的C51程序,用于单片机辨别键盘双击-support the C51 procedures for identifying keyboard click MCU
- 2022-02-02 13:56:31下载
- 积分:1
-
MP3的源程序,VS1003等,
MP3的源程序,VS1003等, -MP3 of the source code, VS1003, such as, MP3 source, VS1003, etc.
- 2022-08-13 04:00:59下载
- 积分:1
-
用C8051F020做的一个船进水检测系统
用C8051F020做的一个船进水检测系统-C8051F020 do with a boat influent Detection System! ! Ha ha
- 2023-02-08 13:25:03下载
- 积分:1
-
使用PWM6输出PWM信号,通过滤波电路实现DAC转换。
使用PWM6输出PWM信号,通过滤波电路实现DAC转换。-The use of the output PWM signal PWM6 through the filter circuit DAC conversion implementation.
- 2022-02-06 06:52:52下载
- 积分:1
-
Realize single
实现单片机对键盘的响应,并进行LCD显示-Realize single-chip microcomputer in response to the keyboard and LCD display
- 2022-12-29 18:10:03下载
- 积分:1
-
MSP430单片机的P2我收到4×4键盘中断通过串行通讯的实现…
MSP430的P2口接4*4键盘,通过中断方式实现串口通讯,通过PC端运行串口调试软件显示键号-MSP430 P2 I received 4* 4 keyboard, interrupted achieved through serial communications, PC terminal operations through serial debugging software, and display key,
- 2022-01-26 03:54:00下载
- 积分:1
-
用AD603提高超声波测距范围。超声波测距是一种非接触的测量方式,它是根据超声波从发射传感器到反射物体,再从反射物体到接收传感器的延迟时间.,利用距离/01....
用AD603提高超声波测距范围。超声波测距是一种非接触的测量方式,它是根据超声波从发射传感器到反射物体,再从反射物体到接收传感器的延迟时间.,利用距离/01. 2 ’,得到距离值,1 为声波在空气介质中的传播速度。由于反射超声波接收时的信号幅度与反射物体离接收传感器的距离远近有关,一般相差几十分贝-Ultrasonic Distance Measurement with the scope of AD603 improve. Ultrasonic Distance Measurement is a non-contact measurement, which is the ultrasonic sensor to the reflection from the launch of objects, objects from the reflector to the receiving sensor delay time., The use of distance/01.2, the distance values, one for the sound waves in air medium velocity. Receive as a result of reflection at the time of ultrasonic signal amplitude and the reflection from the object to receive the sensor distance, generally a difference of tens of decibels
- 2022-06-01 05:03:24下载
- 积分:1
-
我自己在别人基础上改写的MSP430F410_2部分的汇编代码,希望能对大家有所帮助...
我自己在别人基础上改写的MSP430F410_2部分的汇编代码,希望能对大家有所帮助-myself in other people rewritten on the basis of the compilation MSP430F410_2 part of the code, we hope to help
- 2022-11-29 16:25:04下载
- 积分:1