详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于RS-485总线传输的接口电路原理图。根据组态王提供的通讯协议和单片机多机串口通讯的原理,给出程序设计流程与思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
上传时间: 2013-12-19
上传用户:tecman
介绍一种基于C8051单片机的动态心电监护系统。该系统由两部分组成:以C8051F320单片机为核心的数据采集装置和以PC机为平台的分析处理系统。硬件电路功耗低,由单片机自带的USB接口将数据传送给PC机。软件平台采用LabVIEW可视化虚拟仪器系统开发平台,将传统仪器的功能模块集成到计算机中,用户可通过修改虚拟仪器的程序改变其功能。采用USB接口实时传输心电数据,并将数据采集模块设计为计算机外设,使该系统高速快捷、小巧便携。 Abstract: In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.
上传时间: 2013-11-13
上传用户:zhangzhenyu
设计一种基于AT89C52的语音录放系统,利用单片机、ISD2560语音录放器件、麦克风、扬声器等元器件实现硬件电路的设计,并利用C51高级语言设计ISD2560器件控制字的写入和定时中断程序。经软硬件调试,结果表明该系统录放效果良好,具有一定的工程实用价值。 Abstract: Voice recording and playback system based on AT89C52is designed in this paper.Using the single-chip microcomputer,voice recording and playback chip ISD2560,microphone and speaker to realize the hardware circuit design.Writing ISD2560control words and timing interrupt procedures are designed by C51advanced language.Through the hardware and software test,voice recording and playback system play better voice,and this system has some engineering practical values.
上传时间: 2013-10-20
上传用户:ywcftc277
该系统由单片机89S52控制模块,程控宽带放大模块,整形模块,FPGA内频率、相位差测量模块等构成,采用等精度测频法测出频率和周期,可测量有效值为0.01~5V,频率范围1Hz~20MHz信号的频率、周期信号,精度高达10-6。采用计数法测量相位差,该系统可测量有效值0.5~5V,频率10Hz~100kHz信号的相位差,精度为1°。系统功能由按键控制,测量结果实时显示,人机界面友好。 Abstract: The system consists of the following functional blocks:89S52microcontroller controlling module,programmable amplifier module,comparator module,frequency and phase difference testing module in the FPGA.The system use the equal accuracy frequency-examining technique it measures frequency and circle of signal which its ranges is from1Hz to20MHz and the amplitude of which its range is from0.01Vrms to5Vrms,precision is up to10-6.Using of count method,the system detects the phase difference of signal,the amplitude of whic its range is from0.5Vrms to5Vrms and the frequency of which its ranges is from10Hz to100kHz,precision is up to1°,The system functions is controlled by certain keys,measurement results are displayed in real-time and it is friendly interface.
上传时间: 2013-11-04
上传用户:CHINA526
介绍了当前普通标记机控制系统现状及其存在缺点,给出气动标记机及相频修正PWM模式的工作原理。采用ATmega16单片机和USB转换RS232接口器件CH341T实现驱动控制系统与PC的实时通讯,标记控制系统可升级到USB接口。采用基于ATmega16的相频修正PWM替换555振荡电路产生的PWM,可直接通过软件调整PWM信号。使用达林顿三极管TIP122替代直流继电器驱动高频电磁阀,使得电磁阀驱动电路简单,成本低廉。该控制系统已成功应用于气动标记机。 Abstract: In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.
上传时间: 2013-10-18
上传用户:1427796291
提出一种基于C8051F040的炮塔方位角测试系统的设计方案,给出测试系统的各个模块软硬件设计。炮塔方位角测试系统集数据采集,数据传输和数据显示等功能于一体,实现了炮塔方位角装置的离线检测。系统软件采用C51编写,对单片机进行有效电源管理,保证了系统的稳定性,可靠性。 Abstract: This paper puts forwards a design of artillery position system based on C8051F040,describes all modules hardware and software design of measurement system.The system has the function of information collection,transmission,and display.It can measure artillery position system in offline.The system software using C51can manage the power of single chip microcomputer,guarantee the stability,reliability.
上传时间: 2014-12-27
上传用户:7891
介绍基于VHDL的微型打印机控制器的设计。论述了微型打印机的基本原理,以及实现控制器的VHDL语言设计。打印机的数据来自系统中的存储模块,根据需要控制打印。该微型打印机控制器可取代传统的微型打印机,且抗干扰性好,可靠性高,具有较强的移植性,稍加改动就可应用于不同场合。 Abstract: This paper introduced the design method of micro printer controller based on VHDL.The basic principles of microprinter is explained,as well as the realization of the controller by VHDL language.The printer data is from the system memory modules,can control printer.The design of microprinter controller has antigood and high reliability,it can replace the traditional printer.The controller has very good portability,and need little modify that can use in different situation.
上传时间: 2013-11-03
上传用户:dudu1210004
介绍一种多功能音乐播放器,它是以AT89S52单片机为核心,并辅有一些外围器件,采用汇编语言编写程序,实现多功能音乐播放,歌曲自动循环播放和使用琴键自编曲目功能。此外,彩灯显示歌曲节奏,按键跳转到喜爱曲目,液晶显示当前播英文曲目。并给出了系统软硬件设计。 Abstract: It introduces a multifunctional music player,taking AT89S52 single-chip microcomputer as hardware control core and using some peripheral elements.Programmes are compiled in assembly language to act as expected.There are two functional modes in this system.One is to make the music play automatically and consecutively,the other is to compose new songs through keys.In addition,lights show the pace of music and the English names can be displayed in the liquid crystal screen.With perfect combination of hardware and software,the music player can meet many music lovers’needs for multifunctional music player.And the hardware and software of the system are given.
上传时间: 2013-11-18
上传用户:xiaodu1124
介绍一种基于C8051F060单片机和NAND Flash的数据采集存储系统,该系统可实现3路信号采样,每路采样率为5KS/s,通过异步串行通信接口实现数据传输。并详细说明系统的软件设计。 Abstract: An acquisition and storage system based on C8051F060and NAND Flash is designed in this paper.The system is used to sample three-channel of signal,5KSPS each channel,and can upload data to test bench through UART(Universal Asynchronous Receiver/Transmitter).The software design is discussed in detail.
上传时间: 2013-10-12
上传用户:Jesse_嘉伟
应用德国Micronas公司的CDC3207G微控制器开发了一款汽车仪表板系统。详细地介绍了该系统的硬件原理,以及步进电机,音频控制,LCD显示,LED指示灯和报警灯等几个模块的实现方法。应用μC/OS-II实时操作系统开发软件。着重介绍了启动代码的设计和任务的规划。 Abstract: A dashboard system is developed by using CDC3207G microcontroller made by Micronas.The hardware of the sys-tem and the realization of the step motor module,audio module,LCD display and LED indicator and alarm module are ex-plained in detail.The μC/OS-II real-time operating system is used for the software development and the starting code design and the task planning is explained specifically.
上传时间: 2013-10-26
上传用户:x4587