介绍了基于单片机C8051F020的通用串口适配器的设计与实现方法,即由单片机控制的智能化一对多口收发信号转换器。通过采用C51对单片机进行编程,控制与RS-232(标准RS-232电平)、RS232(TTL电平)、RS-422接口的数据通信;采用C++ Builder作为开发平台,通过RS-232接口实现上位机对适配器各个通信端口的控制。 Abstract: Design and realization of a universal serial port adapter based on the MCU C8051F020 are introduced.The adapter is an intelligent one-to-more receiving and transmitting signal converter controlled by the MCU. By programming the MCU with the language C51,MCU control data communication between the MCU and RS-232(RS-232 level),RS-232(TTL level),RS-422 port; Using C++ Builder as the development plane, by one RS232 port, the upper PC can control each of the communication port of the adapter.
上传时间: 2013-11-19
上传用户:hebanlian
为了提高环境参数采集的自动化水平,提升效率,设计了无线传感器系统。本系统运用了传感器技术、通信技术和单片机技术,实现了对环境温度、湿度、光照度以及可燃性气体浓度等参数的检测。它能够实时地与上位机进行无线通信,满足对环境参数实时监测的要求。 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
本文介绍了基于AT89C52 单片机的自动水温控制系统的设计及实现过程。该系统具有实时显示、温度测量、温度设定并能根据设定值对环境温度进行调节实现控温的目的以及达到上下限温度报警功能,控制算法是基于数字PID 算法。关键词 :PID AT89C52 脉宽调制 实时 Abstract : This article describes AT89C52 single-chip microcomputer-basedautomatic water temperature control system design and implementation process. Thesystem has real-time display, temperature measurement, temperature settings and theenvironment in accordance with the temperature settings adjusted to achieve thepurpose of temperature control and reach the upper and lower limits of temperaturealarm function, the control algorithm is based on the digital PID algorithm.Keyword: PID AT89C52 PWM real time
上传时间: 2013-10-10
上传用户:归海惜雪
bayeserr - Computes the Bayesian risk for optimal classifier. % bayescln - Classifier based on Bayes decision rule for Gaussians. % bayesnd - Discrim. function, dichotomy, max aposteriori probability. % bhattach - Bhattacharya s upper limit of mean class. error. % pbayescln - Plots discriminat function of Bayes classifier.
标签: Classifier classifier bayeserr Computes
上传时间: 2015-06-14
上传用户:sunjet
Computes estimates for the number of forests of a graph, input as a 0-1 incidence matrix. Notes: Compile in C++, "g++ -o span_forest span_forest.c". The program does not demand that the matrix is symmetric with 0 diagonal, but uses only the upper triangular part.
标签: estimates incidence Computes forests
上传时间: 2013-12-26
上传用户:com1com2
平均因子分解法,适用于正定矩阵First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X=U U, where U is the square root matrix of X, and satisfies: (1) U U = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is "positive definite" which guarantees the existence of such kind of decomposition.
标签: 分解
上传时间: 2013-12-24
上传用户:啊飒飒大师的
%CHECKBOUNDS Move the initial point within the (valid) bounds. % [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,LB,UB,nvars) % checks that the upper and lower % bounds are valid (LB <= UB) and the same length as X (pad with -inf/inf % if necessary) warn if too long. Also make LB and UB vectors if not % already. % Finally, inf in LB or -inf in UB throws an error.
标签: CHECKBOUNDS the initial bounds
上传时间: 2015-10-26
上传用户:caiiicc
%DEFINEV Scaling vector and derivative % % [v,dv]= DEFINEV(g,x,l,u) returns v, distances to the % bounds corresponding to the sign of the gradient g, where % l is the vector of lower bounds, u is the vector of upper % bounds. Vector dv is 0-1 sign vector (See ?? for more detail.) % % Copyright (c) 1990-98 by The MathWorks, Inc. % $Revision: 1.2 $ $Date: 1998/03/21 16:29:10 $
标签: DEFINEV derivative distances Scaling
上传时间: 2013-12-24
上传用户:sz_hjbf
This program illustrates how to erase, write, and read FLASH memory from application code written in C . This routine exercises the upper 128- byte FLASH sector.
标签: illustrates application program written
上传时间: 2013-12-18
上传用户:chenxichenyue
This will sample all 8 A/D-channels by the continous mode. Each end of conversion will call an interrupt routine, where the AD-channel is put to Port4[2..0] and the upper nibble of the result is put to Port4[7..4]. Port 4 is connected to the user LEDs of the FlashCan100P Evaluation-Board
标签: will D-channels conversion continous
上传时间: 2013-12-09
上传用户:zm7516678