IN DEVELOPMENT Firmware Tweaks

Discussion in 'Guides, Mods, and Upgrades' started by Stefan, May 27, 2016.

  1. Stefan

    Stefan Well-Known Member

    Joined:
    Feb 17, 2016
    Messages:
    323
    Likes Received:
    43
    Here I will collect BigBox firmware tweaks I'm using, maybe this is interesting for others too.
    Note, I'm a KS backer so I started with BB1.0 Dual and RC3,
    currently (2016-05-27) I'm running Alex9779/BigBox/Dual/RC_Hyblid_Titan_MBL (RC6) with these tweaks.
    As far as I remember Alex9779 included these tweaks already http://richardcaunt.co.uk/bigbox3d-firmware-tweaks/
    So, these are my additional tweaks.

    Babystepping:
    (now included in Alex9779/BigBox/Dual/RC_Hyblid_Titan_MBL 2016-05-27)
    With this function you can change the current axis on the fly. Like 1st layer you notice notice the nozzle is too far away from the bed, so you can go to LCD >Tune>Babystepping Z and move the bed up.
    I adapted it so it fits the BigBox 1 encoder tick = 40 steps = 0.01 mm and removed x and y from menu.
    see here for a little mor info
    http://forum.e3d-online.com/index.php?threads/marlin-babystepping.1388/
    #Marlin\Configuration_adv.h
    @@ -420,10 +420,10 @@
    // does not respect endstops!
    #define BABYSTEPPING
    #if ENABLED(BABYSTEPPING)
    - #define BABYSTEP_XY //not only z, but also XY in the menu. more clutter, more functions
    + //#define BABYSTEP_XY //not only z, but also XY in the menu. more clutter, more functions
    //not implemented for deltabots!
    #define BABYSTEP_INVERT_Z false //true for inverse movements in Z
    - #define BABYSTEP_MULTIPLICATOR 1 //faster movements
    + #define BABYSTEP_MULTIPLICATOR 40 //faster movements, For BigBox 40 = 0.01mm
    #endif

    10 mm Steps in LCD Z-Axis:
    I do not Know why it is missing, I hate it... but is is simple to add
    #Marlin\ultralcd.cpp
    @@ -1283,6 +1283,7 @@ static void _lcd_move_menu_axis() {
    if (_MOVE_XYZ_ALLOWED) {
    MENU_ITEM(submenu, MSG_MOVE_X, lcd_move_x);
    MENU_ITEM(submenu, MSG_MOVE_Y, lcd_move_y);
    + MENU_ITEM(submenu, MSG_MOVE_Z, lcd_move_z); // Add z to 10 mm menu
    }
    if (move_menu_scale < 10.0) {
    if (_MOVE_XYZ_ALLOWED) MENU_ITEM(submenu, MSG_MOVE_Z, lcd_move_z);

    LCD Timeout (jump back to Info page)
    I constantly get the "arg!!!!!" when I playing with parameter in the menu and the LCD jumps back to Info page and I have to go down the menu again to tweak and wait some seconds to see the effect.
    So here is how to increase this timeout

    #Marlin\ultralcd.h
    @@ -60,7 +60,7 @@
    #define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatuspgm(PSTR(x))

    #define LCD_UPDATE_INTERVAL 100
    - #define LCD_TIMEOUT_TO_STATUS 15000
    + #define LCD_TIMEOUT_TO_STATUS 30000 // millisec to until jump back to info page

    #if ENABLED(ULTIPANEL)
    void lcd_buttons_update();

    Displayed FW Version
    I like to give my builds nice name so I Know which FW in on the printer.

    #Marlin\Version.h
    @@ -29,7 +29,7 @@
    /**
    * Marlin release version identifier
    */
    #define SHORT_BUILD_VERSION "1.1.0-RC6 BBDual"
    #define SHORT_BUILD_VERSION "1.1.0-RC6 BBDual Alex MBL"

    /**


    BigBox 1.0 frame win Titan
    Hybrid

    With the Titan Hybrid and BB 1.1 there was a frame change so the Titan does not crash into the right top frame.
    I'm not in the mood the pull out the jigsaw and remove the 5 or so mm or print Alex9779 +2mm extruder mount to fix it in hardware so I did in in software, yes I loose some mm of x build space... but I do not care right now.

    #MarLin\Configuration.h
    @@ -503,7 +503,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
    #define X_MIN_POS -38
    #define Y_MIN_POS 0
    #define Z_MIN_POS 0
    - #define X_MAX_POS 300
    + #define X_MAX_POS 290 //BB 1.1 frame change - head crash temp fix
    #define Y_MAX_POS 235
    #define Z_MAX_POS 300

    Mesh Leveling with right Nozzle
    I print currently only with the right hotend, left is not installed yet.
    I level the bed with the right nozzle and the front right point was out of the build plate, so move it back on it.

    #MarLin\Configuration.h
    @@ -528,7 +528,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l

    #if ENABLED(MESH_BED_LEVELING)
    #define MESH_MIN_X 5
    - #define MESH_MAX_X (257)
    + #define MESH_MAX_X (240)
    #define MESH_MIN_Y 5
    #define MESH_MAX_Y (195)
    #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited.

    Thanx to @zauberertz:
    Move to Dock

    Add LCD menu item to move the head into the dock.
    (not yet in my running code but plan to add it, not sure yet in which menu I want it.)
    It is a nice example howto add Custom (g-code) commands into an LCD menu item.
    http://forum.e3d-online.com/index.php?threads/custom-marlin-commands.1413/#post-14166


    //ultralcd.cpp
    static void lcd_prepare_menu() {
    ...
    //
    // Dock Extruder to waste box
    //
    if (axis_homed[Z_AXIS]){
    MENU_ITEM(gcode, "Dock Head", PSTR("G90\nG1 X75 Y200 F3000\nG1 Y240 F2000\nG1 E-4 F4500"));
    }
    else{
    MENU_ITEM(gcode, "Dock Head", PSTR("G28\nG90\nG1 X75 Y200 F3000\nG1 Y240 F2000\nG1 E-4 F4500"));
    }
     
    #1 Stefan, May 27, 2016
    Last edited: Jul 7, 2016
    mhe, gearmesh, Tom De Bie and 3 others like this.
  2. Stefan

    Stefan Well-Known Member

    Joined:
    Feb 17, 2016
    Messages:
    323
    Likes Received:
    43
    1st !!!11!1 may I need this post :)
     
  3. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    Nice. I just activated it but didn't check if we need some changes.
    Why do you not create a pull request on Github?
     
  4. Stefan

    Stefan Well-Known Member

    Joined:
    Feb 17, 2016
    Messages:
    323
    Likes Received:
    43
    Du fragst das als ob es so einfach wäre :(

    It sound so easy when you asking this :(
     
  5. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    :D
    Fork, you already did, clone your repo, create a new branch, make your changes to that branch, push back to Gihub, create a pull request for that branch to my branch...
     
    Stefan likes this.
  6. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    918
    Likes Received:
    183
    Nice.

    I added this thread to the FAQ: http://wiki.e3d-online.com/wiki/FAQ#Firmware_Tweaks

    Marlin dev are working on some cool things. Like it will save what kind of Filament you put in when you change it. Then the Preheat function will automatically know what temperatures to use!
     
    Stefan likes this.
  7. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 7, 2014
    Messages:
    444
    Likes Received:
    89

Share This Page