摘 要
选题来源主要基于婴幼儿成长环境控制的迫切需求和技术发展趋势。随着生活水平的提高,家长对婴儿房环境质量的关注日益增加。同时,嵌入式技术、传感器技术等的发展为婴儿房环境控制提供了新方案。因此,本选题旨在结合实际需求和技术发展,设计一种基于嵌入式系统的婴儿房温湿度自动调节系统,以提升婴幼儿成长环境的舒适度。
本文提出了一种基于AT89S51单片机的婴儿房温度自动调节系统设计。该系统利用DS18B20传感器实时采集婴儿房温度,并通过LCD1602显示器直观展示当前温度。硬件设计涵盖了STC89C52单片机最小系统、测温电路、实时时钟电路、LCD液晶显示电路以及通讯模块电路等关键部分。系统程序则包含主程序、温度读取与计算子程序、按键处理、LCD显示及数据存储等功能模块。当温度超出预设范围时,系统通过控制马达驱动风扇转动,实现温度的自动调节。本研究不仅优化了婴儿房的环境舒适度,还体现了单片机在智能家居领域的应用潜力。
关键词:AT89S51单片机;DS18B20传感器;LCD1602显示;温度自动调节;STC89C52单片机;婴儿房环境控制
ABSTRACT
The source of the topic is mainly based on the urgent demand of the infant growth environment control and the technology development trend. With the improvement of living standards, parents are increasingly concerned about the environmental quality of the infant room. At the same time, the development of embedded technology and sensor technology provides a new scheme for the environmental control of the baby room. Therefore, this topic aims to design an automatic infant room temperature and humidity regulation system based on embedded system based on the actual needs and technical development, so as to improve the comfort of infant growing environment.
This paper presents a design of temperature regulation system based on AT89S51 SCM. The system uses the DS18B20 sensor to collect the baby room temperature in real time, and visually display the current temperature through the LCD1602 display. The hardware design covers the STC89C52 minimum system, temperature measurement circuit, real-time clock circuit, LCD LCD circuit and communication module circuit. The system program includes the main program, temperature reading and calculation subroutine, key processing, LCD display, data storage and other functional modules. When the temperature exceeds the preset range, the system controls the motor to drive the fan to rotate to realize automatic temperature adjustment. This study not only optimizes the environmental comfort of the baby room, but also embodies the application potential of SCM in the field of smart home.
Key words: AT89S51 single chip computer; DS18B20 sensor; LCD1602 display; temperature automatic adjustment; STC89C52 single chip computer; baby room environment control
目 录









