DESIGN of PRODUCTION LINE CONTROL SYSTEM for LOADING MEDICINE
ABSTRACT
As people concerned about their own health increasing degree, thetype and number of pills is increasing dramatically, for most drugs, generallypacked in the bottle. Faced with an increasingly sharp increase in the numberof pills, how in drug production line to achieve rapid and accurate detectionof pills and counting is particularly important, also the various problems tobe solved one of the manufacturers.
This article describes the pills based on single chip design ofautomatic detector manufactured by ATMEL AT89C51 microcontroller as the core, and with the directphotoelectric sensor combined pills measurement system, which has a highapplication value and practical significance, the use of real-time LED module,using a compilation of programming tools for software design. System fully intoaccount the signal detection circuit and display circuit
This article describes the pills based onsingle chip design of automatic detector manufactured by ATMEL AT89C51 microcontroller as the core, and withthe direct photoelectric sensor combined pills measurement system, which has ahigh application value and practical significance, the use of real-time LEDmodule, using a compilation of programming tools for software design. Systemfully into account the signal detection circuit and display circuit
§1.2.2 單片機(jī)的選用
本檢測(cè)儀在數(shù)據(jù)處理上速度要求不是很高,8位機(jī)即可。單片機(jī)采用美國(guó)ATMEL公司生產(chǎn)的AT89C51單片機(jī)。AT89C51是一種低功耗、高性能的片內(nèi)含有4KB快閃可編程/擦除只讀存儲(chǔ)器(FPEROM-Flash Programmable and EraseableRead Only Memory)的8位CMOS微控制器,使用高密度、非易失存儲(chǔ)技術(shù)制造,并且與80C51引腳和指令系統(tǒng)完全兼容[7-9]。
9、外設(shè)管理功能:外設(shè)管理可以讓您在調(diào)試程序時(shí),觀察到端口、定時(shí)器、串行口中斷、外部中斷相關(guān)的寄存器的狀態(tài),更可以幫您完成這些外設(shè)的初始化程序,包括 C 語(yǔ)言和匯編語(yǔ)言,而您所做的只是填表,定義外設(shè)所要完成的功能【26】。