摘要:系统d~STC89C52单片机为核心的控制模块、速度里程测量模块、温度测量模块以及声光报警模块等部分组成。系统利用霍尔传感器原理进行速度和里程的测量,通过Ds18B2O温度传感器进行温度测量,通过单片机实现速度、温度的警示。系统可作为自行车运动时的码表的使用。
上传时间: 2013-10-13
上传用户:dljwq
#include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
上传时间: 2013-10-21
上传用户:13788529953
独特的单线接口仅需一个端口引脚进行通讯l 每个器件有唯一的 64 位的序列号存储在内部存储器中l 简单的多点分布式测温应用l 无需外部器件l 可通过数据线供电。供电范围为3.0V到5.5V。l 测温范围为-55~+125℃(-67~+257℉)l 在-10~+85℃范围内精确度为±5℃l 温度计分辨率可以被使用者选择为9~12位l 最多在 750ms 内将温度转换为12 位数字l 用户可定义的非易失性温度报警设置l 报警搜索命令识别并标志超过程序限定温度(温度报警条件)的器件l 与DS1822兼容的软件l 应用包括温度控制、工业系统、消费品、温度计或任何热感测系统
上传时间: 2013-11-15
上传用户:zhyfjj
为了扩大监控范围,提高资源利用率,降低系统成本,提出了一种多通道视频切换的解决方案。首先从视频信号分离出行场信号,然后根据行场信号由DSP和FPGA产生控制信号,控制多路视频通道之间的切换,从而实现让一个视频处理器同时监控不同场景。实验结果表明,该方案可以在视频监控告警系统中稳定、可靠地实现视频通道的切换。 Abstract: To expand the scope of monitoring, improve resource utilization, reduce system cost, a multiple video channels signal switching method is pointed out in this paper. First, horizontal sync signal and field sync signal from the video signal are separated, then control signal according to the sync signal by DSP and FPGA is generated to control the switching between multiple video channels. Thus, it achieves to make a video processor to monitor different place. Experimental results show that the method can realize video channel switching reliably, and is applied in the video monitoring warning system successfully.
上传时间: 2013-11-09
上传用户:不懂夜的黑
为电力系统开关特性测试仪专门开发的数据采集及测试信号控制主控单元。DTE0802 同时具有 USB2.0 总线高速数据采集功能,可经 USB 电缆接入各种台式计算机、笔记本机、工控机连接,构成实验室、产品质量检验中心、特别是野外测控、医疗设备等领域的数据采集、波形分析和处理系统,也可构成工业生产过程控制监控测量系统。而且它具有体积小,即插即用等特点,因此是便携式系统用户的最佳选择。
上传时间: 2013-11-12
上传用户:18602424091
组态王软件是一种通用的工业监控软件,它融过程控制设计、现场操作以及工厂资源管理于一体,将一个企业内部的各种生产系统和应用以及信息交流汇集在一起,实现最优化管理。它基于Microsoft Windows XP/NT/2000 操作系统,用户可以在企业网络的所有层次的各个位置上都可以及时获得系统的实时信息。采用组态王软件开发工业监控工程,可以极大地增强用户生产控制能力、提高工厂的生产力和效率、提高产品的质量、减少成本及原材料的消耗。它适用于从单一设备的生产运营管理和故障诊断,到网络结构分布式大型集中监控管理系统的开发。
上传时间: 2013-11-11
上传用户:molo
LonWorks 开发技术是用于开发监控网络系统的一个完整的技术平台。介绍了神经元芯片的基本结构及I / O 配置,神经元芯片可提供单端、差分和特殊应用模式3 种网络通信方式,便于现场工业设备的联网通信。分析了电力线收发器PLT-22 的应用,硬件电路由电力线收发器PLT-22、神经元芯片和MAX186 组成,软件采用Neuron C 专门为神经元芯片设计的程序语言编写,给出了程序流程图及关键的程序代码。实际应用表明:基于LonWorks 电力线收发器PLT-22 智能数据测控节点通信性能好,电力网络能够用于控制数据的传输。关键词: LonWorks; 神经元芯片; 电力线收发器PLT-22; MAX186; Neuron C
上传时间: 2013-10-27
上传用户:yoleeson
题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b这是条件运算符的基本例子。
上传时间: 2015-01-08
上传用户:lifangyuan12
RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s
标签: person_key RSA 算法
上传时间: 2013-12-14
上传用户:zhuyibin
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda