设计说明书
总字数:19000+
摘要
随着办公与居家久坐场景的增多,久坐引发的健康问题(如腰椎劳损、血液循环不畅)及坐垫温湿度不适影响使用体验的问题日益凸显。若久坐时间过长未及时提醒,易加重身体负担;坐垫温湿度异常时,也会降低使用舒适度,甚至因潮湿引发皮肤不适。因此,研发一种具备久坐提醒、温湿度调节及智能控制功能的语音智能坐垫,具有重要的实用价值。
本设计提出了一种基于 STM32F103C8T6 单片机的语音智能坐垫。系统主要功能包括:通过 FSR402 薄膜式压力传感器检测是否有人落座,有人落座时自动开始计时,当计时时间超过设定最长时间,通过 CN-TTS 语音模块播报 “请劳逸结合,注意起身运动”;借助 DHT11 传感器检测坐垫周边温湿度,当温度低于预设最小值时,通过继电器控制模块启动加热功能,高于预设最大值时启动散热功能,当湿度大于预设最大值(判断为出现汗液)时,启动风干功能;用户可通过按键设置久坐时长、温湿度等阈值,也能手动控制加热、散热、风干的启停;通过 OLED 显示屏实时显示当前落座状态、计时时长、温湿度数据及设备工作状态;同时,通过 SU-03T 语音识别模块,用户可语音下达加热、散热、风干的控制指令,实现无接触智能操作。
该语音智能坐垫的作用在于,为用户提供了一种兼顾健康提醒与舒适调节的智能坐垫解决方案。通过久坐语音提醒,帮助用户养成健康作息习惯;通过温湿度自动调节与多方式控制,提升坐垫使用舒适度与操作便捷性,满足办公、居家等多场景使用需求。
关键词:单片机;语音智能坐垫;压力检测;温湿度调节;继电器控制;语音识别
Design of Voice Intelligent Seat Cushion Based on Single Chip Microcomputer
Abstract
With the increasing number of office and home sitting scenes, the health problems caused by prolonged sitting (such as lumbar strain, poor blood circulation) and the problem of uncomfortable seat cushion temperature and humidity affecting the user experience are becoming increasingly prominent. If sitting for too long without timely reminders, it can easily increase the burden on the body; When the temperature and humidity of the seat cushion are abnormal, it can also reduce the comfort of use, and even cause skin discomfort due to moisture. Therefore, developing a voice smart seat cushion with sedentary reminder, temperature and humidity regulation, and intelligent control functions has important practical value.
This design proposes a voice intelligent seat cushion based on STM32F103C8T6 microcontroller. The main functions of the system include: detecting whether someone is seated through the FSR402 thin film pressure sensor, automatically starting timing when someone is seated, and when the timing time exceeds the set maximum time, broadcasting “Please balance work and rest, pay attention to getting up and exercising” through the CN-TTS voice module; Using the DHT11 sensor to detect the temperature and humidity around the seat cushion, when the temperature is below the preset minimum value, the heating function is activated through the relay control module. When the temperature is above the preset maximum value, the cooling function is activated. When the humidity is above the preset maximum value (judged as sweat), the air drying function is activated; Users can set thresholds such as sedentary time, temperature and humidity through buttons, and manually control the start and stop of heating, cooling, and air drying; Real time display of current seating status, timing duration, temperature and humidity data, and equipment working status through OLED display screen; Meanwhile, through the SU-03T speech recognition module, users can voice control commands for heating, cooling, and air drying, achieving contactless intelligent operation.
The function of this voice intelligent seat cushion is to provide users with an intelligent seat cushion solution that balances health reminders and comfort adjustment. Assist users in developing healthy sleep habits through sedentary voice reminders; By automatically adjusting temperature and humidity and controlling in multiple ways, the comfort and ease of operation of the seat cushion are improved, meeting the needs of multiple scenarios such as office and home use.
Keywords: microcontroller; Voice intelligent seat cushion; Pressure detection; Temperature and humidity regulation; Relay control; speech recognition
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 压力检测模块电路设计
3.4 温湿度检测模块电路设计
3.5 继电器控制模块电路设计
3.6 语音交互模块电路设计
3.7 显示模块电路设计
3.8 按键模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温湿度检测模块子流程
4.5 OLED显示流程设计
4.6 薄膜压力检测模块子流程设计
4.7 语音播报模块子流程设计
4.8 语音识别模块子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 压力检测与久坐提醒功能测试
5.3 温湿度检测与继电器控制功能测试
5.4 按键设置功能测试
5.5 OLED 显示功能测试
5.6 语音识别功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!