Home > other >  Stepper motor control based on 51 single chip microcomputer
Stepper motor control based on 51 single chip microcomputer

Time:10-05

Why STC89C52 single-chip microcomputer, I/O port of the output pulse signal can't drive motor drive (I/O port output voltage of 5 v), but the motor pluse port in the single chip microcomputer touch Vcc oral examination, can drive motor,

O god!

CodePudding user response:

IO mouth driving ability is not enough, the original poster check data, determine the rated current of the stepper motor and IO mouth of the maximum output current,

CodePudding user response:

With a driver chip, increasing the drive ability try again is to increase the delay time

CodePudding user response:

MCU IO driving ability is insufficient, add a driver chip also take into consideration the disturbance of stepper motor, feel trouble directly on taobao search step motor drive

CodePudding user response:

P1 mouth and pull?

CodePudding user response:

I used the drives and motors and drives, is made of microcontroller IO port to drive level

CodePudding user response:

reference 4 floor SeanOY response:
P1 mouth and pull?

P1 mouth did not add resistance, do you mean by pull-up resistor connected power supply to increase P1 mouth ability to drive?

CodePudding user response:

Need to pull resistance

CodePudding user response:

refer to 6th floor gu - yixing reply:
Quote: refer to 4th floor SeanOY response:
P1 mouth and pull?

P1 mouth did not add resistance, do you mean by pull-up resistor connected power supply to increase P1 mouth ability to drive?

You give it a try, if use the IO or driver doesn't just made a triode amplifier circuit

CodePudding user response:

Look at you of the specifications of the stepper motor, circuit meets the requirements?

CodePudding user response:

Oscilloscope see signal waveform frequency is too high?


CodePudding user response:

Answer the first question, 51 driving ability is not enough, you can add a triode, like this, ,
Answer the second question, stepper motor can understand to give him a pulse, he would have a rotation Angle, you are connected to VCC, equivalent to a pulse

CodePudding user response:

I also use MCU PWM before driving a stepper motor requires a driver module microcontroller itself didn't have enough ability to drive
  • Related