Connect with us

23HY56-25-4A stepper

Discussion in 'Sensors and Actuators' started by wdariusw, Jan 5, 2015.

  1. wdariusw

    wdariusw

    149
    7
    Nov 10, 2014
    Hi ! I'm trying to try what this stepper can. I'm new with steppers. So, about 23HY56-25-4A stepper there not much info http://www.ms-motor.com/product_detail-30-en.html . When trying maximum speed, aproximately i have about 1.5 rotations per second, what is 90RPM. Can't find manufacturer RPM... I think it should be much higher RPM. I'm running it with atmega and l293d. Maybe you guys know more about that type stepper. Thanks !
     
  2. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    I can give you some generic information about your particular situation..
    Because you have it hooked up, it safe to say you know about steps. and that each step on that motor is 1.8 degrees, which is 200 steps per revolution.
    Please note that as you increase the frequency, you will need to increase the voltage you are providing to the stepper to help overcome the inductive property of the windings.
    (Do not apply this higher voltage to a slower moving stepper or you can cause overheating and damage)
    I apologize now, as I cannot provide you with the proper information to calculate the higher voltage you can use. That will require more digging.


    So, in the mean-time. Can you please tell us the frequency you are attempting to step the motor, and the current working voltage you are working with?

    *Note... I hope you are not using the reduction planetary gear that is also listed on the spec page... as that will greatly decrease the ROM of the output shaft from the assembly.
     
    williswang likes this.
  3. wdariusw

    wdariusw

    149
    7
    Nov 10, 2014
    I used 4 steps combination 0x01 0x40 0x20 0x80 (""Step Sequence for Bipolar stepper motor"" http://www.8051projects.net/stepper-motor-interfacing/step-sequence.php). As i remember the delay between steps was about 3-4ms, so frequency between steps is about 250-333 Hz. When I increase frequency, motor only make noise. So as i understand now, when i increase frequency, then voltage drops, and i need to step up voltage to constant lever ? I'm using 5V 2A power supply.
     
  4. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Lets cover a couple things to begin with.

    The phase resistance is 1.2Ω, with a 2.5A current rating, so your applied holding voltage should not exceed 3V. Two factors here will reduce that... this is the phase inductance, and the back emf from the stepper. Additionally. The 4 step combination you provided is incorrect depending on the pins you are using on the microcontroller.
    It should be 0x10 0x40 0x20 0x80. (b00010000 b01000000 b00100000 b10000000)
    Can you please provide the example code you are using to drive the stepper?
    The problem could easily be the code. A missed step... a timing issue.
     
  5. wdariusw

    wdariusw

    149
    7
    Nov 10, 2014
    In #3 post I wrote bad pattern. In my program pattern is 0x01 0x04 0x02 0x08 . Here my code :

    #include <avr/io.h>
    #include <util/delay.h>

    int main (void) {
    unsigned int step_delay=3500;

    DDRB=DDRB|0x01;
    PORTB=PORTB|0x01; //button on port B pin 0

    DDRA=DDRA|0x0F; //output pins for stepper pattern
    PORTA=PORTA&0x00;
    _delay_ms(100);

    while(1) {

    if ((PINB&(1<<PB0))==0) { //check if button pressed

    PORTA=0b00000001;
    _delay_us(step_delay);

    PORTA=0b00000100;
    _delay_us(step_delay);

    PORTA=0b00000010;
    _delay_us(step_delay);

    PORTA=0b00001000;
    _delay_us(step_delay);

    } //end if
    } //end while
    } //end main

    When button is pressed, then motor spins. But if i do step_delay lower than 3000, then onlly noise from stepper... I'm trying drive it with L293D like in this picture : http://www.engineeringagenda.com/agenda/wp-content/uploads/2014/04/a213.jpg
     
  6. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Well.. to be blunt. It looks like what I would try. I'm not to sure where to proceed from here other than trying to increase the voltage.
     
    williswang likes this.
  7. wdariusw

    wdariusw

    149
    7
    Nov 10, 2014
    I think it want to get more current.....will try to buy driver module now. When I will have time, will do own driver..
     
    Gryd3 likes this.
  8. longhao43

    longhao43

    1
    0
    Jul 23, 2018
  9. Bluejets

    Bluejets

    2,976
    578
    Oct 5, 2014
    Get a half decent driver that can handle the current.
    Something along the lines of a A4988 would be a good starting point.
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.