登录
首页 » c » 485通讯

485通讯

于 2022-04-23 发布 文件大小:1.75 MB
0 93
下载积分: 2 下载次数: 1

代码说明:

在多机通信中,最重要的是保证通信有条不紊地进行,因此需要严格的通信协议和完善的通信软件。 RS-485方式构成的多机通信系统采用主从式结构:主机控制多个从机,作为从机的单片机不主动发送命令或数据,一切都由主机单片机控制;并且在一个多机系统中,只有一台主机,各台从机之间不能相互通信,即使有信息交换也必须通过主机转发。采用RS-485构成的多机通信系统原理。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • IR_Trainning_DOC
    Philips RC-5/6协议 Philips RC-MM协议 红外编码格式17- Toshiba TC9148P  NEC协议 经本人翻译为中文版本的,很好的开发档案,值得下载!(Philips RC-5/6 Philips RC-MM protocol agreement infrared code format 17- Toshiba TC9148P NEC protocol for the Chinese version translated by me, the good development of the file, it is worth downloading!)
    2010-10-07 17:23:32下载
    积分:1
  • virtual-reality_3DMAXPopenGLPVC
    里面包括4个3DMAX+OPENGL+VC++联合使用的源代码。(Which includes four 3DMAX+OPENGL+VC++ joint use of the source code.)
    2013-08-07 09:57:01下载
    积分:1
  • 用粒子群算法求解有约束的寻优函数
    PSO 算法属于进化算法的一种,和模拟退火算法相似,它也是从随机解出发,通过迭代寻找最优解,它也是通过适应度来评价解的品质,但它比遗传算法规则更为简单,它没有遗传算法的“交叉”(Crossover) 和“变异”(Mutation) 操作,它通过追随当前搜索到的最优值来寻找全局最优。给出一个用pso来解决的寻优问题
    2022-02-15 05:05:05下载
    积分:1
  • Blank
    说明:  STM32F103ZET6移植官方RT-Thread嵌入式操作系统框架(STM32F103ZET6 Porting Official RT-Thread Embedded Operating System Framework)
    2020-06-16 02:00:01下载
    积分:1
  • C#入门到精通
    说明:  C#入门教程,适合新手学习,高手勿下。快速上手。(c#Introductory tutorial,Suitable for beginners to learn, not under the master.get started quickly.)
    2021-03-05 09:44:09下载
    积分:1
  • C# 实现 MD5加密解密算法
    using System.Security.Cryptography;using    System.IO;  using    System.Text; ///MD5加密  public string MD5Encrypt(string    pToEncrypt,  string    sKey)    {       DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =    Encoding.Default.GetBytes(pToEncrypt);       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateEncryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();     foreach(byte    b  in    ms.ToArray())       {        ret.AppendFormat("{0:X2}",    b);       }       ret.ToString();     return    ret.ToString();      }  ///MD5解密  public string MD5Decrypt(string    pToDecrypt,  string    sKey)    {      DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =  new  byte[pToDecrypt.Length  /  2];     for(int    x  =  0;    x  <    pToDecrypt.Length  /  2;    x )       {      int    i  =    (Convert.ToInt32(pToDecrypt.Substring(x  *  2,  2),  16));        inputByteArray[x]  =    (byte)i;       }       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateDecryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();                  return    System.Text.Encoding.Default.GetString(ms.ToArray());      }
    2013-11-13下载
    积分:1
  • MSP430F5529_init_DS18b20
    MSP430F5529单片机的基本片内外设(包涵常用的 IO口、系统时钟、定时器、ADC、串口)的初始化和使用方法 以及经典的单总线温度传感器DS18b20进行温度检测 (The initializer for MSP430F5529 temperature data collection ,DS18b20)
    2020-12-17 23:29:11下载
    积分:1
  • GPS-easysuit
    matlab处理GPS数据的学习用代码。共5个部分附带说明书。包括第一部分GPS时间系统、第二部分Rinex文件读取、第三部分接收机的地心地固位置计算、第四部分基于伪距码的基线解算、第五部分双差解算(GPS data processing matlab learning with the code. A total of five parts with manual. GPS time system includes a first portion, a second portion Rinex file read, the third part of the ground EarthFixed receiver position calculation, the fourth part of the pseudo-code based on the baseline solution, the fifth part of the double difference solver)
    2013-09-11 17:22:47下载
    积分:1
  • DAC0832_juchibo
    利用DAC0832来产生锯齿波的Proteus图(The use of DAC0832 to generate the sawtooth wave C language )
    2013-10-18 21:14:57下载
    积分:1
  • VCclassicbook
    VC学习的经典教材,对于VC的基础基础知识和应用讲解深入浅出,对于初学者和应用者都具有很好的价值。(VC classical learning materials, the basis for the VC application on the basis of knowledge and easy, for beginners and applications are an excellent value.)
    2008-12-13 15:10:24下载
    积分:1
  • 696518资源总数
  • 105918会员总数
  • 20今日下载