【正文】
行詳細(xì)闡述。電子稱主要以單片機(jī)作為中心控制單元,通過稱重傳感器進(jìn)行模數(shù)轉(zhuǎn)換單元,在配以鍵盤、顯示電路及強(qiáng)大軟件來組成。 畢 業(yè) 設(shè) 計(jì)(論 文)設(shè)計(jì)(論文)題目: 基于 AT89S52 單片機(jī)的電子秤系統(tǒng)設(shè)計(jì) 學(xué) 院 名 稱: 專 業(yè): 班 級: 姓 名: 學(xué) 號 指 導(dǎo) 教 師: 職 稱 定稿日期: 年 月 日 I摘 要 電子秤是將檢測與轉(zhuǎn)換技術(shù)、計(jì)算機(jī)技術(shù)、信息處理、數(shù)字技術(shù)等技術(shù)綜合一體的現(xiàn)代新型稱重儀器。它與我們?nèi)粘I罹o密結(jié)合息息相關(guān)。電子稱不但計(jì)量準(zhǔn)確、快速方便,更重要的自動(dòng)稱重、數(shù)字顯示,對人們生活的影響越來越大,廣受歡迎。硬件電路主要是基于單片機(jī) AT89S52 為核心的控制單元實(shí)現(xiàn)數(shù)據(jù)的處理,采用壓力傳感器對數(shù)據(jù)進(jìn)行采集,電子秤專用 24位 AD 轉(zhuǎn)換芯片 HX711 對傳感器采集到的模擬量進(jìn)行 AD 轉(zhuǎn)換,轉(zhuǎn)換后的數(shù)據(jù)送到單片機(jī)進(jìn)行處理顯示,數(shù)據(jù)顯示由 LCD1602 液晶實(shí)現(xiàn),液晶顯示效果穩(wěn)定無閃爍關(guān)鍵詞: AT89S52 單片機(jī);電子秤;壓力傳感器;HX711 WIRELESS TEMPERATURE DETECTING SYSTEM IIDESING BASED ON MCU ABSTRACT With Intelligent electronic scale is the detection and conversion technology, puter technology, information processing, digital technology, an integrated modern technology of new weighing equipment. Ectronic scale takes SCM as its central controling unit,and achieves AD transform through weighting transducer,then adds keybord,display circuit and powerful softerwear. It is not only accurate,swift,and convenient, but also makes an important effect to people’s life by its automatic weightment and digital display, so it bees more and more popular.The design of this system gives its eleboration from 3 parts: Hardwear circuit design,softwear programme debugging and entity weld debugging.Hardwear circuit reaches data processing by the controling unit which based on AT89S52,and gathers data by weighting transducer,then makes AD transform by HX711 to the data gathered, and the transformed data then transferred to AT89S52 for display prosessing, at last LCD1602 would show it out steadily without twinklingKey Words: AT89S52 MCU,Electrnoic Scale ,Load sensor,HX711. III目錄摘要 ..............................................................................................................................................................IABSTRACT...............................................................................................................................................II目錄 ...........................................................................................................................................................III第 1 章 緒論 ................................................................................................................................................1 課題背景與研究意義 ....................................................................................................................1 系統(tǒng)設(shè)計(jì)要求 ...............................................................................................................................2 系統(tǒng)設(shè)計(jì)方案 ................................................................................................................................3 電子秤的主要組成 ........................................................................................................................4 電子秤的基本結(jié)構(gòu) ..........................................................................................................4 電子秤的工作原理 ..........................................................................................................5 電子秤的計(jì)量性能 ..........................................................................................................6第 2 章 系統(tǒng)硬件設(shè)計(jì) ................................................................................................................................7 流系統(tǒng)元器件選型及參數(shù)介紹 ..............................................................................................7 系統(tǒng)單片機(jī)選型 ................................................................................................................7 系統(tǒng)傳感器選型 ................................................................................................................8 系統(tǒng) AD 轉(zhuǎn)換芯片選擇 ....................................................................................................10 系統(tǒng)顯示器選擇 .............................................................................................................12 系統(tǒng)時(shí)鐘芯片選擇 .........................................................................................................13 系統(tǒng)硬件電路設(shè)計(jì) ................................................................................................................14 系統(tǒng)電源電路設(shè)計(jì) ...........................................................................................................14 系統(tǒng)單片機(jī)主控電路設(shè)計(jì) ...............................................................................................15 系統(tǒng)顯示部分電路設(shè)計(jì) ...................................................................................................16 系統(tǒng)超重報(bào)警指示電路設(shè)計(jì) ...........................................................................................17 系統(tǒng)按鍵輸入電路設(shè)計(jì) ...................................................................................................18 系統(tǒng)硬件電路的繪制與 PCB 線路板制作 ................................................................................20 IV Protell 99 SE 軟件介紹 .............................................................................................20 系統(tǒng)原理圖繪制與 PCB 印刷線路板制作 ....................................................................20第 3 章 系統(tǒng)軟件設(shè)計(jì) ..............................................................................................................................23 系統(tǒng)軟件編程環(huán)境介紹 ...........................................................................................................23 系統(tǒng)主程序流程圖 .....................................................................................................................23 系統(tǒng)顯示部分流程圖 ....................................