Menu

Slow stepping speed - ULN2003 and 28byj-48

Dave Bain
2018-11-02
2018-11-03
  • Dave Bain

    Dave Bain - 2018-11-02

    I'm getting about 8 secs between each step on slow, 5secs on med and 2.5 secs on fast. I am using the windows app, ascom to the nano. I am powering the stepper via 5V feed from the same power system running the nano. Any ideas what is wrong? using ULN2003.8S, 277

     
  • brownrb

    brownrb - 2018-11-02

    Hi Dave

    What type of stepper motor is it? Firmware ULN2003.8S is only for
    // THIS IS FOR AN 8-PHASE 28BYJ-48 STEPPER MOTOR WITH 4096 STEPS/REV AND STEP ANGLE OF 5.625°
    // ALSO WORKS WITH 35BYJ-412B which is a similar motor, but 12v with 4080 steps
    It should be marked on the motor. If it is, try changing these values in the code. Suggest set motor speed to fast, change the 2000 to 1000, reprogram controller, set speed to fast abnd check then repeat till it goes ok. Then adjust meddelay with motorspeed set to medium etc
    Make sure motorspeedchange is disabled on the extra settings form,

    #define motorSpeedSlowDelay 8000
    #define motorSpeedMedDelay  5000
    #define motorSpeedFastDelay 2000
    

    If imotor is normal one from ebay
    Try Focuserv277_ULN2003H
    with full steps and fast speed.

    else try attached. Let me know the results
    Cheers
    Robert

     
  • Dave Bain

    Dave Bain - 2018-11-03

    thanks - using the correct FW fixed it and very happy with the result. I had 275_ULN2003 previously when doing some pre testing and grabbed 277 to complete the project and didn't realise that 2003H is the correct one now with the half stepping available I presume. If would just read instructions I'd have less problems. Thanks again

     

    Last edit: Dave Bain 2018-11-03

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.