-
ucosii51
这是一个用51单片机系统仿真ucosii工作的protues电路
本系统包括扩展64k RAM的单片机系统和杨屹移植到51单片机的ucosii 系统
使用方法:
1.安装Protues7.4版,然后用protues打开protues 8051 simulation 文件夹
中的extern ram.DSN 文件
2.打开extern ram.DSN 后,双击单片机在弹出的窗口中的Program File 选项 中选择yy.hex文件。
(yy.hex其实就是yy文件夹中keil文档编译出来的hex文 件,yy文件夹是杨屹的ucos51 系统,用keil 2
可以打开)
3.在Clock Frequency选项中输入22.184M(杨屹的ucos51 用的是22.184M hz的单片机频率)
4.双击VTERM串口调试显示屏,在Baud Rate 选项中选择19200的波特率
5.保存,点击运行就可以看到经典的hello world 了。
(1. Protues7.4 version installed, and then open the protues folder protues 8051 simulation
The extern ram.DSN file
2. Open extern ram.DSN, double-click the pop-up window of SCM in the Program File option, select yy.hex file.
(yy.hex actually yy folder keil out of the document compiled hex files, yy folder is Yang Yi s ucos51 system, using keil 2
Can open)
3. In the Clock Frequency option to enter 22.184M (Yang Yi of the ucos51 using a microcontroller 22.184M hz frequency)
4. Double-click VTERM serial debug display, in the Baud Rate select 19200 baud rate options
5. Save, click Run you can see the classic hello world)
- 2010-03-09 19:40:03下载
- 积分:1
-
ds18b20
s51控制的ds18b20温度检测模块 源码用keil编译的(s51 ds18b20 temperature control detection module source code compiled with keil)
- 2015-12-27 10:45:37下载
- 积分:1
-
2-TCP Client
STM32103 W5500 tcpclient
- 2020-06-22 11:00:01下载
- 积分:1
-
温控热水资料
基于51单片机对水温进行PID控制,维持水温,水温可设定。内附Verilog代码PCB和仿真程序。(Based on 51 single-chip computer, the water temperature is controlled by PID to maintain the water temperature, and the water temperature can be set.)
- 2019-01-23 11:22:53下载
- 积分:1
-
sun
基于ARM的俄罗斯方块设计,本次将设计实现一个用C语言编写的、在基于ARM核心的ADuC7020 ARM开发板上实现的单机版的俄罗斯方块小游戏。使用Keil3编程软件对C语言代码进行编写,支持按键操作,在实现过程中涉及了LCD液晶屏的图形显示、按键控制、LED控制、中断、蜂鸣器等嵌入式的编程技术。(Tetris ARM-based design, this will be designed to achieve a C language, the ADuC7020 ARM development board ARM core-based implementations of stand-alone version of the Tetris game. Use Keil3 programming software code written in the C language, support for key operations involved in the implementation process of the LCD screen graphical display, control buttons, LED control, interrupt, buzzer embedded programming techniques.)
- 2014-01-10 11:19:18下载
- 积分:1
-
51黑论坛_51_DHT11
说明: DHT11检测温湿度同时显示在LCD1602的代码(DHT11 detects the temperature and humidity while displaying the code on the LCD1602)
- 2019-03-19 14:48:01下载
- 积分: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
-
hongwai
单片机学习 红外遥控编码详细资料 34页 (Infrared remote control encoded data)
- 2013-04-12 09:38:05下载
- 积分:1
-
STM32F107_CAN_LIN
基于STM32的CAN LIN收发通信程序,自测通过(STM32 based CAN LIN transceiver communication program)
- 2020-08-28 09:48:12下载
- 积分:1
-
temperature_control
这是一个用keil-51编写的C51程序,里面含有温度控制的PID核心算法,这为温度的精密控制提供了保证,同时有液晶12864的驱动,而且有PCB电路图,供大家学习和参考。(This is a written with keil-51 C51 program, which contains the core PID temperature control algorithm, which is the precise temperature control can be ensured, while an LCD 12864 driver, but also PCB circuit, for your study and reference.)
- 2020-11-20 15:39:37下载
- 积分:1