【正文】
y adjustable Inquiry. Research found that gardening cultivation, greenhouse flowers, awning vegetables one Some valuable varieties of soil moisture, soil has a high requirement, humidity At the time, not only seriously affecting its normal growth, and even cause planting product death Wu, causing serious damage. Farmers Therefore, engaged in this kind of agricultural very need a low cost, small volume and detection reliable soil .Soil humidity detector for water supply, provides the basis. In order to solve the above asked .Our problem, I unit bined with actual conditions of agricultural production, and the related units designed Home of high precision, to design the low cost of miniature soil moisture detection instrument. Along with the social life progress, people39。 (4) has strong antijamming, greatly improving the worthRoyal external electromagic interference ability, so it is especially suitable for relatively tough in conditions Under the poor conditions of the job. The use of LCD Using micro LCD display device, 1602LCD, its performance point is: working voltage only ~ V。 / / to be liquid crystal early beginning } 2)the production of clock When the clock points frequency device (after it can have to MHz in turn when the change in A/D clock) turn change when idle is empty, the hold after A state in ADCR is written to the START field immediately START 01 (conversion) or the selected edge appear in choice of signal sampling clock can immediately START. This feature can save power consumption. ADC conversion clock putation formula is as follows FADC=FPCK/( CLKDIV+1) Type: Fpclk core slice。為此,從事該類農(nóng)業(yè)生產(chǎn)的農(nóng)民朋友非常需要一種成本低、體積小且檢測可靠的土壤濕度檢測儀,為水分供應(yīng)提供依據(jù)。該模擬信號進(jìn)入 A/D 轉(zhuǎn)換芯片的 CH0 通道進(jìn)行轉(zhuǎn)換處理,所 得到數(shù)字信號再送入單片機(jī) AT89S51 進(jìn)行數(shù)據(jù)處理并由液晶顯示。 在第 3 個(gè)脈沖下沉之后, DI 端的輸入電平就失去輸入作用 ,此 后數(shù)據(jù) 輸出端 DO 開始輸出轉(zhuǎn)換后的數(shù)據(jù) 。其字符顯示功能由內(nèi)部專用的驅(qū)動芯片 HD44780[4]準(zhǔn) ASCII 碼放入其內(nèi)部集成的數(shù)據(jù)顯示用存儲器( DDRAM),內(nèi)部控制線 路就會自動將符傳送到顯示器上 。 這個(gè)特性可以節(jié)省功耗。 其基本過程是先繪制好圖 3 所示的仿真電 路 后 , 將 由 Keil 軟 件 編 譯 并 生 成 的 系 統(tǒng) 驅(qū) 動 軟 件( hex 文件)載入 LPC2131。 第七章 參考文獻(xiàn) [1]孫余凱 ,吳鳴 山 ,項(xiàng)綺明 .集成運(yùn)算放大器實(shí)用電路識圖 [M].北京 :電子工業(yè)出版社 ,2021. [2]李贛平 ,邵惠鶴 .基于 ARM 的高精度智能流量變送器的設(shè)計(jì) [J].電子技術(shù)應(yīng)用 ,2021,12. [3] 馮偉 ,白瑞林 ,李祥偉 .基于 的數(shù)字式觸摸屏驅(qū)動程序的開發(fā) [J].自動化儀表 , 2021,9. [4] 張洪潤 . 傳感器應(yīng)用設(shè)計(jì) 300 例(上冊) [M].北京 : 北京航空航天 大學(xué)出版社 , 2021. [5] 徐瑋 . C51 單片機(jī)高效入門 [M]. 北京 : 機(jī)械工業(yè)出版社 , 2021. [6] 師寶山 .基于 AT89S51 的多參數(shù)氣體檢測儀的研制 [J].微計(jì)算機(jī) 信息 , 2021, 7~1. [7]周堅(jiān)單片機(jī)輕松入門 [M].北京 :北京航空航天大學(xué)出版社 , 2021. 。所示的仿真電路,再將由 Keil 軟件編譯并生成的系統(tǒng)驅(qū)動 程序 (“ *.hex 文 件 ”) 載 入 單 片 機(jī) ,并 將圖 2 中 的 虛擬直流電壓信號發(fā)生器設(shè)為 45mV。 ( 3)中斷。 第四章 系統(tǒng)的控制軟件設(shè)計(jì) 本 記錄儀的控制軟件設(shè)計(jì)采用模塊化思想 根據(jù)功能將系統(tǒng)控制軟件分為兩大模塊: ① ADC0832 的驅(qū)動程序模塊,控制電壓信號的采集;② 1602LCD 的驅(qū)動程序 模塊,顯示土壤濕度。正常情況下, ADC0832 與單片機(jī)的接口應(yīng)為 4 條數(shù)據(jù)線,分別是 CS、 CLK、 DO、 DI。ADC0832 的工作。 本文則詳細(xì)介紹了該檢測儀的測控電路和相關(guān)軟件流程。| / / decrease along the startup conversion AD0DR。 And reliable work。s cultural life and is good for mental and bodily health , but also can improve and purify air, improve health. Water is necessary for flower’s growth ,it influences the growth of flowers greatly. Too much water or too little, will affect the normal growth and the kind of flower is verious, Different flowers need different amount of water. The needful water, mostly from the soil, in order to control flowers moisture in the soil properly, using PRO F soil humidity sensor design an automatic watering the flowers system, it may, automatically set for flowers watering according to the humidity limit, in order to meet the need of imperative wate