需要金幣:500 個金幣 | 資料包括:完整論文 | ||
轉換比率:金額 X 10=金幣數量, 例100元=1000金幣 | 論文字數:13417 | ||
折扣與優惠:團購最低可5折優惠 - 了解詳情 | 論文格式:Word格式(*.doc) |
摘要:本論文介紹了一種以單片機為主要控制器件,以DS18B20為溫度傳感器的新型數字溫度計。主要包括硬件電路的設計和系統程序的設計。硬件電路主要包括主控制器,測溫控制電路和通信電路等,主控制器采用單片機AT89S52,溫度傳感器采用美國DALLAS半導體公司生產的DS18B20,采用RS232標準串口與上位機進行實時通信。系統程序主要包括主程序,測溫子程序和通信子程序等。DS18B20新型單總線數字溫度傳感器是DALLAS 公司生產的單線數字溫度傳感器, 集溫度測量和 A /D轉換于一體 ,直接輸出數字量,具有接口簡單、精度高、抗干擾能力強、工作穩定可靠等特點。 由于采用了改進型智能溫度傳感器DS18B20作為檢測元件,與傳統的溫度計相比,本數字溫度計減少了外部的硬件電路,具有低成本和易使用的特點。DS18B20溫度計還可以在高溫報警、遠距離多點測溫控制等方面進行應用開發,具有很好的發展前景。此外,還介紹了系統的調試和性能分析。 關鍵詞:單片機,AT89S52,溫度傳感器,DS18B20,單總線
Abstract:The present paper introduced one kind take the monolithic integrated circuit as the primary control component, take DS18B20 as temperature sensor's new digital thermometer. Mainly includes hardware circuit's design and the system program design. The hardware circuit mainly includes the master-control unit, the temperature measurement control circuit and the communication circuit and so on, the master-control unit uses monolithic integrated circuit AT89S52, the temperature sensor uses DS18B20 which the American DALLAS Semiconductor Company produces, uses the RS232 standard serial port and the superior machine carries on the real-time communication. The system program mainly includes the master routine, the temperature measurement subroutine and the correspondence subroutine and so on. The DS18B20 new single main line digit temperature sensor is the single track digit temperature sensor which DALLAS Corporation produces, the collection temperature survey and A /D transforms in a body, the direct output digit quantity, has the connection to be simple, the precision is high, antijamming ability is strong, work stable reliable and so on characteristics. Because used advanced version intelligence temperature sensor DS18B20 to take the detecting element, compared with the traditional thermometer, this digital thermometer reduced the exterior hardware circuit, has characteristic which the low cost and easy to use. The DS18B20 thermometer may also in the high temperature warning, aspects and so on long-distance range multi-spot temperature measurement control carry on the application development, has the very good prospects for development. In addition, but also introduced system's debugging and the performance analysis Key word: Monolithic integrated circuit, AT89S52, temperature sensor, DS18B20, single main line |