【正文】
ectronic ponents of this system is STC89C52 main points of this electronics hardware and software ponents,measuring circuit has a circuit configuration of hardware modules,differential amplifier circuit module, A / D converter module, microcontroller module, display by a sensor circuit to convert the weight signal into an electrical signal corresponding to the object size,after this the electrical signal through the differential amplifier circuit so that the voltage value of the electrical signal is amplified to the AD converter module can be correctly and fast recognition process,then amplification through the AD converter into a digital signal for each signal corresponds to the weight of an object,this signal flow through the microcontroller for information processing and then output from the by reading the digital display matrix keyboard input price and the price,and can store five times the weighing hardware with the software part of the circuit after missioning additional testing,this system has various performance goals to meet the design requirements,able to put to use. Keywords: microcontroller; Sensor; Display 浙江科技學院信息與電子工程學院 2021 屆本科畢業(yè)設計(論文) III 目錄 摘要 .................................................................................................................................... I ABSTRACT ...................................................................................................................... II 目錄 .................................................................................................................................. III 第 1 張 引言 ..................................................................................................................... 1 背景 ........................................................................................................................ 1 設計指標 ................................................................................................................ 2 電子秤原理 ............................................................................................................ 2 設計思路 ................................................................................................................ 3 第 2 章 系統(tǒng)方案分析與選型 ......................................................................................... 4 傳感器選擇 ............................................................................................................ 4 放大和 A/D 轉(zhuǎn)換電路選擇 .................................................................................... 4 顯示電路選擇 ........................................................................................................ 4 第 3 章 電子秤系統(tǒng)的硬件設計 ..................................................................................... 6 單片機模塊 ............................................................................................................ 6 功能特點 .......................................................................................................... 6 單片機引腳定義 .............................................................................................. 6 傳感器模塊 ............................................................................................................ 8 AD 轉(zhuǎn)換模塊 ......................................................................................................... 10 HX711 介紹 .................................................................................................... 10 AD 采樣電路 .................................................................................................. 12 鍵盤輸入模塊 ...................................................................................................... 12 顯示模塊 .............................................................................................................. 13 聲光報警模塊 ...................................................................................................... 14 第 4 章 系統(tǒng)軟件設計和調(diào)試 ....................................................................................... 16 軟件簡述 .............................................................................................................. 16 程序流程圖 .......................................................................................................... 16 下載程序 .............................................................................................................. 17 上電運行 ...........................................................................................................