首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 单片机RS232/RS485串行发送实验(双机通讯)。 实验步骤: (1),准备两台598K实验机,确定1号机为发送,2号机为接收;...

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

  • 资源大小:4.50 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: SCM asm

资 源 简 介

单片机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]

文 件 列 表

P89C58T.ASM
VIP VIP
0.242008s