ABSTRACTThis article is about the use of a single chip microcomputer to control the elevator system.Its hardware is composed of several parts.There are a minimum system module of the single chipmicrocomputer master controller,a switch control module,a motor drive module,a displaymodule,and a prompt to reach the target floor.Modules are composed of several modules.Themain controller used in this system is the AT89C52 microcontroller.The signal modules all dependon whether the button changes the level of the corresponding pin in the microcontroller.Thissignal is considered to be triggered by the user.The information is sent to the main controller,andthe single-chip microcomputer will process the signal received by itself and react to it.Bycontrolling the change of the port level,the stepper motor is controlled to perform thecorresponding action,up or down.During the rotation of the stepper motor,the stepper motorwill make a corresponding action and stop due to the signal received by the sensor that receivesthe analog signal of the single-chip microcomputer.In this design process,the LED indicator array isused to display the status of the elevator's descending or ascending movement,and the commoncathode seven-segment digital tube is used to realize the position information of the floor wherethe car is currently located to fulfill all signal requests And the process of responding.In this design,we use C language to program and control the AT89C52 microcontroller,anduse the function of the microcontroller to read the pins to see if the user presses the call button togenerate a memory signal.By the time the elevator reaches the corresponding floor,the simulatedkeys will have a level change,so as to detect,distinguish and make corresponding control signals ofthe action,and when writing the program,it is written according to the module.Writing part bypart will help us debug,modify parameters,add functions,and schedule to use these functions.The hardware design cable is relatively simple and orderly,and can be used reliably.Write theprogram into the main controller,which probably meets the functions required by this design,andrealizes the basic functions of controlling the operation of the 6-story elevator.Keywords:SCM,stepper motor,C language programming,elevator control system
暂无评论内容