学士学位论文
基于自由摆的平板控制系统设计
姓名:
颜芳
学号:
200905120342
指导教师:
李爱云
院系(部所):
光电工程学院
专业:
电子信息工程
完成日期:
2013年05月15日
学士学位论文
基于自由摆的平板控制系统设计
姓名:
颜芳
学号:
200905120342
指导教师:
李爱云
院系(部所):
光电工程学院
专业:
电子信息工程
完成日期:
2013年05月15日
摘要
本系统是STC12C5A60S2基于单片机为控制核心的平板控制系统。通过单片机对MMA7455倾角传感器数据采集与处理,控制L298N电机驱动,调整57BYG步进电机的转动,实现平板跟随自由摆的摆动而周期性旋转,可以通过控制平板运动使8枚叠放硬币在自由摆运动过程中静止。
在实现平板控制系统基本功能的同时,利用MMA7455倾角传感器实时检测自由摆摆动的角度,运用查表法实现激光笔照射中心线的功能。在以上功能实现的同时使用TFT彩色液晶屏显示MMA7455倾角传感器的三轴变化情况,采用触摸键盘替代按键进行功能设定与选择,充分的体现了本系统的协调性与实用性。
关键词: STC12C5A60S2E;57BYG;MMA7455;TFT触摸屏
Abstract
The flat control system is based on the single chip STC12C5A60S2 as control core. Through to MMA7455 inclination angle sensor data changeacquisition and processing, controls the L298N motor-driven to realize 57BYGto stepper motor's angle adjustment, achieve the flat periodic rotating with thewaver of free-pendulum. Through control the flat movement to prevent 8 piecescoins movement when the free pendulum motor processing.
While realizes the flat control system basic function,use the MMA7455 inclination angle sensor detect the angle of the free-swinging pendulum, and use table look-up method realize the function of the laser pen illuminating the center line. Realizing the function of the above at the same time, demonstrates the MMA7455 inclination angle sensor's three axis change situation through the TFT colored touching liquid crystal module. Use touch-screen substitution pressed key carry on the different function settings and the choice and fully embodies the coordination and practical of the system in the end.
Keyword: STC12C5A60S2, 57BYG, MMA7455, TFT torch screen
目录
第1章绪论 1
第2章系统方案论证与比较 2
基本要求 2
论证与比较 2
第3章理论分析与设计 4
平板状态测量方法 4
: 4
: 5
第4章电路与程序设计 6
电路设计 6
6
STC12C5A60S2最小系统 7
单元设计 7
7
8
10
LCD液晶显示单元 10
第5章测试方案与测试结果 12
对于基本要求(1)的测试方案: 12
对于基本要求(2)(3)的测试方案: 12
第6章总结 13
参考
基于自由摆的平板控制系统设计学士学位论文 来自淘豆网m.daumloan.com转载请标明出处.