首页 | 本学科首页   官方微博 | 高级检索  
     

基于共享RAM的计算机与多单片机通信接口的实现
引用本文:元红妍. 基于共享RAM的计算机与多单片机通信接口的实现[J]. 烟台大学学报(自然科学与工程版), 2006, 19(3): 225-228
作者姓名:元红妍
作者单位:烟台大学,计算机学院,山东,烟台,264005
摘    要:设计了计算机与多台MCS-51单片机通信接口电路.主计算机与各组主单片机之间、各组辅助单片机与各分单片机之间均采用RS-485接口实现远距离串行通信:各组主单片机与辅助单片机采用普通的SRAM作为共享RAM,通过仲裁电路、握手信号抢占共享RAM实现并行通信.此设计方案充分利用了系统资源,有效地实现了主计算机与多台MCS-51单片杌之间的远距离数据采集与管理.适用于智能小区的抄表系统等需要主计算机与多台单片机组成的测控系统中.

关 键 词:共享RAM  多机通信  单片机
文章编号:1004-8820(2006)03-0225-04
收稿时间:2006-02-07
修稿时间:2006-02-07

Sharing RAM Based Implement of Communication Between PC and Multiple Single-chip Computers
YUAN Hong-yan. Sharing RAM Based Implement of Communication Between PC and Multiple Single-chip Computers[J]. Journal of Yantai University(Natural Science and Engineering edirion), 2006, 19(3): 225-228
Authors:YUAN Hong-yan
Affiliation:School of Computer, Yantai University, Yantai 264005, China
Abstract:A communication interface circuit between PC and multiple MCS-51 is designed. RS- 485 port is used to realize the distant communication between the main PC and several primary single micro-chips of each group, so is to the auxiliary single microchip of each group and the base single microchip. The primary MCS51 of each group and the auxiliary MCS51 adopt the general SRAM as the shared RAM; arbitration circuit and request-and-acknowledge signal is used to grab the shared RAM to realize the parallel communication. In this plan system the resources are made the best of; distant data collection and management between main PC and multiple MCS51 are realized effectively. This plan can be adapted to measurement and control system which is composed of a main PC and several MCS51 such as an auto meter read system of some intelligent street .
Keywords:sharing RAM   multi-computer communication   single-chip computers
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号