登录
首页 » SCM » 单片机RS232/RS485串行发送实验(双机通讯)。 实验步骤: (1),准备两台598K实验机,确定1号机为发送,2号机为接收;...

单片机RS232/RS485串行发送实验(双机通讯)。 实验步骤: (1),准备两台598K实验机,确定1号机为发送,2号机为接收;...

于 2022-02-28 发布 文件大小:4.50 kB
0 258
下载积分: 2 下载次数: 1

代码说明:

单片机RS232/RS485串行发送实验(双机通讯)。 实验步骤: (1),准备两台598K实验机,确定1号机为发送,2号机为接收; (2),当作RS232接口实验时,1号机和2号机的P3.0和P3.1交叉相连,且两机共地; (3),当作RS485接口实验时,1号机和2号机的A、B作对应连接,同时1,2号机的R/TEN接P1.0, P3.0接R0, P3.1接DI。 (4),先运行2号机,键入[27]-->[EV]使2号机处于接收状态P。,后运行1号机[26]-->[EV]使1号机处于发送状态,P。会闪烁,在1号机键盘上按动数字键,在2号机的数码管上应显示对应的数字键值。-Send Singlechip RS232/RS485 serial experiment (two-plane communications). Experimental steps: (1), prepare two sets of experiments 598K machine, determined on the 1st machine to send, on the 2nd machine to receive (2), as a RS232 interface experiment, on the 1st and the 2nd machine and P3.0 P3.1 cross-linked, and the two planes were to (3), as a RS485 interface experiment, on the 1st and the 2nd machine A, B for the corresponding connection, while 1,2 No. of R/TEN then P1 .0, P3.0 access R0, P3.1 then DI. (4), first run on the 2nd machine, type [27]

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

发表评论

0 个回复

  • 单片机89s51做的波形发生器,含PROTEUS仿真图,非常实用的波形产生源码!...
    单片机89s51做的波形发生器,含PROTEUS仿真图,非常实用的波形产生源码!-89s51 do single-chip waveform generator, including PROTEUS simulation map, very useful source of the waveform generator!
    2023-01-27 18:15:04下载
    积分:1
  • 一个红外接收的程序,对红外遥控的设计具有一定的参考价值...
    一个红外接收的程序,对红外遥控的设计具有一定的参考价值-An infrared receiver of the procedures, the design of infrared remote control has a certain reference value for
    2022-03-09 08:54:00下载
    积分:1
  • 通过键盘控制,选择max262不同的工作方式(低通,高通,带通)。用‘+’,‘...
    通过键盘控制,选择max262不同的工作方式(低通,高通,带通)。用‘+’,‘-’及数字键来控制不同的中心频率,该文件就有详细的正确的C51程序及部分仿真电路。该源代码经过实际验证。-max262--Programmable Filtering
    2022-02-22 06:20:59下载
    积分:1
  • 89S52 increase USBD12 simulation of a U
    89S52加USBD12模拟的一个U盘(源码+原理图+实物照片) Computer00 发表于 2006-3-3 14:09:00 USB-D12文件包下载.rar 这是一个用89S52加PDIUSBD12模拟的一个U盘,里面涉及到USB接口,USB大容量存储设备,FAT16文件系统等内容。插入电脑后,可显示移动磁盘盘符及一个文本文件。 需要说明一下的是,这个包中的原理图,IDE接口部分、74HC573、以及RS232串口等部分,是作为这个实验板的一部分。在这个模拟U盘的程序中,是没有用到的。在下一个“移动硬盘”的例子中,就用到了IDE接口跟74HC573了。至于RS232,那时笔者在调试程序时用的。如果您不需要通过串口调试程序,RS232部分可以不管它-89S52 increase USBD12 simulation of a U-Disk (OSS diagram kind photos) Comput. er00 published in 2006-3-3 14:09 : 00 USB-D12 package downloaded. rar This is a plus with 89S52 simulation PDIUSBD12 of a U disk, which relate to the USB interface, USB mass storage devices, and FAT16 file system and so forth. Insert the computer, can show that the mobile disk drive and a text file. Need to point out that this is a package of drawings, IDE interface, 74HC573. and RS232 serial port as part of the experiment as part of the plate. In this simulation U disk process is not used in the. Next a "mobile hard" cases, the option of the IDE int
    2022-03-18 13:32:09下载
    积分:1
  • MEGA16的小车沿黑线行驶程序,能够控制程控小车沿规定路线自行行使。...
    MEGA16的小车沿黑线行驶程序,能够控制程控小车沿规定路线自行行使。-MEGA16 the black car along the lane, it will be programmed control along the trolley line provides free exercise.
    2022-06-13 10:23:41下载
    积分:1
  • 请将下载的2个插件内容拷贝到uVision 的安装目录下的 KeilC51BIN 中 2. 修改 Tool.ini, 此文件位于 uVision 的
    请将下载的2个插件内容拷贝到uVision 的安装目录下的 KeilC51BIN 中 2. 修改 Tool.ini, 此文件位于 uVision 的安装目录 keil 下. 请将下面的内容 添加到 [C51] 部分的后面. AGSI1=ledkey.dll ("ledkey") AGSI2=simboard.dll ("simboard") 3. 重启uVsion. 进入Debug 模式, 打开菜单Peripheral, 发现增加了2项 分别是键盘LED仿真板,51实验仿真板。-Please download the contents of two plug-ins are copied to the installation directory uVision under KeilC51BIN 2. Modify Tool.ini, this file is located in the installation directory uVision under keil. Please Add the following line to [C51] part of the back. AGSI1 = ledkey.dll (ledkey) AGSI2 = simboard.dll (simboard) 3. Reset uVsion. entered the Debug mode, open the menu Peripheral, found an increase of 2 are keyboard LED emulation board, emulation board 51 experiments.
    2022-03-22 06:17:57下载
    积分:1
  • tom is a boy
    工程制图是一个非常重要的东东,需要每一个人沉下心来仔细学习-tom is a boy
    2022-06-12 00:46:45下载
    积分:1
  • is using a 8051+ ds12887 code procedure is a very detailed explanation can be us...
    是一个用8051+ds12887的代码程序,程序中有很详细的说明,可以拿来稍做修改就能使用。-is using a 8051+ ds12887 code procedure is a very detailed explanation can be used to make slight changes can be used.
    2023-08-03 15:30:03下载
    积分:1
  • MSP430液晶控制程序,可以控制一般的12864液晶显示屏,短小,配合8M赫兹时钟频率...
    MSP430液晶控制程序,可以控制一般的12864液晶显示屏,短小,配合8M赫兹时钟频率-MSP430 LCD control procedures to control the general 12864 LCD screen, short, with 8M Hz clock frequency
    2022-02-05 21:56:38下载
    积分:1
  • this program is to tell how to use 51tiny embedded system to program
    本程序的功能是在51单片机上实现51tiny嵌入式操作系统编程-this program is to tell how to use 51tiny embedded system to program
    2022-04-27 01:52:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载