Abstract
The single chip microcomputer is the microcomputer,which intergrates the main computer function part on a chip.It is a microcontroller which is a collection of microprocessor and many kinds of interfaces in a body, which is widely applied in the intelligent product and in the industrial automation, but 51 SCM is the most typical and the most repesentative one kind in SCM. This design takes MCS-51series 8751H as a core, connects with the keyboard and the monitor, adjusts the pulse signal frequency, then realizes the stepping motor speed control.
The stepping motor is a kind of motor easy to control.It is used widely for its property.There are many ways to control the stepping motor. The Microcomputer control speed regulator taking 8751H as a core solves the diversifyed kind of controltechnic. The whole system structure is simple. Diversified kind of control function is realized flexibly by changing software design. My design method is programming with SCM 8751H, realizing the control of the stepping motor in order to achieve the accurate orientation.Connect the high four bits P1.7~P1.4 of 8751H’s parallel P1 with driver circuit interface four input pins A,B,C,D repectively, and connect the output pins of the driver circuit with the four input exciting coil pins of the stepping motor. Programming to SCM makes the data output of the high four bits to control the stepping motor after amplified by the driver circuit, which makes the stepping motor rotate clockwise and anticlockwise.
The possible impacts during the CPU operation which leads the “running out”,or “death cycle”of program are taken into consideration.Therefore,the”watchdog”circuit is designed using microprocessor integrated chip MAXI813 produced by United States MAXIM.
This article in detail has given the related hardware diagram and the software fiow chart,and has established this assembly language procedure.