Marlin version

New Home Forum Software Development Marlin version

This topic contains 39 replies, has 6 voices, and was last updated by Profile photo of Eugen360 Eugen360 10 months, 3 weeks ago.

Viewing 30 posts - 1 through 30 (of 40 total)
  • Author
    Posts
  • #8082
    Profile photo of Onno
    Onno
    Participant

    I have a question and can not find the answer on the forum.
    I am building the 25 mm/ M8 threaded rod version.
    On the Marlin page is see this :
    This is for 32nd stepping, 16 Tooth Pulleys and 5/16″ threaded rod.
    And this:
    This is for 16th stepping, 20 Tooth Pulleys and 8mm 1.25 threaded rod.

    In use the 8 mm threaded rod with 16 tooth pulleys.

    What version of the marlin can i use ?

    I have the 32 steppers driver DRV8825
    motor:
    Step Angle 1.8°
    Step Accuracy 5%
    Holding Torque 59Ncm(83.6oz.in)
    Rated Current/phase 2.0A
    Phase Resistance 1.4ohms
    Voltage 2.8V
    Inductance 3.0mH±20%(1KHz)
    Weight 400g

    Arduino Mega and reprap 4.1 shield.

    #8092
    Profile photo of vicious1
    vicious1
    Keymaster

    LCD Screen?

    #8104
    Profile photo of Onno
    Onno
    Participant

    Yes 4 lines

    #8108
    Profile photo of vicious1
    vicious1
    Keymaster
    #8132
    Profile photo of Onno
    Onno
    Participant

    Thank you.

    #10706
    Profile photo of Chris
    Chris
    Participant

    Hay vicious

    I am using all the steppers, mega,and ramps 1.4 as you have used. Could you give me the link to Marlin for 8mm with full graphics led?

    Thank you for the grate build. I’m half way printed just trying to set up the electronics.

    Chris

    #10714
    Profile photo of vicious1
    vicious1
    Keymaster

    Fresh off the grill for you. At the bottom.

    https://www.vicious1.com/marlin-firmware/

    #10715
    Profile photo of Chris
    Chris
    Participant

    I have tried this one and get this error message. by the way this is my first play with a Arduino board.

    Arduino: 1.6.8 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    C:\Users\chris\Desktop\B16_32_8mm-fullG-112515\B16_32_8mm-fullG-112515.ino:44:101: 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.

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

    all help is much appreciated

    #10718
    Profile photo of vicious1
    vicious1
    Keymaster

    There is a file needed. It is linked after the firmware download and in the error code you just pasted. You need to add that file to your arduino library.

    #10763
    Profile photo of Chris
    Chris
    Participant

    sorry I’m not getting it. the file I downloaded, do I need to un zip then put into the libraries folder like this? C:\Program Files (x86)\Arduino\libraries\B16_32_8mm-fullG-112515

    #10770
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    See the section labelled “importing a .zip library” here:
    https://www.arduino.cc/en/Guide/Libraries

    #10774
    Profile photo of Chris
    Chris
    Participant

    ok thank you Jeff I will go and have a read

    #10775
    Profile photo of Chris
    Chris
    Participant

    I have now installed U8glib folder. when I open B16_32_8mm-fullG-112515 and “#include <U8glib.h>” I get this see below very confused?!?!?!?!?!!?

    Arduino: 1.6.7 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    In file included from sketch\ConfigurationStore.cpp:65:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\Marlin_main.cpp:47:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

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

    LCD_MESSAGEPGM(MACHINE_NAME” “MSG_OFF”.”);

    ^

    In file included from sketch\cardreader.cpp:6:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\planner.cpp:59:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\stepper.cpp:29:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\ultralcd.cpp:5:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

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

    from sketch\ultralcd.cpp:39:

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

    #include <utility/u8g.h>

    ^

    compilation terminated.

    Multiple libraries were found for “U8glib.h”
    Used: C:\Users\chris\Documents\Arduino\libraries\U8glib
    Not used: C:\Program Files (x86)\Arduino\libraries\U8glib
    exit status 1
    Error compiling.

    This report would have more information with
    “Show verbose output during compilation”
    enabled in File > Preferences.

    #10780
    Profile photo of Chris
    Chris
    Participant

    not sure if this is a step forward or not. but I’m trying

    Arduino: 1.6.8 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    C:\Users\chris\Desktop\B16_32_8mm-fullG-112515\B16_32_8mm-fullG-112515.ino:37:27: fatal error: Configuration.h: No such file or directory

    #include “Configuration.h”

    ^

    compilation terminated.

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

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

    #10781
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    Nope, that seems to be moving in the wrong direction. “Configuration.h: No such file or directory” means that you either deleted Configuration.h (it was in the firmware download) or you maybe moved the .ino file somewhere that it can’t find the rest of the files.

    #10782
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    You can ignore those warnings. Those won’t hurt you (in this case, sometimes warning are really problems).

    The real problem is it still can’t find u8g.h

    Then after that, it says it found two copies of the library, and used the first one. I’m guessing that you were trying to install it manually, and didn’t do it right, and that’s covering up the version that was installed from the .zip file.

    Try renaming the folder: “C:\Users\chris\Documents\Arduino\libraries\U8glib” to “C:\Users\chris\Documents\Arduino\libraries\not_U8glib”.

    And back out whatever you did to make it miss the Configuration.h

    #10783
    Profile photo of Chris
    Chris
    Participant

    I think I’m getting there
    1st I opened B16_32_8mm-LCD-112515 and #include <U8glib.h>
    I then clicked verify all ok. I then uploaded it, fast flashing light on ramps. once finished un plugged the board, powered it up nothing.
    2nd I opened Marlin and #include <U8glib.h>
    I then clicked verify all ok. I then uploaded it, fast flashing light on ramps. once finished un plugged the board, powered it up nothing.

    what do you think I’m doing wrong now?????

    #10784
    Profile photo of Chris
    Chris
    Participant

    I had to delete all files “B16_32_8mm-LCD-112515 ” and “U8glib.h”
    I have just tried to open B16_32_8mm-LCD-112515 #include <U8glib.h> and add file Marlin.
    no errors but still nothing on the screen on the ramps board.
    once you verify the file I am clicking on the upload button waiting for the fast light to stop and upload complete on the pc.
    I am then unplugging the usb cable and putting a power lead into the Arduino the screen back light comes on but that is it.

    #10788
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    You should choose file -> open… and choose the B16_32_8mm-LCD-112515.ino file.

    That should open a bunch of files. Don’t open any more (do not open u8glib.h, arduino should find it for you).

    Click Verify, and make sure there are no errors (you can ignore warnings, but errors mean it didn’t finish compiling). It should say “Done Compiling.” in the blue bar above the console output and below the text editor.

    Then you can click upload, and at the end it should say “Done Uploading”.

    #10789
    Profile photo of Chris
    Chris
    Participant

    still nothing. the led blinks fast. upload complete, power down power up still blank screen.
    iv even tried auto format and re-upload. still nothing.
    Q, when you upload dose it overwrite what’s on the Arduino or add to it?
    thank you for all the help Jeff

    #10790
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    I’m running out of ideas.

    Do you have the screen wired up correctly?

    Can you try the blink example (File->Examples->01.Basics->blink)? It should blink the onboard LED on D13. I would disconnect the RAMPS board before running the blink. I don’t know if it has anything connected to D13 or not.

    The simple answer is that it replaces the previous code, it doesn’t add it. The arduino only runs one program (that is an oversimplification that is ignoring the bootloader, but you are replacing whatever software was there before.

    You might also try to connect the USB to your computer, and connect using repetier host (250000 speed) and see if that works, which would tell you the program is installed, and maybe the screen just isn’t working.

    #10791
    Profile photo of vicious1
    vicious1
    Keymaster

    Try switching the cables on lcd, if you have them backwards you can get light but no display. If you didn’t get the screen from me you could also be having contrast issues, turn it up, or down if you can see the letters only at an extreme angle you need to add a resistor.

    #10793
    Profile photo of Chris
    Chris
    Participant

    Thanks for the ideas I will give them a try in the morning. My brain is frazzled!!!
    I will let you both know the outcome

    Thanks again for all the help

    #10805
    Profile photo of Chris
    Chris
    Participant

    good morning

    Blink worked as it should.
    turned around cables screen back light was off and I could not see anything when tilting with cables either way.
    turning up the contrast makes the square dots on screen darker and lighter.
    the only reason I have not got the ones from you is I’m in the uk. the delivery cost is the reason I sourced the parts locally. thinking that may of been a mistake now though 🙁

    #10806
    Profile photo of Chris
    Chris
    Participant

    the screen I’m using is made by SINTRON. is this the same make as you supply?
    I’m thinking that maybe its that is what I’m having probs with.

    #10807
    Profile photo of Chris
    Chris
    Participant

    to make things worse the postman has just delivered 5 nice new shiny stepper motors :-(((

    #10812
    Profile photo of vicious1
    vicious1
    Keymaster

    I looked up sintron lcd and it seems like the right one.

    Have a look at this, http://forums.reprap.org/read.php?13,448609

    Every once and a while I get a batch that need resistors, but usually you can kinda see the letters at an angle.

    #10820
    Profile photo of Chris
    Chris
    Participant

    Ok thanks for that. Of to eBay I go.
    Fingers crossed if not I will just get the 4 line lcd.

    #10821
    Profile photo of vicious1
    vicious1
    Keymaster

    Try a resistor before you spend money on a new LCD.

    #10825
    Profile photo of Jeffeb3
    Jeffeb3
    Participant

    You can use it without the LCD. Just controlling it directly from repetier or pronterface.

Viewing 30 posts - 1 through 30 (of 40 total)

You must be logged in to reply to this topic.