文中所设计的基于AVR单片机的轮胎模具内径测量系统,采用光栅尺和激光测距仪测量模具内径,单片机通过接收上位机的命令控制步进电机改变测量点,同时控制光栅尺数显表进行数据采集实时返回给上位机。上位机将光栅尺数据和激光测距仪数据进行运算后得到模具的内径,测量精度在4 μm以内。
上传时间: 2013-11-19
上传用户:tianyi223
单片机
上传时间: 2013-10-26
上传用户:wab1981
USB2I2C是一个USB总线的转I2C总线的专用接口芯片。通过USB2I2C芯片用户可以非常方便地实现PC机USB总线和下位机端各种I2C/IIC设备(如,ATMEL公司的AT24CXX系列EEPROM;I2C总线8位并行IO口扩展芯片PCF8574/JLC1562;I2C接口实时时钟芯片DS1307/PCF8563/SD2000D/M41T80/ME901/ISL1208/;I2C数据采集ADC芯片MCP3221(12bitADC)/ADS1100(16bitADC)/ADS1112(16bitADC)/MAX1238(12bitADC)/MAX1239(12bitADC);I2C接口数模转换DAC芯片DAC5574(8bitDAC)/DAC6573(10bitDAC)/DAC8571 (16bitDAC)/;I2C接口温度传感器TMP101/TMP275/DS1621/MAX6625,等)之间的通信。 USB2I2C芯片上位机PC端提供简单易用的USBIOX.DLL动态库调用,可以方便地被VB,VC,Delphi等上位机开发工具调用
上传时间: 2014-12-26
上传用户:Amygdala
介绍一种基于AVR单片机(Atmegal28)实现的直流电源监控系统的设计方案及其软、硬件设计思路。该监控系统能检测直流电源系统的各种实时运行数据及状态,自动监测各种故障并发出声光报警,实现蓄电池的智能管理;通过RS232或RS485与上位机通信,实现遥信、遥测、遥控和遥调等功能,能较好地满足无人值守变电站及配网自动化的需要。
上传时间: 2013-11-11
上传用户:gxf2016
西门子从PLCSIM V5.4 SP3开始增加了对与PLC之间通讯的仿真能力,但是这种能力仅仅局限于Profibus-S7之间的通讯。 S7通讯是S7系列PLC基于MPI,Profibus,Ethernet网络的一种优化的通讯协议,主要用于S7-400之间,S7-300与S7-40之间的主对主通讯,也非常适合S7 PLC与HMI通讯,例如与操作面板OP/TP以及上位监控软件Wincc的通讯,下面的例子将围绕Profibus网络展开S7的通讯。 每个CPU都有资源限制,如过程映像区的大小,计数器/定时器的个数,同样,通信的资源也有限制,在产品样本中有CPU的链接数量指标,这就是指CPU的通信资源。旧版本的S7-300PLC有动态连接与静态连接的区分,动态连接指通过MPI,PLC与PLC通过调用SFC通信的通信连接,调用SFC时连接建立,停止调用时连接仍然维持,通过调用断开连接的SFC才能释放连接资源;静态连接指与HMI的通信连接,当把OP/TP、Wincc连接到同一CPU时会发生有的OP/TP、Wincc连接不上,这是因为使用的连接数已经超过了CPU的连接资源限制,此外还有一个静态连接资源保留给编程器使用。
上传时间: 2013-10-12
上传用户:13736136189
为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-4~4 V范围步进为0.1 V的电压来驱动电致变色器件的颜色显示,与传统的颜色识别电路设计相比,识别的精度和速度都得到了明显改善。 Abstract: In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
上传时间: 2013-11-09
上传用户:franktu
以C8051F020为核心处理器,设计无线传感器网络数据采集系统。系统采用SZ05-ADV型无线通讯模块组建Zigbee无线网络,结合嵌入式系统的软硬件技术,完成终端节点的8路传感器信号的数据采集。现场8路信号通过前端处理后,分别送入C8051F020的12位A/D转换器进行转换。经过精确处理、存储后的现场数据,通过Zigbee无线网络传送到上位机,系统可达到汽车试验中无线测试的目的。 Abstract: This paper designs a wireless sensor network system for data acquisition with C8051F020 as core processors.The system used SZ05-ADV wireless communication module,set up a Zigbee wireless network, combined with hardware and software technologies of embedded systems,completed the end-node 8-locale sensor signal data acquisition.Eight locale signals were sent separately into the 12-bit ADC of C8051F020 for conversion through front treatment.After accurate processing and storage,the locale data was transmitted to the host computer through Zigbee wireless.The system achieves the purpose of wireless testing in vehicle trial.
标签: C8051F020 Zigbee 汽车测试 系统设计
上传时间: 2013-11-23
上传用户:dsgkjgkjg
介绍一种无极可调交流电子负载设计的新方法,由ATmega48单片机输出PWM波,通过上位机设定不同的占空比控制场效应管的通断时间,即改变流过场效应管的平均电流。根据电流的大小,可以等效为相应的负载,并将采集的电流值显示在上位机上。文中对该系统的软﹑硬件设计思路作了详细的分析,阐述了其设计原理。 Abstract: A new type electronic load is introduced.Due to ATmega48 microcomputer output PWM wave.The different duty is set ratio through PC to control FET turn-on time.We can equivalent homologous load according the current and display the current at PC.The hardware and software designing are analysed in detail. The principle is explained and the output is also given.
上传时间: 2013-11-23
上传用户:虫虫虫虫虫虫
介绍了基于单片机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