项目编号:mcuclub-dz-266
设计简介:
项目编号:mcuclub-dz-266
单片机类型:STM32F103C8T6
具体功能:
1、通过两个按键可以调节书桌高度(步进电机模拟),通过另外两个按键调节书桌角度(步进电机模拟)
2、通过超声波检测台灯到人的距离
3、通过光敏电阻检测光照值
4、当距离值小于设置最大值,则证明有人在台灯前,此时如果光照小于设置最大值,则打开灯光,在最大值和最小值之间,根据光照值自动调节光亮度,当小于设置最小值,则调整为最大亮度
5、当距离值小于设置最小值,则坐姿有问题,通过语音模块提醒“请注意坐姿”
6、当有人时,开始计时,计时达到设置时间,通过语音模块提醒“请注意休息”,且控制书桌下降
7、通过按键可设置各阈值,手动调节灯亮度、切换模式
8、通过OLED显示屏显示测量值
9、通过DHT11检测温湿度值,当温度高于设置最大值,开启风扇进行降温
总字数:19569
摘 要
儿童处于成长的关键时期,不良的坐姿容易导致驼背和近视。传统的儿童书桌高度固定,使得很多儿童由于高度不合适导致坐姿不端正,严重影响了儿童的身体健康。
为了有效预防驼背和近视的加剧,国家提出了“科学用眼、预防近视”的指导方针,对现有的书桌进行升降高度、智能补光、智能提醒等措施,使书桌具备监测视力和坐姿等功能。本设计采用STM32作为主控芯片,通过3个传感器分别监测台灯到人的距离、光照强度和环境温度,根据实时状态对坐姿、光照强度和环境温湿度进行调整,使智能书桌的相关参数处于适宜的范围之内,有效的保证学习者的学习激情和身体健康。
实物测试表明,该智能书桌的设计,能有效改善传统书桌智能化程度不高的缺陷,使得儿童书桌具有良好的发展前景和现实意义。
关键词:书桌;显示屏;单片机;传感器;坐姿
Abstract
Children are in a critical period of growth, and poor sitting posture can easily lead to hunchback and myopia. The traditional children’s desk height is fixed, which makes many children sit incorrectly due to inappropriate height, which seriously affects children’s health.
In order to effectively prevent the aggravation of hunchback and myopia, the state has put forward the guidelines of “scientific eye use and myopia prevention”, and measures such as lifting the height of the existing desk, intelligent light filling, intelligent reminder, etc., so that the desk has functions such as monitoring vision and sitting position. This design uses STM32 as the main control chip, and three sensors are used to monitor the distance from the desk lamp to the person, the light intensity and the ambient temperature, and adjust the sitting position, the light intensity and the ambient temperature and humidity according to the real-time state, so that the relevant parameters of the smart desk are within the appropriate range, and effectively ensure the learning passion and physical health of learners.
The physical test shows that the design of the smart desk can effectively improve the defect of the low intelligence of the traditional desk, so that the children’s desk has a good development prospect and practical significance.
Key words: desk; Display screen; Single-chip computer; Sensor; Sitting position
目 录
第1章 绪 论
第2章 系统设计分析
第3章 控制系统硬件设计
第4章 系统程序设计
第5章 实物测试
总 结
参考文献
附 录