摘要:现在,随着铁路旅客列车向高速化、舒适化发展,列车车厢内的环境温度越来越受到人们的关注。与普通温度控制系统相比,旅客列车温度控制系统有其特殊性,其对温度的控制往往采用计算机来自动完成,能很好地保持列车车厢内温度恒定。32475
本文设计了一种基于单片机列车车厢温度控制系统研究,它主要是以STC89C51单片机作为微控制器,利用数字温度传感器DS18B20采集温度。本系统有优尔个部分,其中DIS18B20测温模块,主要进行温度数据的采集和传输;LCD1602液晶显示器显示模块主要接受来自单片机的信息数据并加以显示,此外还显示设定的温度上下限值;复位电路模块可以通过按键复位;报警电路模块,当温度超过或低于设置温度时进行报警;按键功能模块,通过按键进入温度设置程序,并完成温度上下限的设置。先通过单片机将温度传感器采集到的温度数据传给单片机,然后单片机进行数据处理后把温度数据传输至液晶显示器LCD1602进行显示,并同时与设置的温度上下限进行比较;如果超出设置的温度范围,系统发高电平启动报警控制模块及通过继电器驱动负载工作,当温度恢复设置温度范围内则停止输出高电平,关闭报警控制模块。
本文使用Proteus软件进行电路仿真,程序采用C51编写,在Keil环境中编译,最终完成整套系统的焊接,这套温度检测控制器具控制按键少,有较好的可操作性,并还有很好的可拓展性。
毕业论文关键词:单片机 温度传感器DS18B20 液晶显示器LCD1602 温度控制系统恒定
Design of temperature control system for train car
Abstract: Nowadays, with the development of railway passenger train to high speed and comfort, the environmental temperature in the train compartment is getting more and more attention. Compared with the ordinary temperature control system, temperature control system of passenger train has its particularity, its control on temperature tend to use computers to automatically, can well maintain the constant temperature in the train.
This paper designs a temperature control system based on single chip microcomputer, which is based on the STC89C51 microcontroller as the microcontroller, the use of digital temperature sensor DS18B20 acquisition temperature. The system has six parts, including DIS18B20 temperature measurement module, temperature data acquisition and transmission; LCD1602 liquid crystal display module mainly received from SCM information data and display them, in addition to display the set temperature limits; reset circuit module can by pressing the reset button, the alarm circuit module, when the temperature is above or below the set temperature alarm; the key functional modules, through the keys to enter the temperature setting program, and completed the upper and lower temperature settings. First through the MCU will be collected by the temperature sensor of the temperature data transfer to the microcontroller, and single chip microcomputer for data processing after the temperature data is transmitted to the liquid crystal display LCD1602 display, and at the same time with upper and lower temperature settings were compared; if it exceeds the set temperature range, the system of high level start alarm control module and the relay drive load. When the temperature recovery set temperature range stop high output level, close the alarm control module.
In this paper, the use of Proteus Software for circuit simulation, the program is written by C51, compiled in keil environment, finally completed the whole system of welding, the temperature detection control apparatus control keys, good can operation, and good scalability.
Key words: SCM Temperature sensor DS18B20 LCD1602 Constant temperature control system.
目录
1 绪论 7 STC89C51单片机列车车厢温度控制系统设计+电路图+源程序:http://www.youerw.com/zidonghua/lunwen_29087.html