在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(24,16)循环码软件实现编码、译码的方案。仿真结果表明(24,16)循环码能有效地克服来自通讯信道的干扰,保证数据通信的可靠及系统的稳定,使误码率大幅度降低。本论文对(24,16)循环码的研究结果表明,可以有效地降低错误概率和提高系统的吞吐量,实现纠错仅需要在接收端增加有限的存储空间和计算复杂度,具有一定的实用价值。 Abstract: Based on analyzing the theory of encoding and decoding of cyclic code, this paper showed the schemes of encoding and decoding of(24,16)cyclic code by the software and based on microcontroller. Simulation results show that using (24,16) cyclic codes can effectively overcome the interference from communication channel, ensure the reliability and stability of data communication systems, and reduce the bit error rate greatly. The results of this paper show that by using the (24,16) cyclic code, the error rate can be reduced and the system throughput can be improved. Meanwhile, the system only needs to enlarge limited storage space and computation the complexity at the receiving end to realize error correction. Thus the (24,16) cyclic code has a practical value.
上传时间: 2013-11-09
上传用户:gaoliangncepu
为解决当前计算机串行通讯接口只有USB,难以满足旧型号设备或某些单片机要求RS232通讯的问题,设计出两款RS232/USB电路。采用CH341A与MAX223集成电路芯片构建标准9线RS232/USB通用接口转换器,无需编程。采用CH341A与PIC16F877A构建单片机与计算机之间的USB通讯电路,软件遵循RS232通讯协议,硬件进行电平转换。实际使用表明,这两款产品与计算机端Windows 操作系统下的串口应用程序完全兼容,且通讯过程中无握手失败现象。 Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
上传时间: 2013-11-03
上传用户:siying
AVR32801: UC3A3 Schematic Checklist Features • Power circuit • Reset circuit • USB connection • External bus interface • ABDAC sound DAC interface • JTAG and Nexus debug ports • Clocks and crystal oscillators • MMC, SD-card, SDHC, SDIO and CE-ATA interface 1 Introduction A good hardware design comes from a proper schematic. Since UC3A3 devices have a fair number of pins and functions, the schematic for these devices can be large and quite complex. This application note describes a common checklist which should be used when starting and reviewing the schematics for a UC3A3 design.
标签: Schematic 32801 UC3A3 Chec
上传时间: 2014-12-26
上传用户:DXM35
为提高温度测量效率,降低系统的成本,扩展传输距离,设计出一种新型温度采集系统。单片机通过控制具有单总线方式的温度传感器DS18B20实现对温度的测量,同时单片机通过控制具有单总线方式300~450MHz频率范围内的MAX7044与MAX7033无线发射与接收芯片实现温度数据的无线传输。与传统温度采集系统相比,该系统利用单总线方式连接,采用无线传输方式实现远距离通信,易于系统的集成与扩展。实验结果表明,该系统结构简单、方便移植,能够同时实现多达上百点温度的测量与500m范围的传输。 Abstract: To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
上传时间: 2013-10-29
上传用户:515414293
详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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
数字信号处理器dsPIC33F集多通道高精度A/D转换、多通讯模式、看门狗、CMOS Flash技术等于一体,其内部可完成所有数据操作,实现总线不出芯片技术。将该处理器应用于微机保护装置,提出基于dsPIC33F微处理器的微机保护装置的设计方案,给出相应的接口电路与软件流程。该设计方案结构简单,性价比及可靠性高,开发周期短,具有一定的实用推广价值。所研制的微机保护装置现场运行效果良好。 Abstract: The dsPIC33F microprocessor has a plentiful interior resource which contains multi-channel,high precision A/D converters,multi-communication module,watchdog,CMOS Flash technology,and so on.All data manipulations is accomplished interiorly.What is more,it makes the technology that bus does not go beyond the chip comes into practice.The paper put forwards a design scheme based on dsPIC33F microprocessor.The scheme has the advantages of simple structure,high reliability and shortened exploitation cycle.What is more,it has definite practicality and reference.The microcomputer protection device has been put into operation with excellent effects.
上传时间: 2013-11-16
上传用户:开怀常笑
介绍了当前普通标记机控制系统现状及其存在缺点,给出气动标记机及相频修正PWM模式的工作原理。采用ATmega16单片机和USB转换RS232接口器件CH341T实现驱动控制系统与PC的实时通讯,标记控制系统可升级到USB接口。采用基于ATmega16的相频修正PWM替换555振荡电路产生的PWM,可直接通过软件调整PWM信号。使用达林顿三极管TIP122替代直流继电器驱动高频电磁阀,使得电磁阀驱动电路简单,成本低廉。该控制系统已成功应用于气动标记机。 Abstract: In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.
上传时间: 2013-10-18
上传用户:1427796291
介绍一种简单射频识别系统设计。该设计包括阅读器、应答器和线圈3部分。由单片机控制阅读器向应答器发射无线信号,并接收应答器回送的信号,再通过分析回送信号识别物品。阅读器和应答器之间以半双工通信方式通信。 Abstract: A simple design of radio frequency identification system is given in this paper.The design includes reader,responder and winding.Through MCU,signals are sent to responder from reader,then corresponding signals are sent back. According to the analysis of the signals sent back,the objects can be identified.Half-duplex communication is adopted? between? reader? and? responder.
上传时间: 2013-10-11
上传用户:plsee
阐述了一个由上位PC机和AT89C52下位单片机组成的主从分布式温度巡回检测系统。主从机采用RS-485 串行通讯标准进行通信,可在下位单片机实现基本的温度数据巡回检测基础上,由上位PC机实现综合处理功能或扩展为远程操作。整个系统具有巡检速度快,扩展性好的特点。 Abstract: In this paper,a top PC and AT89C52 under-bit microcontrollers from the main component of the tour distributed temperature detection system is presented. Master and slave can use RS-485 serial communication standards for communications.Based on next-bit machine for basic goods temperature detected data Tour, the top can achieve the integrated treatment of PC functions or for the expansion of long-distance operation. The entire inspection system is fast, expansion.
上传时间: 2013-10-13
上传用户:zhoujunzhen
在开放式数控系统结构模型的基础上,研究了基于ISA总线的DSP通信控制原理。采用中断方式完成了PC机和DSP之间的通信。介绍了以DriverWorks为工具开发ISA设备WDM驱动程序的方法,探讨了中断处理、驱动程序与应用程序之间的通信,简要说明了驱动程序的安装与调试。通过调试,系统设计运行稳定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle interrupt and the communication between the drivers and application are presented.And how to debug and install the drive is explained.
上传时间: 2013-11-04
上传用户:kang1923