摘要
温度测量在生产和日常生活中具有十分重要的意义,结合设计的用于监测环境温度的测温液晶显示系统,重点介绍了数字温度传感器DS18B20的特点及与单片机AT89S51的接口电路图.并给出了读、写DS18B20的子程序流程图。
It's very important to measure temperature both in the industry and daily life. introduce the characteristic of digital thermometer, DS18B20, combining the designed temperature measurement and display system, the interface circuit between single chip microcomputer and LCM. Provide two flowsheets of subprogram about DS18B20. DS18B20 has single bus construction, digital output and connects with computer directly, which make design process very easy. The designed system of temperature measurement with it was tested in the room temperature, which worked perfectly and meet our expected aim.