详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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
概述 HT46R32/HT46R34是8位高性能精简指令集单片机,专门为需要A/D转换的产品而设计,例如传感器信号输入。内置放大器/比较器和PWM调制功能使得这款单片机处理模拟信号的能力更加强大。 低功耗、I/O使用灵活、可编程分频器、计数器、振荡类型选择、多通道A/D转换运算放大器/比较器、脉冲测量功能、暂停和唤醒功能,使这款单片机可以广泛应用于传感器的信号处理、马达控制、工业控制、消费类产品、子系统控制等等。
上传时间: 2013-11-13
上传用户:哈哈hah
公司简介 应广科技成立于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
为了提高环境参数采集的自动化水平,提升效率,设计了无线传感器系统。本系统运用了传感器技术、通信技术和单片机技术,实现了对环境温度、湿度、光照度以及可燃性气体浓度等参数的检测。它能够实时地与上位机进行无线通信,满足对环境参数实时监测的要求。 Abstract: In order to increase the degree of automation and improve the efficiency of the environment monitoring parameters,the wireless sensor system was developed.Combining with the technique of sensor,automatic monitoring,communication and single-chip microcomputer,it realized real-time monitoring environment parameters,such as temperature,humidity,illumination,concentration of com- bustible gas and so on.At the same time it can communicate with upper personal computers,satisfy the desire of real-time monitoring.
上传时间: 2013-11-22
上传用户:longlong12345678
为了在工业生产及过程控制中准确测量温度,设计了一种基于低功耗MSP430单片机的数字温度计。整个系统通过单片机MSP430F1121A控制DS18B20读取温度,采用数码管显示,温度传感器DS18B20与单片机之间通过串口进行数据传输。MSP430系列单片机具有超低功耗,且外围的整合性高,DS18B20只需一个端口即可实现数据通信,连接方便。通过多次实验证明,该系统的测试结果与实际环境温度一致,除了具有接口电路简单、测量精度高、误差小、可靠性高等特点外,其低成本、低功耗的特点使其拥有更广阔的应用前景。 Abstract: In order to obtain accurate measuring temperature in industrial production and process control, a digital thermometer based on MSP430 MCU is designed. The system uses MSP430F1121A MCU to control DS18B20, and gets the temperature data, which is displayed on the LED. The temperature sensor DS18B20 and MCU transmit data through serial communication. MSP430 series has ultra-low power and high integration, DS18B20 only needs one port to achieve data communication. Through many experimental results prove, this system is consistent with actual environment temperature. The system has characteristics of interface circuit simple, high measuring accuracy, minor error, high reliability, besides, the characteristics of low cost and low power make it having vaster application prospect.
上传时间: 2013-10-16
上传用户:wettetw