虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

CAN通信

  • 基于MATLAB的MCU串行通信

    本文介绍了利用MATLAB仪器实现MCU串行通信的方法:

    标签: MATLAB MCU 串行通信

    上传时间: 2013-11-09

    上传用户:gxmm

  • 单片机远程通信的电路设计

    单片机远程通信的电路设计

    标签: 单片机 远程通信 电路设计

    上传时间: 2013-11-29

    上传用户:cuiyashuo

  • 基于单片机系统的(24,16)循环码编码、译码方案

      在理论分析循环码编码和译码基本原理的基础上,提出了基于单片机系统的(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.  

    标签: 24 16 单片机系统 循环码

    上传时间: 2013-11-09

    上传用户:gaoliangncepu

  • 基于单片机的颜色自适应识别电路

      为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-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

  • 单片机通信系统中CRC算法与硬件环境编程的实现

    在通信系统中从多检错手段中,CRC是非常著名的一种。CRC-全称循环冗余校验是对数据块校验的一种高效的差错控制方法。在单片机通信系统设计过程中,当传输距离较远或是采用无线传输时,为了保证高效而无错地传输数据,必须对数据进行检错,从性能和成本上考虑,采用CRC校验算法远优于奇遇校验和算术和校验等方法。CRC的计算有两种方法,一种是采用专门的硬件,另一种就是软件方法。对于小型低成本的51单片机系统而言,常常需要在没有相关硬件的支持下实现CRC校验,也即通过软件来完成CRC计算(CRC算法)。 这里给出了3种算法,从性能和成本上考虑,它们的适用范围也稍有不同:第一种适用于单片机程序存储空间较小但CRC计算速度要求不高的情况;第二种适用于程序存储空间较大且CRC计算速度要求较高的情况;最后一种适用于程序存储空间不太大,且CRC计算速度要求适中的情况。

    标签: CRC 单片机 通信系统 算法

    上传时间: 2014-12-26

    上传用户:dongbaobao

  • 单片机双工通信的校验方式

      单片机双工通信时用到的校验方式   Ø奇偶校验原理:通过计算数据中“1”的个数是奇数还是偶数来判断数据的正确性。在被校验的数据后加一位校验位或校验字符用作校验码实现校验。   Ø校验位的生成方法   Ø奇校验:确保整个被传输的数据中“1”的个数是奇数个,即载荷数据中“1”的个数是奇数个时校验位填“0”,否则填“1”;   偶校验:确保整个被传输的数据中“1”的个数是偶数个,即载荷数据中“1”的个数是奇数个时校验位填“1”,否则填“0”  

    标签: 单片机 双工通信 校验方式

    上传时间: 2013-10-16

    上传用户:天诚24

  • Delphi串口通信编程教程

    第一章 数据通信基础 第二章 通用串行通信标准和通用MODEM命令 第三章 嵌入式汇编语言开发通信程序 第四章 MSCOMM控件应用 第五章 线程开发... ......................  

    标签: Delphi 串口通信 编程 教程

    上传时间: 2013-10-14

    上传用户:swaylong

  • LTC4310绝缘双向I2C总线通信方案

    Linear 公司的LTC4310是绝缘的双向I2C总线通信器件,每个器件可把I2C逻辑状态编码成信号,通过绝缘层传输到另一个器件.接收器件解码,并驱动I2C总线到适当的确逻辑状态.主要用在绝缘的I2C, SMBus和PMBus 接口,绝缘电源,以太网供电和正到负电源通信.本文介绍了LTC4310主要特性,典型应用以及多种应用电路框图.    

    标签: 4310 LTC I2C 绝缘

    上传时间: 2013-11-02

    上传用户:trepb001

  • 基于单总线式无线温度采集系统设计

    为提高温度测量效率,降低系统的成本,扩展传输距离,设计出一种新型温度采集系统。单片机通过控制具有单总线方式的温度传感器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