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

Solved 3d r1+ Filament motor issue

Discussion in 'Troubleshooting' started by xfire_dragonx, Aug 16, 2018.

Thread Status:
Not open for further replies.
  1. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    Today i changed out my filament motor wiring to the adruino board. I had an issue with the wire connection to the motor, jimmy rigged it and worked for a long time. Now that i have replaced the wiring the extruder motor does not work at all, I can see the change on the screen but nothing from the motor. Tried the motor in the z and it only functioned in one direction. At the point i have a new stepper motor on the way and I just want to make sure my adruino /ramp board is fine.

    Checked my other steppers z, x, via my lcd screen and they all worked except my y was only going in one direction (this could be due to a loose connection)
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If any of the other steppers works where that one was (extruder) then the Arduino and RAMPS are fine.
     
  3. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    Tried the y motor in the extrude position and zero movement. The y board is only moving in 1 direction as well via my lcd screen.

    What's the best option for a new adruino / ramps board?
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If you need steppers those can be had pretty cheap on Amazon to :) usually $10 each or less if you buy a batch.
     
  6. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13

    I ordered this today https://www.amazon.com/gp/product/B016D6DSBW/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
    and as mentioned a stepper motor
     
    mark tomlinson likes this.
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    The kit has everything, if you got that and a stepper you are probably covered :)
    Also, if there are any issues, it is a Prime seller so it will get refunded pretty quickly.
    Can't say that I have ever had a problem with a kit pretty sure @Geof has used them W/O issues too.
     
    Geof likes this.
  8. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    Ditto. Have issues when buying boards individually. But the kits always come working (so far- knock on wood or whatever else keeps them coming good lol)
     
  9. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    first time changing a 3d printer board and re wiring. Going to take pictures also watched a video on it. Also have a my rep rap lcd screen, was thinking of just using the old one still as the same socket connection as the new one.
     
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    LCD in the kit should be the same if you had the RepRep Discount LCD
     
  11. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    Have the kit together but I'm stuck at firmware stage. Followed the instruction from the kit and found the U8g file is broken.
    Using Arduino 1.8.5 and the .ino file that was supplied and all i get is errors when trying to compile. this is more of a headache, at this point, the error below is with the u8g file in the libraries folder of ardruino.

    Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    In file included from C:\Users\parva\Desktop\Marlin_for_mega2560\Marlin_for_mega2560\Marlin_for_mega2560\Marlin_for_mega2560.ino:34:0:

    sketch\Configuration.h:1:97: fatal error: U8glib.h: No such file or directory

    #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)

    ^

    compilation terminated.

    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
     
  12. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Did you download and add this (U8glib) to the arduino compiler?

    That is an extra step required to use the FullGraphics LCD
    If you are using the RepRap Discount LCD then your firmware is mis-configured. That LCD does not need that library.
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Maybe include a photo of the LCD your kit has so we are not guessing :)
     
  14. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    Screenshot 2018-08-22 14.31.07.png In the pic is the U8g file they gave me, do i have to put these files somewhere or just keep in the folder and put in libraries, when i just have the folder there nothing shows on the library list. This is the kit i purchased https://www.amazon.com/gp/product/B016D6DSBW/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 ,followed the instructions to download ardruino Latest version 1.8.5. I put the U8glib into Documents\Arduino\libraries.
     
  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    #15 mark tomlinson, Aug 22, 2018
    Last edited: Aug 22, 2018
  16. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    went through the video, he mentioned to put u8g file in the c drive where ardruino is located. not very descriptive.. I downloaded the Robo3dr1plusv2 firmware Unchanged, in arduino 1.8.5 gives me this after i hit compile..

    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;

    ^

    exit status 1
    using typedef-name 'fpos_t' after 'struct'
     
  17. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338

    Attached Files:

    Geof likes this.
  18. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    That specific error comes from the fact that the Marlin source Robo is using was written 4+ years ago and the new Arduino compilers have altered the syntax of the Arduino 'C' like language to be more correct.
     
    Geof likes this.
  19. xfire_dragonx

    xfire_dragonx Member

    Joined:
    Jun 2, 2018
    Messages:
    83
    Likes Received:
    13
    Thanks that compiled, Just having an issue with the u8g file. Now back to this error:

    In file included from sketch\dogm_lcd_implementation.h:38:0,

    from sketch\ultralcd.cpp:36:

    sketch\dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory

    #include <utility/u8g.h>
     
  20. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Well, I haven't built that in a while but here is my set up:

    \Arduino\libraries\libraries\U8glib

    That is where all of the U8glib source goes -- under that directory.
    There are two directories under there:
    \utilitiy
    \examples
    and in that directory is the main source :

    U8glib.cpp
    U8glib.h

    In the Arduino compiler you need to have that library added. If under the menu:

    Sketch/Include Library

    You do not see U8glib in the list then you need to add it.
    You should have been able to go to this menu in the Arduino IDE:

    Sketch/Include Library/Add Zip Library

    and point it to the Zip file you downloaded for U8glib

    Then you should be able to compile. Once it knows:
    1) how to find the u8glib
    2) to include it

    ------------------------------------------------------------------------------
    edit/note: and under the \Arduino\libraries\libraries\U8glib\utility

    there is indeed an u8g.h file for the compiler to find
     
Thread Status:
Not open for further replies.

Share This Page