当前位置:首页 > 基于51单片机485通讯步进电机设计论文(复制图片)
毕业设计(论文)
基于51单片机485通讯步进电机系统
学生姓名 学院名称 专业名称 指导教师 完成时间
XXX XXX XXX XXX
2014年X月X日
目录
摘要........................................................................................................................ 3 Abstract ................................................................................................................. 4 前 言...................................................................................................................... 5 第一章 系统整体设计方案.................................................................................. 7
1.1硬件总体设计.......................................................................................... 7
1.1.1 硬件系统子模块.......................................................................... 7 1.2软件总体设计.......................................................................................... 8 第二章 硬件系统设计.......................................................................................... 9
2.1硬件电路分析和设计报告...................................................................... 9
2.1.1 单片机最小系统电路.................................................................. 9 2.1.2 键盘电路.................................................................................... 14 3.1.3 数码管显示电路........................................................................ 14 3.1.4 485通信电路.............................................................................. 16 3.1.5 步进电机连接电路.................................................................... 17
第三章 软件系统设计........................................................................................ 18
3.1 系统软件设计整体思路....................................................................... 18
3.1.1 主程序........................................................................................ 19 3.1.2 数码管显示.............................................................................. 19 3.1.2 485通讯收发函数................................................................... 20 3.1.3 步进电机控制函数.................................................................. 22
第四章 系统调试................................................................................................ 23
4.1硬件电路调试........................................................................................ 23 4.2软件调试................................................................................................ 23 总结...................................................................................................................... 25 参考文献:.......................................................................................................... 26 致 谢.................................................................................................................. 27 附录A:485通讯步进电机设计原理图 ........................... 错误!未定义书签。 附录B:软件程序 .............................................................. 错误!未定义书签。
摘要
在工业控制自动化领域,智能装置之间的通信占有重要的地位RS485这种串行通信方式,在工控自动化领域应用非常广泛,这种远距离通信可以采集远程信息和远程数据,实现远程控制和远程调节。在工业控制自动化领域智能装置之间的通信占有重要的地位,RS485这种串行通信方式在工控自动化领域应用非常广泛,这种远距离通信可以采集远程信息和远程数据,实现远程控制和远程调节。
本设计是由stc89c51单片机实现485通讯,控制步进电机的一个简易控制装置。有数码管显示步进圈数,并且可以按键控制。
关键词:RS485 通讯 stc89c51单片机 步进电机
Abstract
In the field of industrial control automation, intelligent devices is very important for communication between way RS485 serial communication, is widely applied in the field of industrial control automation, this kind of long distance communication can remote information and remote data, to realize the remote control and remote control. intelligent devices in the field of industrial control automation occupies an important position, the communication between the serial communication interface RS485 is widely applied in the field of industrial control automation, this kind of long distance communication can remote information and remote data, to realize the remote control and remote control.
This design is by the stc89c51 singlechip microcomputer 485 communication, a simple control stepper motor control device.With digital tube display stepper laps, and also can control buttons.
Keywords: RS485 communication stc89c51 singlechip stepper motor
共分享92篇相关文档