学 士 学 位 论 文基于 AT89S51 单片机的数字温度计的设计姓 名:王露学 号:202505120334 指导老师:李爱云 田中俊学 院:光电工程学院专 业:电子信息工程完成日期:2025 年 05 月 25 日 学 士 学 位 论 文基于 AT89S51 单片机的数字温度计的设计摘 要姓 名:王露学 号:202505120334 指导老师:李爱云 田中俊学 院:光电工程学院专 业:电子信息工程完成日期:2025 年 05 月 25 日随着时代的进步和进展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术, 本文主要设计了一个基于 AT89S51单片机和 DS18B20 数字温度传感器开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了讨论。该系统可以方便的实现温度采集和显示,并可根据需要任意设定上限报警温度,它使用起来相当方便,具有精度高、灵敏度高、量程宽、体积小、功耗低等优点,适合于我们日常生活和工农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。关键词:AT89S51 单片机;温度检测;DS18B20。AbstractAlong with the progress and development of the ages, single slice the machine technique has already make widely available the life is to us, work, research, each realm, have already become the technique of a kind of very maturity. This paper mainly designs the development process of a temperature measurement system based on AT89S51 single chip and DS18B20digital temperature sensor, the paper researches the hardware connectivity and software programming of the DS18B20 based on the single-chip, and give the software flow chart of each module. System can easily to collect and display the temperature, it can also arbitrary set alarm temperature according to the actual need, It is used convenience, it has high precision, wide range ,high sensitivity, small size, and low power dissipation, The device is especially applied to measure temperature in people's daily lives ,industrial and agricultural...