【正文】
光信號轉(zhuǎn)換成了電信號讓使用者收集。這樣來說,雖然廉價簡單,畢竟可靠性和穩(wěn)定性優(yōu)點(diǎn)缺失。如果復(fù)位端有一個高層次的LCD12864復(fù)位時,因設(shè)計(jì)的LCD12864控制,就會并行讀取方式,使單片機(jī)的P0口和LCD12864接口連接數(shù)據(jù),在利用單片機(jī)控制E口和RS,R /W實(shí)現(xiàn)控制LCD12864。[10]選用LCD12864的主要原因是LCD12864自帶文字庫可以直接顯示文字。由于這個設(shè)計(jì)需要迅速加熱的功能,因此熱水箱容水量中不能太大,而且加熱電阻的功率一定要滿足條件,經(jīng)過反復(fù)測試,3KW的加熱電阻就非常穩(wěn)定。所以在使用直流穩(wěn)壓電源已經(jīng)無法完成它的要求,而且只要稍微處理不當(dāng)將會使系統(tǒng)損壞和導(dǎo)致用戶人身安全。原理圖如圖6所示。當(dāng)鐵芯出現(xiàn)磁力的時候,就說明閥門里面的線圈有電流通過,從而吸引彈簧取消彈簧的壓力讓閥口打開來,還有在額定工作電壓之內(nèi),閥口的打開幅度越大,流進(jìn)電磁們的電流就愈大。5V直流電壓控制電磁閥和3000W的加熱電阻絲這樣就能夠完成了。KEY5為自動檢測水箱液位按鍵。滿足與設(shè)計(jì)的要求并且價格比較低,所以這個設(shè)計(jì)所采用的是D S18B20為溫度檢測部分為核心裝置。溫度開關(guān)的價格相對比較低,但是因?yàn)樵O(shè)計(jì)所需要實(shí)現(xiàn)的智能控制和用戶溫度的控制,因此溫度開關(guān)已經(jīng)無法滿足這個設(shè)計(jì)要求。圖2復(fù)位電路當(dāng)單片機(jī)復(fù)位端口出現(xiàn)有高電平信號而且多于兩個或者兩個以上的機(jī)器周期時單片機(jī)將會復(fù)位。系統(tǒng)運(yùn)行比較穩(wěn)定,操作更加簡單,如圖1所示系統(tǒng)框圖。傳感器模塊采用了DS18B20數(shù)字溫度傳感器實(shí)現(xiàn)溫度采集、顯示部分使用芯片LCD12864實(shí)現(xiàn)數(shù)據(jù)的顯示,可以形成一個良好的人機(jī)界面信息交換。所以在國外和國內(nèi)生產(chǎn)的飲水機(jī)都會有一個設(shè)計(jì),防止千滾水設(shè)計(jì),而且已經(jīng)實(shí)現(xiàn)了溫度可隨意調(diào)節(jié)控制,從而真正做到了安全飲水健康飲水。關(guān)鍵詞:智能飲水機(jī),單片機(jī),控制AbstractIn modern life, drinking water machine has bee essential household appliances in our daily life. However, some drinking water heating machine function is normal, some more powerful features, such as the specific control can control water temperature, but often drinking machine price this makes a lot of people stop, not suitable for the ordinary family according to this situation, I designed the intelligent water dispenser, the water dispenser is relatively inexpensive but the function is very powerful. A part of the use of singlechip temperature control, temperature display and LCD screen, get the human and machine stable operation, the water dispenser has a lot of die Type can be used, such as coffee and tea. This design also added a group of emergency measures, if the tank used in the absence of water, heating can not make it, it will be through the intelligent alarm way to inform the drinking machine owner to remind the owner to ensure the safety of the system, let people use them more stable. For this design, fortable to ensure more convenient use for users, users in the process of security. The design of the intelligent level is relatively high, automatic operation according to the user to achieve.目錄 摘要 3 Abstract.........................................................................................3 引言........................................................................................................................4第一章 系統(tǒng)功能設(shè)計(jì) 5第二章 系統(tǒng)硬件設(shè)計(jì) 7 51單片機(jī)最小系統(tǒng) 7 溫度檢測部分 7 8 繼電器控制部分 8 電磁閥控制 9 加熱電阻控制 9 10 11 報警電路 11 12第三章 系統(tǒng)軟件設(shè)計(jì) 13 13 14 按鍵子程序設(shè)計(jì) 17 繼電器控制子程序設(shè)計(jì) 20 顯示子程序設(shè)計(jì) 20第四章PCB板的設(shè)計(jì) 24參考文獻(xiàn) 25總結(jié) 26致 謝 27附錄: 28引言如今生活中,社會發(fā)展異常迅速,人們開始對平時生活的要求也是一步一步上升中,在現(xiàn)在打社會生活中,有許多的家用品、辦公用品都開始智能化了、自動化了。一部分利用單片機(jī)對水溫的控制,在加上液晶屏幕顯示溫度,得到穩(wěn)定的人與機(jī)器的操作,這款飲水機(jī)有很多的模式可以使用,如:沖咖啡和沏茶等。畢業(yè)生簽名: 日 期: 指導(dǎo)教師關(guān)于學(xué)生論文真實(shí)性審核的聲明本人鄭重聲明:已經(jīng)對學(xué)生論文所涉及的內(nèi)容進(jìn)行嚴(yán)格審核,確定其內(nèi)容均由學(xué)生在本人指導(dǎo)下取得,對他人論文及成果的引用已經(jīng)明確注明,不存在抄襲等學(xué)術(shù)不端行為。 畢業(yè)設(shè)計(jì)(論文) 智能飲水機(jī)控制系統(tǒng)設(shè)計(jì) Design of control system for intelligent drinking water machine 班級 學(xué)生姓名 學(xué)號 1 指導(dǎo)教師