Abstract
Recently, the development of single chip is rapid. The development of single chip has brought large convenience for industry production and society life. The single chip has been applied on industry course control and machine tool control.
At industry production, often need take count of production and casing production. The manpower to complete it will inefficient. The single chip brought convenience for this system. The single chip has trait of high capability, small bulk, high reliability, so it can improve efficiency and reduce cost for this system.
This design is automatism of box up which use single. Use minimum system to come true the automatism of box up and the request of production’s amount. That automatic control system function is well-found、controlling vivid、operate simple, have the auto the manifestation and count, report to the police to wait the function. The design of the automatic control process be felt by light fax the signal information that machine examine transports to the single chip microcomputer to count the machine inside internally. The single the information that a machine will deliver handles to combine the proceeding records, will count the data in the machine again and automatic control system work the ex-initial value proceeds the comparison, judge whether come to an in advance prepares to establish the quantity. Then single chip microcomputer will result after comparing the proceeding judges to handle, seeing whether need to be packed continuously, if come to a the provision the value, then stopping packing into, packing otherwise and continuously. At the same time the single chip microcomputer also preceded the control process of the homology to the number. Come to the request that pack the auto control like this and then. Pass finally the electrical engineering arouse the transmission brings to complete the auto packs the mission, coming to the control request of whole work.
At this design, devise the hardware and software of automatism of box up is mostly. At the devise of hardware CPU used 8031 of MCS-51 series, via flip-latch to connect exterior memorizer, then to expend memory. It's exterior memorizer chose 2764, and use I/O interface to expand parallel part of CPU. It's I/O interface chose 8255A. Then draw elements of the hardware diagram. The hardware part of this system consist keyboard, display part (this part use LED), detect part and power supply. Put these parts build up minimize system and draw the drawing of keyboard control. Through comprehend this system, draw procedure flow diagram, then intercalate the EMS memory, finally, write procedure.
Keywords: single chip microcomputer; automatic control system;the minimum system;keyboard/LED