学校代码10126学号本科学年论文题目基于51单片机摇摇棒的设计院系专业名称年级学生姓名指导教师2014年06月20日学年论文指导教师评阅意见学生姓名专业班级学号(论文)题目基于51单片机摇摇棒的设计指导教师教师职称学年论文评语评定成绩:指导教师签名:年月日摘要随着人们物质生活水平的提高,人们对精神生活的追求也愈加强烈,对信息的渴求已成为了人们必不可少的需要,更加简捷与新颖的信息传递方式无疑会给人们带来耳目一新的感受。而现代工具务求简捷化、便携化,因此,摇动显示装置的到来,必将会给人们带来一种新的方便的文化传递方式。“摇动显示装置”,俗称“摇摇棒”,是基于人的视觉暂留原理的,通过分时刷新16个发光二极管来显示输出文字或图案等信息的显示装置。输出信号频率的控制通过单片机来实现用摇动传感器检测当前摇动状态。当进行摇动时,由于人的视觉暂留原理,会在发光二极管摇动区域产生一个视觉平面,在视觉平面内的二极管通过不同频率的刷新,会在摇动区域内产生图像,从而达到在该视觉平面上传达信息的作用。本文以传感器和单片机的实际应用为背景,介绍了以单片机和传感器为核心系统摇动传感器和显示设计的基本结构和基本原理。关键字:单片机,发光二极管,传感器AbstractAspeoplematerialstandardoflivingrise,peoplepursuittoculturallifealsobecomesstrong,thedesireofinformationhavebecomethepeopleoftheessentialneeds,moreforthrightandnoveltheinformationtransfermodewillundoubtedlybringpeopletofindeverythingnewandfreshfeeling.Andmoderntoolstothesimple,portable,therefore,shakingthedisplaydevice,thearrivalofwillgivepeoplebringsakindofnewconvenientculturaltransfermode."Shakedisplaydevice,"called"toshakethegreat",itistobebasedonvisualtemporarilyleavetheprinciple,throughthetimesharerefresh16ledstodisplaytextordesignoutputinformationdisplaydevice.Theoutputsignalfrequencycontrolthroughthesingle-chipmicrocomputertorealize,withshakingsensortestcurrentmovedstate.Whenshaken,asthemen'svisionforaprinciple,willbeinthelightemittingdiodeshakingareaproduceavisualplane,theplanewithinthevisionofdifferentfrequencyrefreshdiodethrough,willproduceanimageinshakingarea,soastoachievethevisionintheplaneofconveyinginformationfunction.BasedonthesensorandMCUapplicationforbackground,introducesthesingle-chipmicrocomputerandsensorasthecoresystemmovedsensoranddisplaydesignthebasicstructureandthebasicprinciple.Keywords:microcontroller,leds,sensor目录绪论..................................................................................................................................................11.系统设计方案.............................................................................................................................21.1设计目的.............................................................................................................................21.2设计要求.............................................................................................................................21.3设计思路.............................................................................................................................22.系统硬件设计.............................................................................................................................42.1基本原理图为:.................................................................................................................42.2各部分功能.........................................................................................................................52.2.1按键模块........................