登录
首页 » SCM » 通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向...

通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向...

于 2022-03-20 发布 文件大小:1.82 kB
0 181
下载积分: 2 下载次数: 1

代码说明:

通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向单工 3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量) 4:每个上行/下行的数据包都采用CRC8校验 5:数据接收采用中断+查询的方式 6:总是由主机向从机发送一个数据包,从机收到数据包后向主机回复一个数据包 7:不管是主机还是从机,如果收到的数据包有任何错误,都将丢弃该数据包,等效于没有接收 8:从机之间不能相互通讯,必须通过主机才能交换数据 9:无效地址是0,主机地址是1,从机地址是2.3.4......广播地址是255 -err

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

发表评论

0 个回复

  • In Iccavr software platform to provide a universal mega Bootloader, different mo...
    在Iccavr软件平台上,提供一个具有通用性的 mega Bootloader,不同型号的AVR单片机只需要修改一下几个简单的配置参数就可以直接使用了,不需要再修改主程序。-In Iccavr software platform to provide a universal mega Bootloader, different models of AVR Singlechip you only need to modify a few simple configuration parameters can be used directly, no need to modify the main program.
    2022-03-24 04:54:31下载
    积分:1
  • 这是VB编程RS232串口(COM口)控制的D/A(数模转换)转换板的上位机演示程序。通过电脑串口(或其他具有串口的单片机、PLC、DSP)发个简单的可视ASC...
    这是VB编程RS232串口(COM口)控制的D/A(数模转换)转换板的上位机演示程序。通过电脑串口(或其他具有串口的单片机、PLC、DSP)发个简单的可视ASCII指令,便可以方便地控制8个数模转换通道输出设定的电压值。比如,电脑串口输出字符串"C2V2660"到本控制板,则控制板将控制2号通道输出2.66V电压;电脑串口输出字符串"C6V3060"到本控制板,则控制板将控制6号通道输出3.06V电压.指令非常简单,完全不需了解复杂的硬件及时序控制。-This is a VB programming RS232 serial port (COM port) control D/A (digital-analog conversion) conversion board host computer demonstration program. Via the computer serial port (or other serial port of the microcontroller, PLC, DSP) made a simple visual ASCII commands, they can easily control the number of eight-channel DAC output set voltage. For example, the computer serial output string " C2V2660" to this control panel, then the control board will control 2-channel output 2.66V voltage computer serial output string " C6V3060" to this control panel, then the control board will control the 6 channel output voltage is 3.06V. instruction is very simple, completely without understanding of complex hardware and timing control.
    2022-10-28 05:45:03下载
    积分:1
  • EasyARM2200基于USB HID类多媒体键盘
    基于easyarm2200的USB HID类的多媒体键盘-Easyarm2200 based on the USB HID class multimedia keyboard
    2022-07-18 09:58:42下载
    积分:1
  • MSP430 development of examples of the child, including various examples, for beg...
    MSP430的开发实例子,包括各种实例,对于初学MSP430单片机的同志有十分大的帮助,值得一看-MSP430 development of examples of the child, including various examples, for beginners comrades MSP430 microcontroller has a very big help, worth a visit
    2023-05-31 03:45:02下载
    积分:1
  • 射频识别应用资料,介绍了一种RFID防碰撞算法,以及射频识别应用系统案例...
    射频识别应用资料,介绍了一种RFID防碰撞算法,以及射频识别应用系统案例-Application of radio frequency identification information on an RFID anti-collision algorithm, as well as radio frequency identification applications, case
    2022-03-22 14:55:11下载
    积分:1
  • 51单
    51单片机C语言应用程序设计实例精讲的源码程序,里面有protel格式的电路图和程序代码,希望对大家有帮助-51 Single-chip C language application design example精讲the source program, which has Protel format circuit diagram and program code, and they hope to have everyone help
    2022-01-24 14:34:32下载
    积分:1
  • 本程序运行于C8051F330,功能为接收遥控器发出的红外信号,然后等待上位机通过I2C总线来读取。IR数据接收完毕后,不再采集新的IR数据,一直等待上位机将数...
    本程序运行于C8051F330,功能为接收遥控器发出的红外信号,然后等待上位机通过I2C总线来读取。IR数据接收完毕后,不再采集新的IR数据,一直等待上位机将数据取走后才开始准备接收新的IR数据-this program running on the C8051F330, functional remote control device to receive the infrared signal, Then wait for the PC through the I2C bus to read. IR data receiving end, not the acquisition of new IR data have been waiting for the PC will be removed after data began preparing to receive the new IR data
    2023-08-26 01:10:03下载
    积分:1
  • LED发光管组成的简易彩灯控制系统,是用汇编语言编写的,用CVAVR编译...
    LED发光管组成的简易彩灯控制系统,是用汇编语言编写的,用CVAVR编译-LED LED lantern composed of simple control systems, assembly language is written using the compiler CVAVR
    2023-02-20 03:50:03下载
    积分:1
  • < AVR单片机C语言开发入门指导>> Project 多通道AD转换 Chip type ATmega8 Clock fr...
    < AVR单片机C语言开发入门指导>> Project 多通道AD转换 Chip type ATmega8 Clock frequency :内部RC(INT)8.000000M Author ATMEGA8内部的转换器-" > Project multi-channel AD converter Chip type ATmega8 Clock frequency: the internal RC (INT) 8.000000M Author ATMEGA8 inside the converter
    2022-03-12 18:24:15下载
    积分:1
  • SST系列单片机的中文资料。包括用SST89系列单片机和SoftICE做软件的在线仿真,使用EasyIAP在线下载的说明,使用EasyIAP在线下载的说明,SS...
    SST系列单片机的中文资料。包括用SST89系列单片机和SoftICE做软件的在线仿真,使用EasyIAP在线下载的说明,使用EasyIAP在线下载的说明,SST单片机IAP指令操作程序示例汇编语言,SST单片机IAP指令操作程序示例C语言,SST89x554-564资料,sst89x5x4Rx头文件等等,打包下载-SST Series Singlechip Chinese information. Including SST89 Series MCU and SoftICE software to do online simulation, the use of online download EasyIAP note, the use of online download EasyIAP note, SST Singlechip IAP operating procedures sample assembly language instructions, SST Singlechip IAP commands operating procedures sample C language, SST89x554-564 information, sst89x5x4Rx header files, etc., packaged download
    2022-07-08 16:08:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载