基于单片机的家用红外按摩仪设计毕业设计论文
基于单片机的按摩器控制系统设计

基于单片机的按摩器控制系统设计一、摘要随着现代生活压力的日益增大,人们对于身体保健的需求也越来越高。
按摩器成为了现代人最喜爱的身体保健设备之一。
针对目前市面上按摩器控制系统存在的问题,本文设计了一款基于单片机的按摩器控制系统。
该系统采用了单片机作为核心控制器,通过外部电子元件实现了按摩器的运行控制。
本文首先介绍了按摩器的结构和原理,然后详细介绍了系统的硬件和软件设计。
最后进行了实验验证。
实验结果表明,该系统能够稳定运行,具有较好的实用性和可靠性,能够满足用户对于按摩器的需要。
二、引言按摩器是一种具有舒筋活络、缓解疲劳、促进血液循环的身体保健设备。
它广泛应用于家庭和办公场所。
目前市面上按摩器的种类繁多,但其结构和原理基本相同,都是通过震动或强制性运动刺激人体肌肉,促进血液循环,增强肌肉弹性和柔韧性,从而达到减压、舒缓肌肉的作用。
但目前市面上的按摩器控制系统存在一些问题,如马达不能稳定运行、程序控制复杂等。
因此,本文提出了一种基于单片机的按摩器控制系统,旨在提高按摩器的工作效率和使用便捷性。
三、按摩器结构和原理按摩器主要由控制系统和机械结构两部分组成,其中机械结构包括摆臂、振动电机、按摩球和支架等。
按摩器的工作原理是通过电机带动摆臂旋转,振动电机产生的振动力将能量传递给按摩球,从而产生一定的按摩效果。
按摩器的控制系统主要由电源、电路板和单片机组成。
电源提供按摩器所需的电能,电路板用于控制按摩器的工作时间和部分参数设置,而单片机则是按摩器控制系统的核心。
除此之外,按摩器还需要配备按摩球个数、按摩模式和振动强度等可调参数,以适应不同用户的需求。
四、按摩器控制系统设计4.1 系统硬件设计本系统的硬件电路主要包括电源电路、电机驱动电路、按摩强度调节电路、参数设置电路和单片机控制电路五部分。
其中电源电路主要由交流变直流电源系统和电源滤波电路组成,用于为按摩器提供直流电源。
电机驱动电路为摆臂提供能量,其中功率放大器模块主要由晶体管和电阻组成,用于控制电机的转速。
基于STM32单片机的按摩仪系统的设计

