现代社会的发展,对称重系统提出了更高的要求。目前,台式电子秤在商业贸易中的使用已相当普遍,但存在一定的局限性,虽然在体积,成本控制方面有所改进,但需要工频交流电源供应、携带不便、应用场所受到制约,且随着信息技术的发展,某些领域人们需要对所得数据进行处理,期待测量更准确、价格更低廉且具有与PC机相连功能的电子秤投放市场。
本文设计的电子秤以STC单片机为主要部件 ,用C语言进行软件设计,硬件则以全桥传感器FAB-80 为主,量程为0~10kg,随时可改变上限阈值,并达到阈值报警的功能。在文中论述了称重系统的工作原理,给出了系统电路设计与软件流程,进行实物制作并调试。
本文设计的基于单片机的电子称重系统主要由电源、称重传感器、单片机、键盘/开关、LED显示器,串口通信等构成智能称重系统电路板,从而实现自动称重系统的各种控制功能。可以说,此设计所完成的电子秤很大程度上满足了应用需求。
关键词: 串口通信; 称重传感器;STC 单片机; LED显示器;FAB-80
The development of the modern society has put forward higher request on weighing technology. The desk-top electronic scales have been great application in commercial trade, but they have many shortcomings such as large volume, high cost, AC supplypower and not covenience to carry, so they are restricted to use. And with the development of information technology, some areas that people need to process the data So they have been expecting cheap portable electronic scales which can measure accurately and nd has the function of PC-linked electronic scale on the market.
This electronic scale designed to take STC microcontroller as the main components, with using C language to Compile software in the thesis. And the hardware is based by full-bridge sensors FAB-80, its range is 0 ~ 10 Kilogram. Limited threshold value can be changed at any time to reach the alarm threshold function. The thesis discusses the working principle of weighing system, giving circuit design and software process and making physical production with debugging.
The microcontroller-based electronic weighing system consists of power supply, load cell, microcontroller, keyboard / switch, LED display, serial communications. All of them constitue an intelligent weighing systems board to achieve a variety of control functions of automatic weighing system. It can be said that the completion of the design of electronic scale meets the application requirements to a large extent.
Keywords: serial communication; load cell; STC microcontroller; LED display; FAB-80