COMPLETE BigBox + DuetWifi controller

Discussion in 'Guides, Mods, and Upgrades' started by elmoret, Jul 17, 2016.

  1. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
    No I am not suggesting that you change the offset in the slicer, I am suggesting that you set up the correct tool offsets in the G10 commands in config.g. You can also send G10 to adjust them any time you need to.

    EDIT: I think we may be talking at cross purposes. Do you have a dual nozzle single head machine and you want to set the nozzle offsets from centre for each tool? If so, use G10. Or, if you are simply saying that the machine doesn't home to X=0 but homes to X=-38.3, then find the M208 S1 command in config.g and change the X parameter to -38.3.
     
    #221 dc42, Jan 31, 2017
    Last edited: Jan 31, 2017
  2. GrodanB

    GrodanB Well-Known Member

    Joined:
    Feb 3, 2016
    Messages:
    205
    Likes Received:
    26
    Ok. Then I look in to G10.

    It is a dual extruder single head 1.1 BigBox. Hybrid Titan head to be precise.

    So far I'm impressed, minor tweaking left... (I hope)

    Do not understand why PID auto tune does not like my T0 (Bowden nozzle)... But I assume I need to have filament in it to get it to work... T1 (direct Titan) worked... So have to read all that again and try to figure out what I missed...

    Thanks. Probably need to check back for G10 help...
     
  3. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
  4. GrodanB

    GrodanB Well-Known Member

    Joined:
    Feb 3, 2016
    Messages:
    205
    Likes Received:
    26
    Re-read that and now understand it. Thanks.

    All test done seem to now point in the direction that the printer moves the nozzle to the correct coordinate.

    So next is to print something real... Not just a test square. But my work requires that I travel so I can't test...

    Should I post my files that set up my printer here or is there a better place?

    Hopefully they (after some comments) can help someone in the future... Or point out any setup fault I made...
     
  5. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
    Yes, that would be helpful. You may be the first person using the Duet on the single carriage dual nozzle version of the BigBox.
     
  6. elmoret

    elmoret Administrator

    Joined:
    Mar 1, 2014
    Messages:
    618
    Likes Received:
    100
    If you post files let me know and I'll add them to OP for visibility.
     
  7. GrodanB

    GrodanB Well-Known Member

    Joined:
    Feb 3, 2016
    Messages:
    205
    Likes Received:
    26
    OK. Will do. In Darmstadt at the moment.... I.e in the wrong country to upload anything... But I'll would like to add comments to the files and test print.

    So far I haven't used the Bowden extruder.

    So that will be untested. But bed levelning homing and config will be available. I've made macros for calibration of esteps for the extruders. Is it possible to share them if there is an interest...

    Assuming I get feedback on improvements...
     
  8. Miasmictruth

    Miasmictruth Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    804
    Likes Received:
    118
    Can you set up manual mesh leveling on theach duet? I want to do the conversion this weekend but I don't have the BLTouch mounted yet, not sure I want to try auto with the IR sensor
     
  9. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
    There isn't yet a wizard to help you set up mesh bed compensation manually, so although it would be possible to hand-write the height map file, it would be rather tedious.

    The IR sensor should give good results if you use clean glass and put black paper under it,
     
  10. Syko_Symatic

    Syko_Symatic Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    365
    Likes Received:
    106
    If you have the mount for the BLTOUCH I would recommend fitting it. Its not a huge amount of work and it works fantastically.
     
  11. GrodanB

    GrodanB Well-Known Member

    Joined:
    Feb 3, 2016
    Messages:
    205
    Likes Received:
    26
    Here is my current setup for the BigBox 1.1(.2) Dual titan. Z sensor is mounted on the print head.

    (.2) == Duet with Clever3D PEI bed.

    All is not optimized yet. This is working WITH slicer set-up I have. If yours is different I might have assumptions that causes you printer to behave bad. So unfortunately you need to check all...

    Will add my start scripts from Simplify3D later...

    Update: Added comments to macros.

    Config.g:
    Code:
    ; Configuration file for BigBox v1.1 3D printer Dual hybrid Titan with 4.3" Paneldue
    
    
    ;*** Communication and general -------------------------------------------------------------------------------------------------------------------------------
    M111 S0                                     ; Debug off
    M550 BigBoxDuet                                ; Machine name (can be anything you like)
    M551 Bigbox123                                ; Machine password (used for FTP connections)
                                                ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED         ; MAC Address
    
    ;*** Wifi Networking -----------------------------------------------------------------------------------------------------------------------------------------
    M552 S1                                        ; Enable WiFi
    M555 P2                                     ; Set output to look like Marlin
    M575 P1 B57600 S1                            ; Comms parameters for PanelDue
    
    ; Machine configuration --------------------------------------------------------------------------------------------------------------------------------------
    M569 P0 S1                                    ; X Drive 0 goes forwards (Seems to differ randomly between printers change to S0 to change direction)
    M569 P1 S0                                    ; Y Drive 1 goes backwards (Seems to differ randomly between printers change to S1 to change direction)
    M569 P2 S0                                    ; Z Drive 2 goes backwards (Seems to differ randomly between printers change to S1 to change direction)
    M569 P3 S1                                    ; E0 Drive 3 goes forwards (Seems to differ randomly between printers change to S0 to change direction)
    M569 P4 S1                                    ; E1 Drive 4 goes forwards (Seems to differ randomly between printers change to S0 to change direction)
    
    ; endstop configuration ------------------------------------------------------------------------------------------------------------------------------------
    M574 X1 Y1 S1                                ; set endstop configuration (X and Y and endstops only, at low end, active high)
    M350 X16 Y16 E16 I1                            ; Set 16x microstepping with interpolation
    
    M906 X800 Y700 Z800 E1000:1000              ; Set motor currents (mA) and increase idle current to 60%
    M201 X800 Y800 Z15 E1000                    ; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z100 E3600               ; Maximum speeds (mm/min)
    M566 X600 Y600 Z30 E20                      ; Minimum speeds mm/minute
    M208 X300 Y240 Z295                         ; set axis maxima (adjust to suit your machine)
    M208 X-38 Y0 Z-1.35 S1                         ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed) --M208 X0 Y0 Z-0.2 S1
    M92 X160 Y360 Z400                          ; Set axis steps/mm
    M92 E417.5:430.41                            ; Set extruder steps per mm
    G21                                         ; Work in millimetres
    G90                                         ; Send absolute coordinates...
    M83                                         ; ...but relative extruder moves
    
    
    ; Z probe-------------------------------------------------------------------------------------------------------------------------------------------------------
    M558 P1 X0 Y0 Z1 H3 F200 T4000              ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
    G31 X-25.19 Y7 Z2.3 P500                      ; Set the probe height and threshold; increase Z to decrease bed probe distance X11.0 Y0.5
    
    ; Thermistors and heaters ---------------------------------------------------------------------------------------------------------------------------------------
    M305 P0 T100000 B4388 R4700 H0 L0              ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 X200                                ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 X201                                ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    
    ;*** You can use S and B parameters to define the parameters of the thermistors you are using
    M301 H1 P10 I0.10 D100 T0.50 S1.0            ; PID settings for extruder 0 (You should calibrate this to your printer)
    M307 H2 A452.0 C224.9 D8.6                    ; PID settings for extruder 1 (You should calibrate this to your printer)
    
    ;***Fans------------------------------------------------------------------------------------------------------------------------------------------------
    M106 P0 F10                                    ; Fix for Bigbox Blower
    M106 P1 T45 H1                                 ; Set temp for H1 fan start
    M106 P2 T45 H2                                 ; Set temp for H2 fan start
    
    
    ; Tool definition--------------------------------------------------------------------------------------------------------------------------------------------------
    M563 P0 D0 H1                               ; Define tool 0
    G10 P0 X0.0 Y0.0 Z0.0 S0 R0                 ; Set tool 0 operating and standby temperatures
    M563 P1 D1 H2                                  ; Define tool 1
    G10 P1 X38.3 Y0.0 Z0.0 S0 R0                ; Set tool 1 operating and standby temperatures
    
    ;M556 S78 X0 Y0 Z0                             ; Axis compensation here
    M140 S0                                     ; Set bed heating to off
    ;G29 S1                                     ; Read bed calibration. ( un-comment AFTER bed leveling has been done... and all coordinate are checked in scripts... trust me on that...)
    T0                                            ; select first hot end (All my scripts uses T0 as reference so I always try to remember to set it so no script makes a off bed setting)
    
    bed.g:
    Code:
    ; Before running this, you should have set up your zprobe Z offset to suit your build, in the G31 command in config.g.
    
    M561                            ; clear any bed transform, otherwise homing may be at the wrong height
    G31 X0 Y0                       ; don't want any probe offset for this
    G28                             ; home the printer
    T0                              ; Make sure that the correct tool is used to ensure the probe is on the print bed
    ; Probe the bed at 5 points
    G30 P0 X26 Y12 H0 Z-99999       ; First coordinate, tool0 not at 0,0 --> probe at bed
    G30 P1 X26 Y188 H0 Z-99999      ; Second coordinate, tool0 not at 0,0 --> probe at bed
    G30 P2 X299 Y188 H0 Z-99999     ; Third coordinate, tool0 not at 0,0 --> probe at bed
    G30 P3 X299 Y12 H0 Z-99999      ; Forth coordinate, tool0 not at 0,0 --> probe at bed
    G30 P4 X150 Y100 H0 Z-99999 S0  ; Fifth and last coordinate, tool0 not at 0,0 --> probe at bed. Somewhat midpoint... Store measured values
    
    homeall.g:
    Code:
    ; Lift Z relative to current position
    T0                          ; select first hot end
    G91                         ; Relative coordinates
    G1 Z4 F6000                 ; Lower bed to avoid hotend dragging in bed.
    G1 X-350 Y-240 F3000 S1     ; move up to 350mm in the -X and -Y directions until the homing switches are triggered
    G1 X6 Y6 F600               ; move slowly 6mm in +X and +Y directions
    G1 X-10 Y-10 S1             ; move up to 10mm in the -X and -Y directions until the homing switches are triggered
    G90                         ; Absolute coordinates
    ; #############################################
    G1 X35 Y15 F3000            ; Go to first bed probe point and home the Z axis
    G30                         ; Home Z-axis
    homex.g:
    Code:
    ; X axis homing file for dc42 Duet firmware
    T0                  ; select first hot end
    G91                 ; Relative coordinates
    G1 Z4 F200          ; Lower bed to avoid hotend dragging in bed.
    G1 X-350 F3000 S1   ; move up to 350mm in the -X direction until the homing switches are triggered
    G1 X6 F600          ; move slowly 6mm in +X direction
    G1 X-10 S1          ; move up to 10mm in the -X direction until the homing switches are triggered
    G90                 ; Absolute coordinates
    G1 X35 Y15 F3000    ; Go to first bed probe point and home the Z axis
    G91                 ; Relative coordinates
    G1 Z-4 F200         ; Raise bed to original height.
    G90                 ; Absolute coordinates
    
    homey.g:
    Code:
    ; Y homing file for dc42 Duet firmware
    T0                  ; select first hot end
    G91                 ; Relative coordinates
    G1 Z4 F200          ; Lower bed to avoid hotend dragging in bed.
    G1 Y-240 F3000 S1   ; move up to 240mm in the -Y direction until the homing switch are triggered
    G1 Y6 F600          ; move slowly 6mm in +Y direction
    G1 Y-10 S1          ; move up to 10mm in the -Y direction until the homing switch are triggered
    G90                 ; Absolute coordinates
    G1 X35 Y15 F3000    ; Go to first bed probe point and home the Z axis
    G91                 ; Relative coordinates
    G1 Z-4 F200         ; Raise bed to original height.
    G90                 ; Absolute coordinates
    homez.g:
    Code:
    T0                  ; select first hot end
    G91                 ; Relative coordinates
    G1 Z5 F200          ; Lower bed to avoid hotend dragging in bed.
    G90                 ; Absoulte coordinates
    G1 X35 Y15 F3000    ; Go to first bed probe point and home the Z axis
    G30                 ; Calibrate Z-axis
    G1 Z1 F200          ; Raise bed to 1mm.
    Meshlevel macro:

    Code:
    T0                          ; select first hot end
    G91                         ; Relative coordinates
    G1 Z4 F6000                 ; Lower bed to avoid hotend dragging in bed.
    G1 X-350 Y-240 F3000 S1     ; move up to 240mm in the -X and -Y directions until the homing switches are triggered
    G1 X6 Y6 F600               ; move slowly 6mm in +X and +Y directions
    G1 X-10 Y-10 S1             ; move up to 10mm in the -X and -Y directions until the homing switches are triggered
    G90                         ; Absoulte coordinates
    G1 X35 Y15 F3000            ; Go to first bed probe point and home the Z axis
    G30                         ; Home Z-axis
    M557 X30:299 Y12:188 S20    ; Bed level from X30Y12 to X299Y188 in 20mm increments
    G29 S0                      ; Auto Bed Level and create report
    M374                        ; Save calibration grid
    G1 X70 Y200 F3000           ; Dock after bedlevel. Move first in front of docking notch
    G1 X70 Y235 F3000           ; Dock after bedlevel
    
    Calibrate E-steps for tool 0 macro:
    Code:
    T0                      ; Select first hot end
    G21                     ; Metric
    G90                     ; Absolute positioning
    M83                     ; Relative extrusion
    M117 Homing Axis.       ; Output progress message
    G28                     ; Home all axis
    M117 Docking Printhead. ; Output progress message
    G1 X70 Y200 F3000       ; Move first in front of docking notch
    G1 X70 Y235 F3000       ; Dock print head
    M116                    ; Wait until all set tempteratures are reached
    T0                      ; Select first hot end
    G92 E0                  ; Set Position of extruder to zero
    G1 E100 F200            ; Extrude 100mm
    G92 E0                  ; Set Position of extruder to zero
    M117 100mm Extruded.    ; Output progress message
    G1 X70 Y0 F3000         ; Move to front to make it easier to measure amount extruded
    
    Calibrate E-steps for tool 1 macro:
    Code:
    T0                      ; Select first hot end
    G21                     ; Metric
    G90                     ; Absolute positioning
    M83                     ; Relative extrusion
    M117 Homing Axis.       ; Output progress message
    G28                     ; Home all axis
    M117 Docking Printhead. ; Output progress message
    G1 X70 Y200 F3000       ; Move first in front of docking notch
    G1 X70 Y235 F3000       ; Dock print head
    M116                    ; Wait until all set tempteratures are reached
    T1                      ; Select first hot end
    G92 E0                  ; Set Position of extruder to zero
    G1 E100 F200            ; Extrude 100mm
    G92 E0                  ; Set Position of extruder to zero
    M117 100mm Extruded.    ; Output progress message
    G1 X70 Y0 F3000         ; Move to front to make it easier to measure amount extruded
    
     
    #231 GrodanB, Feb 4, 2017
    Last edited: Feb 5, 2017
    Miasmictruth and mike01hu like this.
  12. Miasmictruth

    Miasmictruth Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    804
    Likes Received:
    118
    #232 Miasmictruth, Feb 4, 2017
    Last edited: Feb 4, 2017
  13. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    Is there thermal runaway protection in the duet?

    If so, where or how is it configured?
     
  14. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
    Yes there is thermal protection. It's automatic and based on the heater model parameters set in the M307 commands in the config.g file on the SD card. Those model parameters are normally determined by auto tuning.
     
  15. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    Haha I'm printing a 70 tooth, 70mm diameter spur gear at 0.15mm layer height.

    The nozzle needs to zig-zag in and out of every tooth, for the perimeter and then each inside perimeter (there are 8).

    This would have been unthinkably shaky on the Marlin, not to mention unbearably noisy. As it is the print is humming along nicely, though it will be a miracle if the motion system doesn't wobble something off! ;-)
     
  16. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    For interest I've been running my hotend fan at 40% PWM the past couple of weeks (in a 12C room printing ColorFabb nGen PETG).

    Quietens that fan a bit.

    But look at this! https://www.bcn3dtechnologies.com/en/catalog/smart-fan-upgrade-kit/
     
  17. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    284
    Likes Received:
    104
    You can already set the hot end fans to be controlled thermostatically by hot end temperature in RRF. So no need for separate electronics to control the hot end fans unless you run out of controlled fan outputs.

    One possible upgrade would be to use a thermistor to monitor the heatsink temperature, then the fan PWM could be controlled more finely.
     
  18. eca

    eca Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    229
    Likes Received:
    44
    Actually, I also have a dual nozzle single carriage BB and using the DuetWifi. I have mine setup pretty good so I don't have any known issues.
     
  19. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    Hmm I kind of assumed - wrongly perhaps - that is what they were doing, monitoring heatsink temperature. Because Marlin switches with hotend (heaterblock) temperature too.

    The support documents for this item are not yet on the website.
     
  20. Miasmictruth

    Miasmictruth Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    804
    Likes Received:
    118
    Only the heater block is monitored, once the block is below a certain temp the fans will turn off, think it's around 40Cish

    I believe what dc42 means it placing a termistor and the fins of the heatsink, then you can PWM the heat sink fan to only provide the required cooling.
     

Share This Page