您好,欢迎访问三七文档
全自动摇篮的设计摘要随着社会经济的发展,人们的生活也都逐渐提高,许多拥有婴幼儿的家庭都希望孩子有个良好的成长环境,但是年青的父母需要同时兼顾宝宝和家庭生活感到非常疲惫,他们需要一个不仅舒适而且具有人工智能的摇篮。智能婴儿摇篮可以提供给宝宝舒适摇晃,又可以通过音乐启发智力发育,使得妈妈们也可腾出手来处理家务或者休息。从而大大的减轻了婴幼儿父母的劳动负担,促进了婴儿的深度睡眠,提高了大人和小孩的睡眠质量,为婴儿的健康成长提供保证。本次毕业设计拟采用单片机作为全自动摇篮的核心控制部件,硬件电路分声控电路、电机驱动、液晶显示模块和人机交互等模块。人机交互是由定时按键和LCD1602组成,摇篮晃动的时间是由按键预置的;LCD1602可以显示计数时间和定时时间。软件部分应用单片机C语言实现了本设计的全部控制功能,包括定时设置、电机驱动、状态显示、音乐播放等。关键字:单片机;声控;电机驱动;定时DesignofAutomaticCradleABSTRACTWiththesocialandeconomicdevelopment,people'slivesarealsograduallyimproved,manyhouseholdswhichhaveinfantchildrenwanttohaveagoodgrowthenvironment,butmanyyoungparentsneednotonlyworkingbutalsotakingcareofthebaby,theyfeelverytiredandlookforwardacomfortableandartificialintelligencecradle.Anintelligentbabycradlecanprovidecomforttothebabyshaking,andinspireintellectualdevelopmentthroughmusic.Thenmomshaveafreetimetodealwithhouseholdchoresandrest.Withtheintelligentcradle,theinfantsburdenofparentswillbereducedgreatly,andsleepqualityofbabyandparentswillbeimproved,andbabypromotesdeepsleepforthehealthygrowth.Thedesignisdiscussedinthispaper,whichintendstousemicro-controllerasthecoreofthecradleautomaticcontrolcomponents,hardwarecircuitofvoicecircuits,motordrives,LCDmodulesandinteractivemodules.Human-computerinteractioniscomposedbythetimingbuttonsandLCD,thecradleofshakingtimeispresetbuttons;LCDcandisplaythecounttimeandregulartime.Softwarepartoftheapplicationmicro-controllerClanguagetoimplementallthecontrolfunctionsofthedesign,includingthetimingsettings,motordrives,statusdisplay,musicplayerandsoon.Keywords:MICROCONTRLLER;VOICE;MOTORDRIVE;TIMED目录1引言........................................................................................................................................11.1研究背景..................................................................................................................11.2目的与意义..............................................................................................................11.3论文结构安排..........................................................................................................22系统原理及单元电路设计....................................................................................................32.1系统原理框图..........................................................................................................32.2声音传感器..............................................................................................................32.3单片机最小系统.......................................................................................................42.3.1STC89C52RC介绍.....................................................................................52.3.2时钟电路....................................................................................................92.3.3复位电路...................................................................................................102.4LCD1602液晶显示模块........................................................................................102.4.1LCD1602介绍..........................................................................................112.5人机交互模块........................................................................................................142.5.1按键电路功能..........................................................................................152.6电机控制模块........................................................................................................162.6.1ULN2003A芯片介绍...............................................................................162.6.24相5线步进电机介绍............................................................................182.7音乐播放模块........................................................................................................182.7.1ISD1820语音芯片介绍............................................................................193软件设计..............................................................................................................................213.1主程序设计............................................................................................................213.2电机驱动控制程序设计........................................................................................213.3定时中断程序设计框图........................................................................................224系统调试..............................................................................................................................23结论..........................................................................................................................................24参考文献..................................................................................................................................25致谢..........................................................................................................................................25附录A系统电路图.................................................................................................................27附录B作品实物图...........................................................
本文标题:全自动摇篮的设计
链接地址:https://www.777doc.com/doc-3397588 .html