基于单片机的人体睡眠监控提醒系统设计
2020-12-23孙丽丽朱嘉杰
孙丽丽 朱嘉杰



摘 要: 伴隨科技的迅猛发展,娱乐方式层出不穷,越来越多的人们由于沉迷手机、ipad等便携式终端带来的视觉冲击,而迟迟不肯入睡。部分产业工人由于机器设备使用特性,需要倒班;快递物流的实时性需要,使得司机通常需要夜里开车,白天睡觉,大部分人开始关注自身睡眠问题。特别是年轻人普遍存在无法正常睡眠的情况,睡眠时长不足会影响工作、学习效率及身体健康,而睡眠时间过长也会影响工作、学习进程。基于单片机的人体睡眠监控提醒系统可根据用户心率变化、周围光线强弱、人体运动情况对人体睡眠时长进行统计。当到达预设的睡眠时长实现蜂鸣器报警提醒,用户可通过按键模块预先设定睡眠时长,液晶显示屏显示用户的当前心率、睡眠时长统计及睡眠预设时长。本系统以单片机为控制核心芯片,实现人体睡眠监控和提醒功能。
关键词: 单片机;心率采集模块;震动传感器模块;光传感器模块;睡眠监控
中图分类号: TP274 文献标识码: A DOI:10.3969/j.issn.1003-6970.2020.10.064
本文著录格式:孙丽丽,朱嘉杰. 基于单片机的人体睡眠监控提醒系统设计[J]. 软件,2020,41(10):253255
【Abstract】: With the rapid development of science and technology, peoples living standards continue to be improved, and there are endless ways of entertainment. Many people indulge in the visual feasts from the intelligent terminals such as mobiles phones and ipads, and reluctant to fall in sleep. Owing to the continuous characteristics of production equipment, some industrial workers need to work in shifts. The real-time performance demands in express service company need the drivers transport the deliveries at night and fall asleep during the day. Most people start to pay attention to their sleep qualities. Especially young people are generally unable to sleep normally. Insufficient sleep duration will affect work efficiency and physical health. Too long sleep duration will affect work progress. Sleeping activity monitoring devices on the market are emerging in an endless stream, but these main devices only have a monitoring function, and do not have a reminder function. This human sleep monitoring and reminding system can count the duration of human sleep according to the change of user's heart rate, the surrounding light intensity, and the movement of the human body. The user can set the sleep duration through the buttons, and the LCD screen displays the users heart rate, the actual sleep duration and the preset sleep reminder duration. During sleep, the user's heart rate exceeds 85BPM (Beat Per Minute) or the vibration sensor detects 3 vibrations within 1 second. The system determines that the person has been awake and will pause the timing. When the sleep state is entered again, the system continues to count. This system uses a single-chip microcomputer as the core control chip, and selects Pulse sensor heart rate sensor, SW-420 vibration sensor, YL-38 light sensor, etc. as the system's sensors to collect physiological activity parameters and environmental parameters during sleep. The display module displays heart rate, actual sleep time and preset sleep reminder time to realize human sleep monitoring and reminder functions.
【Key words】: Single chip microcomputer; Heart rate sensor; Shock sensor; Light sensor; Display screen; Sleep monitoring
0 引言
睡眠是人类最基本的生理需求,在快节奏越来越快的现代社会生活中扮演着重要的角色。睡眠质量差会带来许多健康问题,如免疫力下降,消瘦,精神不佳等,甚至会提高高血压、心脏病等发病几率。生活节奏的加快导致生活压力越来越大,人们常常会遇到睡眠问题。特殊工种的产业工人和长途司机由于工作的连续性,通常在夜晚不能进行正常睡眠。……