基于STM32单片机的按摩仪系统的设计Title: Design of a Massage Device System based on STM32 MicrocontrollerAbstract:As people's living standard continues to improve, the demand for health care and physical therapy is also increasing. Massage is an effective method to relieve fatigue and improve physical health. In this paper, a massage device system based on STM32 microcontroller is designed. The system consists ofa massage bed, a hand-held massage device, and a control unit. The control unit includes an STM32 microcontroller, a touch screen display, and various sensors. The massage bed is equipped with vibration motors to provide massage to theuser's body. The hand-held massage device is used to target specific body parts and provides a deeper massage. The system is capable of providing a variety of massage modes and intensities, which are controlled by the touch screen display. The sensors provide real-time feedback on the user's position and pressure, allowing for a customized massage experience. The results show that the system can effectively relieve muscle soreness and improve blood circulation, providing a comfortable and relaxing massage experience.Keywords: massage device, STM32 microcontroller, touch screen display, sensors, customized massageIntroduction:Massage therapy has gained widespread acceptance as abeneficial treatment for a variety of health issues. Massage can ease pain, reduce stress, and promote relaxation. Withthe increase in demand for physical therapy, massage devices have become prevalent in the market. However, most commercial devices have limited massage modes and do not provide a customized massage experience. In this paper, we present the design of a massage device system based on STM32 microcontroller, which provides a customized massage experience.Design:The massage device system consists of three main components:a massage bed, a hand-held massage device, and a control unit. The massage bed has vibration motors that provide massage to the user's body. The hand-held massage device is used totarget specific body parts and provide a deeper massage. The control unit includes an STM32 microcontroller, a touchscreen display, and various sensors.The STM32 microcontroller is the central processing unit of the control unit. It controls the operation of the massage bed and hand-held massage device. The touch screen display allows the user to select the massage mode and intensity. The sensors provide real-time feedback on the user's position and pressure, allowing for customization of the massage experience.The massage bed is equipped with vibration motors that provide massage to the user's body. The motors are controlled by the STM32 microcontroller through a relay module. Thehand-held massage device is equipped with a motor and a pressure sensor. The motor provides deep tissue massage to targeted body parts, and the pressure sensor measures the pressure applied to the body.The control unit has three main functions: mode selection, intensity control, and feedback. The touch screendisplay allows the user to select the desired massage mode and intensity. The massage modes include kneading, rolling, tapping, and shiatsu. The intensity of the massage can be adjusted by increasing or decreasing the vibration intensity of the massage bed and the pressure of the hand-held massage device.The sensors provide real-time feedback on the user's position and pressure. The position sensor measures the position of the user on the massage bed, and the pressure sensor measures the pressure applied by the hand-held massage device. The feedback is used to adjust the massage experience to the user's preferences and needs.Results:The massage device system based on STM32 microcontroller provides a comfortable and relaxing massage experience. The massage bed and hand-held massage device can be customized to provide a variety of massage modes and intensities. The real-time feedback from the sensors ensures that the massage experience is tailored to the user's position and pressure preferences. The system effectively relieves muscle soreness and improves blood circulation.Conclusion:The massage device system based on STM32 microcontroller provides a customized massage experience that effectively relieves muscle soreness and improves blood circulation. The system includes a massage bed, a hand-held massage device, and a control unit, which includes an STM32 microcontroller, a touch screen display, and various sensors. The system can provide a variety of massage modes and intensities, which are controlled by the touch screen display. The real-time feedback from the sensors ensures that the massage experienceis tailored to the user's preferences and needs. The system has great potential in the field of physical therapy and health care.。
基于单片机的红外线智能家电控制系统设计毕业设计

目录第一部分设计任务与调研 (2)1. 毕业设计的主要任务 (2)2. 毕业设计的思路与方法 (2)4. 研究目的和总结 (3)第二部分设计说明 (5)1. 我的设计是智能家电语音控制系统 (5)2. 设计方案 (5)3. 红外线通讯技术及其实现 (6)4. 语音识别技术及其实现 (8)5. 产品的特点 (11)第三部分设计成果 (12)第四部分结束语 (14)第五部分致谢 (15)第六部分参考文献 (16)-第一部分设计任务与调研1. 毕业设计的主要任务基于单片机的红外线智能家电控制系统的设计(红外线智能家电语音控制系统)。
2. 毕业设计的思路与方法设计思路——通过自动接收遥控器红外信号和录制使用者的声音信号,并存储到设备当中。
当使用者下达语音指令时,设备会自动识别语音信号并和单片机上已经录入的信号系统相匹配,然后由单片机发布相应的指令,通过无线电信号传输到红外信号发生器上,从而发出红外线信号,达到对家电系统语音遥控控制的目的。
在关闭家电之后,系统会自动发布关闭电源信号,操作模拟开关对家电进行彻底的断电,达到安全节能的目的。
3.图1-1 系统功能实现原理图在智能家电系统中,语音识别是其关键,在本系统中,采用了特定发音人进行语音识别,其原理如图2所示。
首先在训练过程中,录入一条语音样本,然后对样本进行采样、量化、滤除噪音,对语音信号进行线性预测分析,将分析的语音特征保存在系统的数据库中,语音特征描述语音信号的波形和频谱信息。
在使用阶段,将输入的语音命令提取特征后与数据库中的特征模型进行匹配检验。
找到相匹配的语音样本,返回识别结果来触发相应的命令。
当长时间没有语音命令,该芯片将进入休眠状态以减少功耗。
图1-2 语音识别原理4. 研究目的和总结智能家居语音控制系统是以住宅为平台,利用综合布线技术、网络通信技术、安全防范技术、自动控制技术、音视频技术将家具生活有关的设施集成,构建高效的住宅设施与家庭日程事务的管理系统,提升家居安全性、便利性、舒适性、艺术性,并实现环保节能的居住环境。
基于51单片机的红外遥控设计-毕业设计论文22(1)

