【正文】
oon climate, most of our region is hot wet and more rain in summer .Not only for short duration, high strength local rainstorm often happens, but also rain in wide range of the valley with long duration often happens .Annually, floods disaster happens in large range of our nation with varying degrees. Therefore, Perfect hydrological monitoring can help realtime monitoring hydrological in all regions with the central station and Make timely and reasonable measures for a variety of unexpected situations to prevent disasters and reduce the damage caused by disasters.The design use the AT89C51 chip as the core, bined with the necessary peripheral circuits .We design the hydrological monitoring system with 51 MCU as a core. It consists of 12V DC power supply. On the hardware side, in addition to MCU, It uses SDI12 bus to connect multiple sensors .Collected by TDC40(SDI12 to RS232 converter) the water level sensor data is sent to the MCU ports PO .The MCU use FLASH to store realtime data and transport the collected water level data to the central station through munication channel, such as the PSTN, GSM, COMPASS satellite, maritime satellite and so on. On the software side, we use C language for programming. By programming on the MCU, we realize hydrological monitoring system for the entire hydrological data collection, storage and transport procedures for monitoring, to determine and control and human exchange.Key word: MCU SDI12 data acquisition water level monitoring目 錄第一章 緒言 1第二章 單片機(jī)89C51簡(jiǎn)介 2第一節(jié) 單片機(jī)的特點(diǎn) 2第二節(jié) 單片機(jī)89C51介紹 2第三章 基于單片機(jī)的水災(zāi)監(jiān)測(cè)技術(shù) 4第一節(jié) AT89C51內(nèi)部結(jié)構(gòu) 4第二節(jié) AT89C51引腳及功能 5第三節(jié) 時(shí)鐘震蕩電路設(shè)計(jì) 7第四節(jié) 電源電路設(shè)計(jì) 7第四章 A/D轉(zhuǎn)換器TLC2543 12第一節(jié)TLC2543的編程要點(diǎn) 12第二節(jié) TLC2543與51系列單片機(jī)接口 13第三節(jié) 數(shù)據(jù)采集程序設(shè)計(jì) 14第五章 系統(tǒng)設(shè)計(jì) 16第一節(jié) 系統(tǒng)設(shè)計(jì)思路 16第二節(jié) 系統(tǒng)設(shè)計(jì)框圖 16第三節(jié) 系統(tǒng)硬件設(shè)計(jì) 17第四節(jié) 系統(tǒng)軟件設(shè)計(jì) 17結(jié)論 19致 謝 20參考文獻(xiàn) 21第一章 緒言目前,國(guó)內(nèi)許多水文站監(jiān)測(cè)水位和降雨量仍采用人工方法。在軟件方面,采用C語(yǔ)言編程。系統(tǒng)由12V直流電源供電。因此,完善的水情監(jiān)測(cè)有助于中心站實(shí)時(shí)監(jiān)測(cè)各地水情,并對(duì)各種突發(fā)狀況做出及時(shí)、合理的措施來(lái)防止災(zāi)害的發(fā)生和降低災(zāi)害所造成的破壞。摘 要我國(guó)地處季風(fēng)氣候區(qū),暴雨洪水頻發(fā)。受季風(fēng)氣候影響,我國(guó)大部分地區(qū)夏季濕熱多雨、雨熱同期,不僅短歷時(shí)、高強(qiáng)度的局地暴雨頻繁發(fā)生,而且長(zhǎng)歷時(shí)、大范圍的全流域降雨也時(shí)有發(fā)生,幾乎每年都會(huì)發(fā)生不同程度的洪澇災(zāi)害。本次設(shè)計(jì)以AT89C51芯片為核心,輔以相關(guān)的外圍電路,設(shè)計(jì)了以單片機(jī)為核心的水情監(jiān)測(cè)系統(tǒng)。在硬件方面,除了單片機(jī)外,采用SDI12總線來(lái)連接多個(gè)傳感器,通過(guò)TDC40 (SDI12 to RS232轉(zhuǎn)換器)將傳