基于CAN总线的校园食堂售饭系统的设计.docVIP

  • 7
  • 0
  • 约2.52万字
  • 约 37页
  • 2017-08-11 发布于重庆
  • 举报

基于CAN总线的校园食堂售饭系统的设计.doc

基于CAN总线的校园食堂售饭系统的设计

2010届毕业生 毕业论文 题 目: 基于CAN总线的校园食堂售饭系统 院系名称: 信息科学与工程学院 专业班级: 电子信息科学与技术 学生姓名: 康洞宾 学 号: 20064360102 指导教师: 张庆辉 教师职称: 副教授 年 月 日 摘 要 CAN 是Controller Area Network 的缩写(以下称为CAN),是ISO国际标准化的串行通信协议。在当前的汽车产业中,出于对安全性、舒适性、方便性、低公害、低成本的要求,各种各样的电子控制系统被开发出来。 本设计以PIC16F877A单片机为核心的校园食堂售饭系统的工作原理和设计方法。CAN总线由MCP2510芯片控制实现,并实现和单片机之间的数据传递。MCP2510 是一款控制器局域网络 (CAN) 协议控制器 , 完全支持 CAN 总线 V2.0A/B 技术规范。该器件支持 CAN1.2、 CAN2.0A、主动和被动 CAN2.0B 等版本的协议,能够发送和接收标准和扩展报文。它还同时具备验收过滤以及报文管理功能。文中介绍了该售饭系统的CAN实现部分,包括:CAN的底层通信电路、CAN和单片机的通信设计、数据显示及按键扫描的设计 。单片机通过对MCP2510的寄存器读取以及信息的处理,从而实现售饭系统之间的信息传递。文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、键盘扫描及MCP2510信息设置读取、信息处理等。 关键词: PIC16F877A单片机 MCP2510芯片 串口通讯 Title Based on CAN Bus System Campus Dining Hall Abstract CAN is short for Controller Area Network (hereinafter referred to as CAN), is the ISO international standard serial communication protocol.In the current auto industry, for safety, comfort, convenience, low pollution, low-cost requirements, a variety of electronic control systems have been developed. The design PIC16F877A MCU Campus Dining Hall as the core principle of the system and design method.CAN-bus controlled by the MCP2510 chip implementation, and implementation and data transfer between MCU.MCP2510 is a Controller Area Network (CAN) protocol controller, full support for the CAN bus V2.0A / B specifications.The device supports CAN1.2, CAN2.0A, active and passive CAN2.0B other version of the agreement, the ability to send and receive standard and extended messages.It also have the acceptance filtering and message management functions.This paper introduces the implementation of the CAN Canteen system elements, including: CAN underlying communication circuit, CAN and the MCU communication design, data display and key scanning design.Microcontroller to read through the MCP2510 registers, and information processing, in order to achieve Canteen transmission of information between

文档评论(0)

1亿VIP精品文档

相关文档