Protues simulation example (8051)-stepper motor
This design mainly uses AT89C51 as the control core, which is composed of Hall sensor, LED digital picture tube, HIN232CPE level conversion, and RS232. The measurement speed system of the microcontroller and the serial communication between the PC and the microcontroller are introduced in detail. Give full play to the performance of the microcontroller. The focus of this article is to measure the speed and display it on the 5-digit LED digital tube.
Stepper motor control based on 51 microcontroller
The reference design is a BLDC motor controller designed to be powered by a single 12V (nominal voltage) supply with a wide voltage range found in typical automotive applications. The board is designed to drive motors in the 60W range, which requires a current of 5 amps. The size and layout of the board facilitates evaluation of the drive electronics and firmware, with easy access to key signals on various test points. A wide variety of motors can be connected by using a 3-contact connector or soldering the motor phase wires to the plated through holes in the board. The 12VDC supply is fused to prevent damage to the board or bench power supply in the event of a motor failure during testing. Commands and the status of the motor can be transmitted through a standard JTAG connector or through PWM input and output signals. The user can also reprogram the microcontroller through the JTAG connector, allowing customization for various applications. This design forms the solution by incorporating the DRV8301-HC-C2-KIT board.
Protues simulation example (8051)-PWM motor forward and reverse rotation
C language program for stepper motor controlled by 51 microcontroller
Steering gear control module (scheme design + schematic diagram)
PCB: EB712ST-LX03-120327 The program has not been verified and looks poorly written. The PCB is worth reference.
Ardufocus is the only OSS/OSH controller to support two independent focus motors, the high-resolution mode allows for stepwise sub-micron movements, multiple acceleration profiles, and it never forgets the focuser position between restarts.
Stepper motor module (design plan + programming)
Protues simulation example (8051)-H type motor drive
Proteus simulation example (8051)-stepper motor control.
Protues simulation example (8051)-PWM control DC motor
Motor speed measurement (use Hall + magnet or infrared reflection tube + black and white code disk to do this experiment)
Protues simulation example (8051)-PWM control motor method.rar