摘要
为了解决当前超市内收银台结算速度慢而造成的排队时间长以及拥挤等问题,设计了一种基于STM32单片机的扫码枪快速结账系统以实现商品的快速扫描与价格查询。该系统利用GM65模块的激光扫描技术自动获取条码信息,并通过串口将数据传输至STM32控制板。控制板负责解析处理这些数据,并将商品详情展示在薄膜晶体管(TFT)显示屏上。以C语言为基础进行关键功能模块的编写,确保了扫码及解码功能的顺利运行。最后,通过一系列测试与分析,验证了本系统具有较高的稳定性及应用价值。
In order to solve the problems of long queuing time and congestion caused by the slow settlement speed at the checkout counter in the current supermarket,we design a fast checkout scanner system based on STM32 microcontroller to realize the fast scanning and price inquiry of commodities.The system utilizes the laser scanning technology of the GM65 module to obtain barcode information automatically and transmits the data to the STM32 control board through the serial port.The control board is responsible for parsing and processing this data and displaying the product details on a thin-film transistor(TFT)display.In this paper,the key function modules are written in C language to ensure the smooth operation of the code scanning and decoding functions.Finally,through a series of tests and analysis,the system is verified to have high stability and application value.
作者
孙威振
孙含笑
李凡
陈艳杰
SUN Wei-zhen;SUN Han-xiao;LI Fan;CHEN Yan-jie(Shangqiu Institute of Technology,Shangqiu 476000,China)
出处
《电脑与电信》
2025年第1期53-58,共6页
Computer & Telecommunication
基金
2023年度商丘市科技攻关指导性计划项目“智能可穿戴应急救援设备在抗灾救灾中的应用研究”,项目编号:2023010。