1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Extruder stepper motor not working

Discussion in 'Troubleshooting' started by Muhammad Amir, Nov 3, 2016.

Thread Status:
Not open for further replies.
  1. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    @danzca6 thanks for response I need ur opinion I got my new full kit with screen. Should I replace everything then try to compile? Or should I try on existing board ?


    Sent from my iPhone using Tapatalk
     
  2. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    You can try on existing board if you want to just move the driver from E0 to E1. Including the firmware changes we talked about earlier.

    The new LCD screen is a full graphics with that kit and will need the additional library installed. It's a nice addition if you want to go down that road. Maybe something to add after you fix your current issue. You will probably want to print a case for it anyway before using. Let me know if you need any help finding some case files to use. There are a few on Thingiverse.

    Now for the kit, you could put it together without doing anything to the Robo and make sure you can connect via USB to it and upload the firmware just fine. Then it will just be a matter of carefully moving the wiring over to match where it is plugged into the Robo when you want to switch over.

    Let me know which way you want to go and if you have any questions.
     
    #42 danzca6, Nov 9, 2016
    Last edited: Nov 9, 2016
    mark tomlinson likes this.
  3. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    i commented these lines

    /*
    #if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
    #define DOGLCD
    #define U8GLIB_ST7920
    #define REPRAP_DISCOUNT_SMART_CONTROLLER
    #endif
    */

    after im compiling im getting this error..

    Arduino: 1.6.11 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:445:0: note: this is the location of the previous definition
    #define X_MAX_PIN 2
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:451:0: note: this is the location of the previous definition
    #define Y_MAX_PIN 15
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\thermistortables.h:4,
    from sketch\Configuration.h:710,
    from C:\Program Files (x86)\Arduino\libraries\Auto_Level_7_17_516inch_\Auto_Level_7_17_516inch_.ino:33:
    sketch\pins.h:457:0: note: this is the location of the previous definition
    #define Z_MAX_PIN 19
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:445:0: note: this is the location of the previous definition
    #define X_MAX_PIN 2
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:451:0: note: this is the location of the previous definition
    #define Y_MAX_PIN 15
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\BlinkM.cpp:5:
    sketch\pins.h:457:0: note: this is the location of the previous definition
    #define Z_MAX_PIN 19
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\ConfigurationStore.cpp:1:
    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\ConfigurationStore.cpp:1:
    sketch\pins.h:445:0: note: this is the location of the previous definition
    #define X_MAX_PIN 2
    ^
    I file included from sketch\Marlin.h:23:0,
    from sketch\ConfigurationStore.cpp:1:
    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\ConfigurationStore.cpp:1:
    sketch\pins.h:451:0: note: this is the location of the previous definition
    #define Y_MAX_PIN 15
    ^
    In file included from sketch\Marlin.h:23:0,
    from sketch\ConfigurationStore.cpp:1:
    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

    #define Z_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\ConfigurationStore.cpp:1:

    sketch\pins.h:457:0: note: this is the location of the previous definition

    #define Z_MAX_PIN 19

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

    #define X_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:445:0: note: this is the location of the previous definition

    #define X_MAX_PIN 2

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

    #define Y_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:451:0: note: this is the location of the previous definition

    #define Y_MAX_PIN 15

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

    #define Z_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\MarlinSerial.cpp:23:

    sketch\pins.h:457:0: note: this is the location of the previous definition

    #define Z_MAX_PIN 19

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined

    #define X_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:445:0: note: this is the location of the previous definition

    #define X_MAX_PIN 2

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined

    #define Y_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:451:0: note: this is the location of the previous definition

    #define Y_MAX_PIN 15

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined

    #define Z_MAX_PIN -1

    ^

    In file included from sketch\Marlin.h:23:0,

    from sketch\Marlin_main.cpp:30:

    sketch\pins.h:457:0: note: this is the location of the previous definition

    #define Z_MAX_PIN 19

    ^

    sketch\Marlin_main.cpp:2090:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

    LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

    ^

    In file included from sketch\SdFile.h:27:0,

    from sketch\cardreader.h:8,

    from sketch\Marlin_main.cpp:44:

    SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

    struct fpos_t {

    ^

    In file included from sketch\Marlin.h:10:0,

    from sketch\Marlin_main.cpp:30:

    c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

    __extension__ typedef long long fpos_t;

    ^

    sketch\Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':

    sketch\Marlin_main.cpp:842:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    planeNormal.debug("planeNormal");

    ^

    exit status 1
    using typedef-name 'fpos_t' after 'struct'

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
     
  4. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    Finally im able to compile & uploaded the changes :) but ....still not working
    @danzca6 do i have to change the physical driver card from the boad ??
     
  5. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    No shouldn't need to change driver. What isn't working? Are you using the old board and moving the driver to E1 or are you using the new board? Is it not extruding.
     
  6. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    Older board and I guess I burned one driver I didn't know I was changing physically


    Sent from my iPhone using Tapatalk
     
  7. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    I think I old board is gone :( so what should I do? Should i upload same firmware on new boards then wiring ?


    Sent from my iPhone using Tapatalk
     
  8. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Well since you have it, probably best to go with the new board. You can definitely use the same firmware on the new setup.
     
  9. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    If you need, here is a video from Robo for wiring the RAMPS for the R1. The R1+ is a bit different.

     
  10. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    Hi I have done wiring it was really good video.. Really helped .. After uploading firmware all motors giving dragging sound let me show you values IMG_7796.JPG

    I uploaded the firmware everything default.. Should I modify some values ?

    Or did I uploaded wrong firmware ?
     
    #50 Muhammad Amir, Nov 10, 2016
    Last edited: Nov 10, 2016
  11. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Did you reuse your old drivers or used new ones? If new ones, and depending on what the sound really is, you might need to adjust the voltage on the drivers. Make sure no errors are dragging and that the sound is coming from the motors.
     
  12. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    Look like motor trying to run but is not running. I'm using new drivers everything is new how to adjust voltage ?


    Sent from my iPhone using Tapatalk
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  14. Muhammad Amir

    Muhammad Amir Member

    Joined:
    Aug 15, 2016
    Messages:
    100
    Likes Received:
    13
    Thank you every one spacial thanks @danzca6 its working again :) im opening one more thread for screen im still not able to configure need again your help.

    thanks
     
  15. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Awesome! Glad to see we all got this step done and you are able to at least print again. I see we got the LCD working now on the other thread as well. Cheers!
     
Thread Status:
Not open for further replies.

Share This Page