AT89C52 is a high-performance single-chip 8-bit single-chip, and its powerful, easy to expand, applicable to many complex control applications. The AT89C52 single-chip design as a control core and the 3 line 4 matrix keyboard for input, keyboard input corresponding to the single-chip control commands to drive the motor, electric start implementation is transferred, reverse, stop and speed control. Using Hall sensor measuring motor speed, and motor functioning status through digital tube display, so the completion of the basic requirements and the requirements to play a part.
This design, the motor drive circuit used L298N driver integrated circuits, as it provides an optocoupler isolated driver modules, this module can be put to use single-chip power supply with power isolated DC motor, which can be avoided on a single DC motor machine interference.
Key words: microcontroller, motor drive, speed control, LED display, Hall sensor
Abstract: AT89C52 single chip computer is a high-performance eight microcontroller, its powerful and easy to expand, suitable for many complicated control applications. This design by AT89C52 as control core and single-chip with three rows and columns, keyboard input matrix for keyboard input to the SCM control commands to drive motor, motor startup, are turning, inversion, stop and speed control. Use hall-effect sensor measuring motor speed, and the motor running state through digital display tube, the completion of the basic requirements and play a part of the request.
This design, motor driving circuit is adopted L298N drive IC, because it provides with the driver module light-coupler isolation, use this module can chip power and dc motor power, which can avoid isolated from the interference of dc motor chip.
Keywords: SCM, motor drive and control, LED display, hall-effect sensor