详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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
以89S52单片机和EP1C6Q240C8型FPGA为控制核心的多功能计数器,是由峰值检波、A/D转换、程控放大、比较整形、移相网络部分组成,可实现测量正弦信号的频率、周期和相位差的功能。多功能计数器采用等精度的测量方法,可实现频率为1Hz~10MHz、幅度为0.01~5Vrms的正弦信号的精确测频,以及频率为10Hz~100kHz、幅度为0.5~5Vrms的正弦信号精确测相。液晶显示器能够实时显示当前信号的频率、周期和相位差。该多功能计数器精度高,界面友好,实用性强。 Abstract: A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.
上传时间: 2013-11-15
上传用户:gy592333
介绍一种多功能音乐播放器,它是以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
介绍了一种基于C8051F020单片机的多路压力测量仪。该测量仪选用电阻应变式压力传感器采集压力信号,并经放大电路处理后送入C8051F020单片机,再由C8051F020单片机内部的A/D转换器将采集到的压力信号进行模数转化,然后分别对数据进行存储和显示。该测量仪能测量6路压力信号,并且各测量点都能单独检测和设置。由于采用了C8051F020单片机,简化了硬件电路,增强了抗干扰能力,使得测量仪具有测量精度高,冲击小等特点。 Abstract: A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
上传时间: 2013-11-16
上传用户:yare
公司简介 应广科技成立于2005年2月18日资本额RMB3千万台湾优良IC设计公司主要核心技术:领先全球的平行处理多核心单片机。以轫体取代硬体设计的创新技术与思维。精简的C语言编译器。97个精简指令开发容易,有效缩小程式空间提高工作效率。拥有全球数十项多核心单片机专利技术。经专业测试认证ESD达8千伏特以上。超高抗杂讯能力,超高抗干扰能力。
上传时间: 2014-12-27
上传用户:togetsomething
摘要:讨论了80C196MC单片机系统多微机互联方案,该系统以单片机为主模块,共享存储器、共享I/O、总线接口及仲裁器构成。重点分析了多处理机及总线接口逻辑的实现。关键词:单片机 公共总线 多机通讯
上传时间: 2013-11-03
上传用户:璇珠官人
主要介绍了以PIC18F2480单片机为处理器,基于可编程多路开关检测接口器件MC33993实现的车用多路开关检测接口电路的设计。该设计克服了以往基于分立元件的检测接口电路的弊端,简化了接口电路设计,保证了车用开关工作的可靠性和安全性。 Abstract: The design of automotive multiple switch detection interface circuit based on MC33993 is introduced mainly which adopts PIC18F2480 single chip microprocessor.This circuit overcomes shortage of traditional design which contains many schism elements, and the application of MC33993 also predigests the whole design of interface circuit and guarantees the dependability and security of the switch.
上传时间: 2013-11-19
上传用户:star_in_rain
介绍一种基于单片机的多路温度采集及监控系统,能够测量6路温度信号,具有计算机联网功能,各测量点可以单独监控和设置,可根据用户的需求自动控制。测量温度范围为-10 ℃~200 ℃,控制方式采用模拟量调压模式。该系统具有控制精度高、冲击小等特点。 Abstract: A temperature collecting and surveillance-controlling system based on sing-chip microcomputer is introduced. It can measure 6 channel signal of the temperature,and it has a function of network connection.The temperature measure points can be monitored and located, it can be controlled automatic according to user’s demand.The temperature range is -10℃ to 200℃.The model of control is adjustable voltage with simulation. It features high precision and little impact.
上传时间: 2013-10-23
上传用户:bjgaofei
LonWorks 推广应用的关键在于网络节点开发, 以TP / FT-10F 模块和AT89C2051 单片机为核心设计接口电路,开发了一种通用多输入/ 输出智能控制节点模块。通过软件调整模拟信号采集电路的量程;应用DAC7513 使放大器输出电压几乎等于电源电压;采用二极管隔离方式简化数字信号输入/ 输出电路;通过在电源引脚和接地引脚之间添加去耦电容,采用多层电路板布局,数字芯片的未用输入端接入高电平等方法,提高了抗电磁干扰能力;采取模拟、数字电路单元内部分别接模拟地和数字地,再将2 条地线接至一点的措施,有效地降低了静态放电的影响;提出了节点故障诊断策略流程。该通用多输入/ 输出智能控制节点模块运行可靠。关键词: LonWorks; 多输入/ 输出; 节点设计
上传时间: 2013-11-23
上传用户:515414293
摘要:介绍利用80C31单片机串行口、廉价的74HC164和74HC244集成块实现多个LED显示的一种简单方法,利用该方法设计的多路LED显示系统具有硬件结构简单、软件编程容易和价格低廉的特点。关键词:单片机 串行口 LED 显示 80C31
上传时间: 2013-12-31
上传用户:时代将军