宁波理工学院
毕业设计(论文)
题 目 基于PIC16C66的磁盘振动台控制器设计 姓 名 任 阳 滨 学 号 3100404142 专业班级 10电气自动化1班 指导教师 叶 凌 箭 分 院 信息科学与工程分院 完成日期 2014年5月10日
摘 要
单片机随着计算机的发展而广泛应用,作为一种实用的集成电路芯片,它的应用有医疗设备、航天航空、仪表仪器、家庭电器、专门设备的人性化管理及技术控制等领域,它的实用价值正在被人们逐渐利用和开发,其优点有控制的功能高、个体小、环境适应能力强、功率消耗十分低、操作方便和运用简单等等。
本文着重介绍了基于PIC单片机的磁盘振动台控制器的设计。运用单片机编程和protues 仿真的相关知识,设立控制按键和时间显示屏,使用PIC16C66单片机芯片来实现磁盘振动台的功能。
关键词:磁盘振动台;PIC单片机;protues仿真
Abstract
With the development of single-chip computer and widely used as a practical integrated circuit chip, and its applications are medical equipment, aerospace, instrumentation, home appliances, humane management and technical controls in areas such as specialized equipment, it's practical people value being gradually use and development, and its advantages are high control function, small individual, environmental adaptability, very low power consumption, easy to operate and simple to use and so on.
This paper focuses on the vibration controllers PIC microcontroller-based disk design. Protues simulation using microcontroller programming and relevant knowledge, establish control buttons and time display, use PIC16C66 microcontroller chip to achieve disk vibration table function..
Keywords: Disk vibration table; PIC microcontroller; protues simulation
目 录
摘 要 ............................................................................................................................. I Abstract ........................................................................................................................... II 第1章 单片机概述 ..................................................................................................... 1
1.1 单片机的历史 ............................................................................................................... 1 1.2 单片机的特点 ............................................................................................................... 1
1.2.1 高集成度,体积小,高可靠性 .................................................. 1 1.2.2 控制功能强 .................................................................................. 2 1.2.3 低电流,低能耗,方便生产可携式产品 .................................. 2 1.2.4 优异的性能价格比 ...................................................................... 2
1.3 单片机的应用领域 ...................................................................................................... 2
1.3.1 家用电器及玩具 ...................................................................................... 2 1.3.2 智能测量设备 ........................................................................................... 2 1.3.3 机电一体化产品 ...................................................................................... 3 1.3.4 自动测控系统 ........................................................................................... 3
1.4 本文工作 ........................................................................................................................ 3 第2章 PIC单片机概述 .............................................................................................. 4
2.1 PIC单片机简介 ............................................................................................................ 4 2.2 PIC单片机的优势 ....................................................................................................... 4 第3章 基于PIC16C66的磁盘振动台设计 .............................................................. 7
3.1 PIC单片机的特点 ....................................................................................................... 7 3.2 PIC的8位单片机种类 .............................................................................................. 8 3.2 仿真软件PROTUES .................................................................................................. 8 第4章 磁盘振动台设计仿真结果 ........................................................................... 10
4.1 实现的功能概述 ......................................................................................................... 10 4.2 按键输入概述 ............................................................................................................. 10 4.3 仿真效果 .................................................................................................................... 12
4.3.1 磁盘吸附的仿真 ........................................................................ 12 4.3.2 定时振动的仿真 ........................................................................ 13 4.3.3 蜂鸣器的报警仿真 .................................................................... 14
4.4 继电器的使用 ............................................................................................................. 16 第5章 总结与展望 ................................................................................................... 17 参考文献 ........................................................................................................................ 19 附 录 .......................................................................................................................... 20 致 谢 .......................................................................................................................... 23