毕业设计(论文)卧室电器用红外遥控器(基于51单片机的红外遥控器设计)Bedroom Appliances With The Infrared Remote Control(Based on 51 single-chip infrared remote control design)完成日期 2012 年 4 月摘要红外遥控是目前家用电器中用得较多的遥控方式。
我们知道,红外线是人的眼睛能看到的可见光按波长从长到短排列,依次为红、橙、黄、绿、青、蓝、紫。
其中红光的波长范围为0.62~0.76μm;紫光的波长范围为0.38~0.46μm。
比紫光波长还短的光叫紫外线,比红光波长还长的光叫红外线。
红外线遥控就是利用波长为0.76~1.5μm之间的近红外线来传送控制信号的。
常用的红外遥控系统一般分发射和接收两个部分。
发射部分的主要元件为红外发光二极管。
很多电器都采用红外遥控,那么红外遥控的工作原理是什么呢?本文将介绍其原理和设计方法。
红外遥控常用的载波频率为38kHz,这是由发射端所使用的455kHz晶振来决定的,在发射端要对晶振进行整数分频,分频系数一般取12,所以455kHz÷12≈37.9 kHz≈38kHz。
也有一些遥控系统采用36kHz、40kHz、56kHz等,一般由发射端晶振的振荡频率来决定。
接收端的输出状态大致可分为脉冲、电平、自锁、互锁、数据五种形式。
“脉冲”输出是当按发射端按键时,接收端对应输出端输出一个“有效脉冲”,宽度一般在100ms左右。
一般情况下,接收端除了几位数据输出外,还应有一位“数据有效”输出端,以便后级适时地来取数据。
这种输出形式一般用于与单片机或微机接口。
除以上输出形式外,还有“锁存”和“暂存”两种形式。
所谓“锁存”输出是指对发射端每次发的信号,接收端对应输出予以“储存”,直至收到新的信号为止;“暂存”输出与上述介绍的“电平”输出类似。
70年代研制出的红外遥控技术,随着大规模集成电路和微处理技术的发展和成熟,红外线遥控系统也迅速发展并得到广泛的应用,特别是在家用电器上的成功应用,给人们的工作、生活和娱乐带来了极大的方便,随着城市居民生活水平的提高,家庭里家用电器的种类和数量逐步增加,与之配套的红外遥控发射器也越来越多关键词:80c51单片机、红外发光二极管、晶振SummaryThe infrared remote control home appliances used more remote way. We know that infrared is the human eye can see the visible light wavelength from long to short arrangement, followed by red, orange, yellow, green, blue, blue, purple. Which the red wavelength range of 0.62 ~ 0.76μm; violet wavelength range of 0.38 ~ 0.46μm. Shorter than the violet wavelengths of light called ultraviolet light than the red wavelength of light called infrared. Infrared remote control is the use of a wavelength of between 0.76 ~ 1.5μm near-infrared to transmit control signals. Infrared remote control systems are generally divided into transmit and receive two parts. The main components of the emission part of the infrared light-emitting diodes.Many electrical appliances are using the infrared remote control, infrared remote control works what is it? This article describes the principle and design method. Infrared remote common carrier frequency of 38kHz, which is determined by the 455kHz crystal used by the transmitter, the transmitter crystal is the integer frequency divider factor generally take 12, so 455kHz ÷12 ≈37.9 kHz ≈38kHz. Remote control system uses 36kHz, 40kHz, 56 kHz, generally determined by the oscillation frequency of the transmitter crystal. The receiving end of the output state can be broadly divided into the pulse level, self-locking, interlocking, data five forms. "Pulse" output is press the transmitter button, the receiver corresponds to the output terminal an "effective pulse", width of about 100ms. Under normal circumstances, the receiver in addition to several data output, there should be a "data valid" output, so that after the class in a timely manner to take the data. The form of this output is generally used to interface with a microcontroller or microprocessor. In addition to the output in the form above, as well as "latch" and "temporary" in two forms. The so-called "latch output signal issued by each transmitter, the receiver corresponds to the output to be" stored "until they receive the new signal; similar to the output of" temporary "output of the above described level.Infrared remote control technology developed in the 1970s, with large-scale integrated circuits and micro-processing technology to develop and mature, infrared remote control system for the rapid development and wide range of applications, especially in the successful application of household appliances, to the people, live and play has brought great convenience, with the improvement of living standards, urban residents, the type and number of household appliances in the family gradually increase, more and more infrared remote control transmitter accompanyingKeywords: 80C51 microcontroller, infrared light-emitting diodes, crystal目录第一章1、引言 (6)2、红外线遥控电路的设计 (6)2、1设计要求与指标: (6)2.1.1、红外线遥控系统组成 (7)2.1.2、红外线遥控系统框图 (7)2.1、电路设计 (7)2.1.1、红外线遥控调光电路介绍 (7)2.1.2、电路组成 (8)2.1.3、电路工作原理 (10)2.1.4、芯片引脚及功能 (10)2.1.5、元器件的功能 (12)2.1.6、其他电路设计方案介绍 (17)3、安装与测试 (20)3.1、红外线遥感发射系统设计 (20)3.2、红外线发射电路设计 (22)3.3、调试与检测安全分析 (27)第二章1、引言 (28)2、原理图设计 (29)2.1、绘制PCB图 (35)3、红外线遥控系统设计 (46)4、系统功能实现方法 (50)5、红外线接收电路 (52)6、软件设计 (53)7、调试结果及分析 (54)8、结论 (55)附录 (55)参考文献 (61)致谢 (62)绪论人的眼睛能看到的可见光按波长从长到短排列,依次为红、橙、黄、绿、青、蓝、紫。
基于单片机控制的红外烘手器毕业论文

