论文部分内容阅读
介绍一种以STC89C52单片机为核心的流水线自动计数系统设计和实现。下位机选用的是宏晶公司基于51内核的8位处理器STC89C52为核心,通过红外二极管对流水线上是否有物件通过实现检测计数。上位机是采用VB语言编写的操作界面,通过USB转串口和下位机实现串口通信。经过实验验证,本文设计的流水线自动计数系统具有准确率高、易操作、稳定性好等优点。
This paper introduces a design and implementation of automatic counting system based on STC89C52 microcontroller. Lower machine is selected based on the macro crystal company 51-core 8-bit processor STC89C52 as the core, through the infrared diode on the pipeline whether there is an object through the detection count. PC is the use of VB language to prepare the user interface, through the USB serial port and the next crew to achieve serial communication. After experimental verification, the automatic counting system designed in this paper has the advantages of high accuracy, easy operation and good stability.