文件名称:P89C58T
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
单片机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]
实验步骤:
(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