毕业论文(设计)—基于单片机的按摩器系统的设计与实现

郑州大学西亚斯国际学院本科毕业论文(设计)题目_基于单片机的按摩器系统的设计与实现指导教师职称学生姓名学号专业自动化班级(1)班院(系)电子信息工程学院完成时间基于单片机的按摩器系统的设计与实现摘要按摩器(massager)是根据物理学,仿生学学,生物电学、中医学以及多年临床实践而研制开发出的新一代保健器材。
电子按摩器还分为:电磁按摩、震动按摩和红外按摩。
本设计所选择的是电子按摩器中的震动按摩器,利用单片机PWM(脉宽调制技术)控制直流电机的转速,从而控制震动的快慢和幅度。
本文介绍了基于AT89C52单片机的按摩器系统的硬件结构和软硬件设计方法。
系统以AT89C52单片机为控制器,产生PWM(脉冲宽度调制)控制波形输出,利用直流电机芯片L298N驱动12V直流电机。
实现了电机的正转,反转以及多级调速,在LED上现实按摩器档位和正反转情况。
此按摩器具有显示直观、功能多样、电路简洁、成本低廉等诸多优点,具有广阔的市场前景。
关键字:AT89C52,PWM(脉冲宽度调制),L298N,12V直流电机。
Microcontroller based massage system design andimplementationABSTRACTMassager (massager) is based on physics, bionics, bio-electricity, medicine and clinical practice for many years and developed a new generation of health-care equipment. Electronic massager is also divided into: electromagnetic massage, vibration massage and infrared massage. The design was chosen by the vibration in the electronic massage massage, use of microcontroller PWM (pulse width modulation) control DC motor speed to control the speed and magnitude of vibration. This article describes the massage based on AT89C52 microcontroller system hardware and software and hardware design methods. AT89C52 microcontroller as the control system, resulting in PWM (pulse width modulation) control waveform output, the use of DC motor 12V DC Motor Driver IC L298N. To achieve the motor forward, reverse and multi-level speed, the LED on the real massage stalls and reversing the situation. This massage has a visual display, versatile, circuit simplicity, low cost and many other advantages, and has broad market prospects.Keywords: AT89C52, PWM (pulse width modulation), L298N, 12V DC motor目录中文摘要 (1)英文摘要 (2)1概述 (5)1.1选题背景 (5)1.2设计的应用 (6)2系统总体方案及硬件设计 (6)2.1系统设计要求 (6)2.2总体设计方案 (6)2.3主要元器件介绍 (7)2.3.1主控芯片AT89C52简介 (7)2.3.2 电机驱动芯片l298n功能简介 (10)2.3.3 显示模块简介 (10)2.4系统硬件设计 (13)3系统软件设计 (16)3.1系统结构设计 (16)3.2系统初始化及调速过程 (16)3.3响应过程 (17)4 PROTEUS软件仿真 (17)4.1P ROTEUS ISIS简介 (17)4.2P ROTEUS运行流程 (18)4.3P ROTEUS功能仿真 (18)总结 (19)致谢 (20)参考文献 (21)附录 (22)1概述1.1选题背景按摩器(massager)是根据物理学,仿生学学,生物电学、中医学以及多年临床实践而研制开发出的新一代保健器材。
基于单片机的红外感应器设计[毕业论文]
![基于单片机的红外感应器设计[毕业论文]](https://img.taocdn.com/s3/m/6b4652ff6c175f0e7dd137bf.png)
基于单片机的红外感应器设计[毕业论文] 支持正版,从我做起,一切是在为了方便大家~知识就是力量~绝密文件,核心资料,拒绝盗版,支持正版,从我做起,一切是在为了方便大家~知识就是力量~绝密文件,核心资料,拒绝盗版,浙江万里学院(2013届)论文题目基于单片机的红外感应器设计(英文) Infrared Sensors Circuit Design based onSingle-chip Microcomputer所在学院电子信息学院专业班级通信工程093 学生姓名学号 09017437 指导教师职称完成日期 2013 年 4 月 27 日摘要传感器是一种能将检测到的信息按一定规律转换成为电信号或其他所需形式的信息输出的检测装置,而红外感应器是现在市面上应用比较广泛的一种感应器,它是一种用红外线作为介质的测量系统,不仅在现代科技,国防和工农业等领域得到了广泛的应用,连在我们日常生活中也常常存在它的身影,比如商场里的感应水龙头,自动干手器,报警器等都用到了红外感应器。
本文就提出了了一个基于单片机的红外感应器,本设计介绍了由51单片机来构成整个设计的主控芯片的红外感应器,该设计除了具备最基本的语音提示外,还可以根据周围的光线的强弱来控制过道的灯,除此之外,还能分辨出客人是进入还是离开。
它可以在一定程度上为人们的生活和工作带来便来。
关键词:传感器;51单片机;红外感应;语音提示;光线强弱AbstractSensor is a an ability to be converted into an electrical signal according to certain rules or other required information in the form output detection device, the infrared sensor is now available in a much wider application as a sensor, It is a measurement system using infrared as a medium, not only in the field of modern science and technology, defense, and industrial and agricultural has been widely used, often its presence even in our daily life, Such as shopping malls in the faucet, automatic hand dryer, alarm are all used in the infrared sensor.This paper proposed a microcontroller-based infrared sensors, the design constitutes the entire design of the controller chips by 51 microcontroller infrared sensors, the design with the most basic voice prompts, you can also according to the surrounding light the strength to control the aisle lights, in addition, but also tell the guests to enter or leave. To a certain extent, it can be for people to live and workwill bring.Key Words: Sensor;51 Single-chip Microcontroller; Infrared Sensor; Voice Prompts;The Intensity of Light目录摘要...................................................................... (4)ABSTRACT................................................................ ................................................... 5 1 引言...................................................................... .................................................... 1 1.1课题的研究背景 ..................................................................... ............................ 1 1.2课题的内容和要求 ..................................................................... ........................ 2 1.3 本课题的研究意义...................................................................... ....................... 2 1.4 设计主要的应用场所...................................................................... ................... 2 2 系统模块分析...................................................................... .................................... 3 2.1 主控芯片51单片机简介...................................................................... ............. 3 2.1.1 51单片机简介...................................................................... ......................... 3 2.1.2 本设计中单片机的分析...................................................................... ......... 3 2.2 语音模块分析...................................................................... ............................... 4 2.2.1 语音芯片简介...................................................................... ......................... 4 2.2.2 语音芯片分类...................................................................... ......................... 4 2.2.3 语音芯片应用范围...................................................................... ................. 5 2.2.4 本设计中语音模块的分析...................................................................... ..... 5 2.3 红外模块分析...................................................................... ............................... 5 2.3.1 红外对管的特征和原理...................................................................... ......... 5 2.3.2 红外对管的分类...................................................................... ..................... 6 2.3.3 本设计中的红外对管分析...................................................................... ..... 6 3 系统硬件设计...................................................................... .................................... 7 3.1 单片机最小系统...................................................................... ........................... 7 3.1.1 复位电路...................................................................... ................................. 7 3.1.2 晶振电路...................................................................... ................................. 8 3.2 光敏感应电路...................................................................... ............................... 8 3.3 语音芯片模块电路...................................................................... ....................... 8 3.4 继电器电路...................................................................... ................................... 9 3.5 红外感应模块电路...................................................................... ....................... 9 3.6 滤波电路...................................................................... ..................................... 10 4 系统软件设计...................................................................... .................................. 11 4.1 程序生成环境...................................................................... ..............................11 4.1.1 Keil uVision2简介 ..................................................................... ................. 11 4.1.2程序生成步骤...................................................................... ........................ 11 4.2 系统流程图...................................................................... ................................. 13 4.2.1 进门流程图...................................................................... ........................... 13 4.2.1 出门流程图...................................................................... ........................... 13 4.3 系统程序分析...................................................................... .. (14)4.3.1 模块初始化程序分析...................................................................... .. (14)4.3.2 消抖程序分析...................................................................... .. (14)4.3.3 语音模块程序分析...................................................................... ............... 15 5 结论...................................................................... .................................................. 18 致谢...................................................................... . (19)参考文献...................................................................... (20)附录1 系统实物图...................................................................... ............................. 21 附录2 系统整体电路图........................................................................................... 22 附录3 毕业设计作品说明书...................................................................... . (23)浙江万里学院本科毕业论文 - 1 -1 引言1.1课题的研究背景人类光凭自己的感觉器官能够获取的信息是有限的,很多信息需要借助外在的一些工具来获取,而传感器就是一种能够将感受到的被测量的信息按一定的规律转变成电信号或者其他信号并且输出的一种检测装置,它可以满足信息的存储、处理、显示、输出、记录和控制等要求,是实现自动检测和自动控制的首要环节。
基于单片机智能按摩椅设计

本文介绍了一款采用单片机作为微处理芯片的电动按摩椅控制系统,具体包括有系统的组成和功能介绍、硬件电路的设计、软件功能实现以及抗干扰措施。
1:引言随着我国经济的迅速发展和人们生活水平的不断提高,按摩椅等保健产品越来越受到欢迎。
目前,在电动按摩椅市场上,、合资以及国产产品并存。
相对而言,进口产品功能强大、按摩方式丰富、外观优美,但同时其价格也非常昂贵。
而国内产品功能较简单,产品知名度也相对较低,但是其价格比较低廉。
本文主要介绍了一款自主研发的中档电动按摩椅。
该产品既有功能比较强大、按摩方式比较丰富、结构简单、外观优美、控制方式简单灵活,产品容易升级的特点,同时其价格却只有国外同等产品的一半。
2:按摩椅系统的组成、工作原理及其功能实现2.1:系统组成整个系统主要分为两个部分,即背部按摩区域和臀部、下肢按摩区域。
背部按摩区域的机构主要有:系统控制电路板、电动机、丝杆及其润滑装置、S形滑动槽、按摩头功能盒等。
同时根据人体结构又将背部整个区域划分为颈部、中部、腰部以及尾椎四个按摩区间。
而臀部、下肢按摩区域的机构主要有个按摩气囊及其实现机构。
此外系统主要还有手控面板,探测系统,靠背、小腿架处的电动推杆等。
2.2:系统工作原理及结构功能特点由于PIC单片机具有成本低,功能丰富,控制方式简单等优势,因此系统采用PIC16F74单片机作为系统的控制芯片。
系统设计为自动和手动两种运行模式。
在自动模式下,按摩模式主要有:快速消除疲劳模式、休闲模式、睡眠模式以及适合于老人使用的轻柔模式等。
而在手动方式下,可以启停任意电机和按摩气囊。
并可根据实际情况,选择需要的按摩力度、宽窄和气囊按摩压力。
系统所有的按摩功能均具有三档速度调节。
背部机构根据人体的背部生理曲线科学地设计为S形结构。
其背部机构的主要功能有:推拿、揉捏、捶打及指压。
其中推拿、揉捏、捶打及指压功能分别由三台电机独立驱动实现。
按摩头功能盒可以上下运行,并可选择全程、局部以及定点进行按摩。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业生论文题目:基于单片机的家用红外按摩仪设计摘要本课题主要是家用远红外按摩器控制系统设计。
在设计开始之前必须先了解远红外按摩器设计要求、实现功能。
由此设计硬件电路,并按照要求选择合适的器件。
硬件电路主要是利用单片机作为最小系统,外扩展一系列其他模块电路来实现功能。
主要包括设计霍尔传感器电路,实现位置控制;设计继电器电路,控制按摩、震动和远红外加热;设计时针电路,实现实时时间显示及定时控制;设计电源电路,具有+12伏、+5伏和+6伏输出等。
软件设计则应根据现有的硬件电路,和制定的工作流程编写。
远红外按摩器系统的工作原理主要是通过用单片机作为主控部件,霍尔传感器作为位置采样部件,固态继电器及小型双路继电器作为开关部件,时钟芯片作为实时时钟及定时部件,蜂鸣器作为状态提示部件,外扩按摩电机,震动电机,远红外加热板,实现按摩器定位按摩,选择震动,选择远红外加热及实时时间显示和定时等功能。
除此之外,还可以通过按键电路的按键进行数据的复位,确定和选择等操作,以达到能根据用户的实际需求灵活的修改工作参数,让用户可以很方便的寻找到合适的按摩方式。
关键词:最小系统;硬件电路;工作流程;软件设计ABSTRACTThe main topic is the far infrared massage bed control system design .At the beginning of the design before the Jie Yuan infrared massage bed design requirements ,to achieve functional.The design of the hardware circuit,and in accordance with the requirements to choose the right device.the hardware circuit is mainly the use of single-chip microcomputer as a minimum system,and a series of other expansion module circuit to realize the function of.Mainly includes the design of Holzer sensor circuit,to realize the position control;design of relay circuit,the control massage,vibration and far infrared heating;clock circuit design,to achieve real time display and timing control;design of power supply circuit,with the +12V,+5 volts and the +6 volt output,Software design should be based on existing hardware circuit,and make the work process to prepare.Far infrared massage bed control system principle of work mainly by using the single chip as the main control unit,Holzer sensor as the position sampling part,solid state relay and small dual relay as part of the switch,the clock chip as a real time clock and timing components,buzzer as the state prompting part,spread the massage motor,vibration motor,far infrared heating plate realization of positioning massage,massage bed,selsction of vibration,selection of far infrared heating and real time display and timing functions.In addition,but also through button circuit keys for data reduction,identification and selection of operation,in order to achieve according to the user’s actual demand for flexible modify operating parameters,so that users can easily find the suitable way of massage. Key words:minimum system;hardware circuit;work flow;software design目录第一章绪论 (1)1.1 引言 (1)1.2 选题背景及现状 (1)第二章总体方案设计 (2)第三章具体方案设计 (3)3.1单片机的选择...... .. (3)3.1.1选择AT89C52的理由 (3)3.1.2管脚信息的介绍 (4)3.2实时时间电路 (5)3.2.1计时模式的选择 (5)3.2.2时钟芯片的选择 (5)3.2.3各管脚的信息介绍 (5)3.3数码显示电路的设计 (6)3.4温度检测模块的设计 (7)3.4.1温度传感器的选择 (7)3.4.2各管脚的信息介绍 (8)3.5霍尔电路模块的设计 (8)3.6电机及加热模块的设计 (9)第四章主要硬件器件简介 (11)4.1 AT89C52单片机 (11)4.1.1 AT89C52系列单片机的优点 (11)4.1.2 AT89C52单片机的内部结构 (11)4.1.3 AT89C52单片机的引脚功能说明 (12)4.1.4 AT89C52单片机的时钟电路 (12)4.1.5 AT89C52单片机的复位电路 (13)4.2 时钟芯片(DS1302) (14)4.2.1 引脚功能及结构 (14)4.2.2注意事项 (15)4.3 温度传感器(DS18B20) (15)4.3.1 特点 (15)4.3.2 DS18B20使用中注意事项 (15)4.4 AT24C16 EEPROM 简介 (16)4.4.1特点 (16)4.4.2引脚说明 (16)4.5反相器ULN2003 器件 (16)4.5.1作用 (17)4.5.2接线介绍 (17)4.6固态继电器 (17)4.6.1固态继电器的优缺点 (17)4.6.2固态继电器的使用注意事项 (18)第五章功能分析及参数计算 (19)5.1 功能分析 (19)5.1.1时钟功能 (19)5.1.2温度检测功能 (19)5.1.3局部按摩功能 (19)5.1.4按摩机热疗功能 (19)5.1.5提示报警功能 (19)5.2参数计算 (19)5.2.1复位电路 (19)5.2.2数码管电路的计算 (20)5.2.3 DS1302时钟芯片晶振的计算 (20)第六章硬件开发工具简介 (21)6.1原理图的绘制 (21)6.2画原理图元件库 (22)6.3电路板设计 (22)6.4绘制PCB图 (23)6.5绘图总结 (24)第七章软件系统设计 (26)7.1系统工作流程图 (26)7.2软件设计 (26)7.2.1系统初始化的程序设计 (26)7.2.2按键扫描子程序设计 (27)7.2.3选择按摩位置的子程序设计 (28)第八章调试过程 (30)8.1硬件调试 (30)8.2软件调试 (30)8.2.1调试软件 (30)8.2.2调试程序 (31)第九章结论 (34)9.1 论文总结 (34)9.2主要工作及结论 (34)9.3存在问题 (34)9.4感想 (34)参考文献 (35)附录A:原理图 (36)附录C:PCB图 (37)第一章绪论1.1引言随着经济的不断发展,人民生活水平的不断提高,温饱已不再是困扰老百姓的头等大事,人们已将注意力转向各种提高精神享受、提高身体机能上。
正是如此,各种保健器械如雨后春笋般不断涌现,诸如按摩床、按摩垫、足浴盆等数不胜数!其中,按摩器又以其完善的设计、强大的功能深受人们的青睐。
按摩器是根据中国博大精深的经络学、人体工程学及欧美保健科技,精心设计而成。
设计独特、轻便、简捷,集推拿、指压、刮痧、热灸、远红外振动按摩,又分自动与手动两种工作方式,鉴于其平台的良好,仍可以对之进行不断的加装扩展其功能。
轻便型设计,简洁大方,易安装,可折叠,空间占用率低等优点,是亿万家庭寻求健康、休闲养生的最佳保健产品。
较于其他保健产品,其具有以下三大优点:1、脊椎矫正坐垫后背中置有一组电机,在微电脑控制下,按设计程序沿脊柱上下振动,对脊椎弯曲、关节功能紊乱等状况进行矫正,对脊神经进行梳理,以纠正神经功能异常,维护神经正常传导。
神经功能的正常化能够增强内脏器官及四肢组织的活力,以此治疗多种慢性病症。
2、指压按摩指压医疗原理认为,疾病是体内能量得不到释放和能量不均所引起的。
指压按摩是通过手掌、大拇指。
手指关节、肘、膝、甚至是脚底进行施压,沿着经穴线和能量导管,对全身数百个经穴进行按摩,安全、有效、简便、易行,对维护健康、增强活力、均衡气血起着重要的作用。
采用独特的排列方式,利用自身体重对人体背部重要穴位施压,是一种最自然的指压按摩方式。
3、热疗热属于物理能量的一种,其生物学上的变化,在物理治疗中是最常用的一种方法。
通过对人体表面的经络、穴位及疼痛的部位施加一定的热量,给予经络以温暖的气息,使气血循环通畅,从而达到防病治病的目的。
从现代医学上讲,利用热疗,能提高细胞组织的能力,减轻疼痛,增强血液循环,缓解炎症性反应和水肿,从而发挥其临床治疗效果。
1.2选题背景及现状当今信息革命的浪潮正在冲击着世界的每一个角落,世界同一市场正在形成,全球经济一体化正以超乎寻常的速度发展。
因此,保健业所面临的环境比以往任何时候都要复杂多变,竞争之激烈。
保健业要有能力对其外部环境的瞬间变化作出快捷反应,必须采用先进的保健技术、战略理念,以求得长期的生存和发展。
按摩器也是随着科技进步,逐步发展,其发展趋势有智能化、小型化、集成化、专业化、信息化等等。