Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Problem with duet wifi + bltouch

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    2
    2
    125
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sigourosandreasundefined
      sigourosandreas
      last edited by

      Hello,
      I need some help please.
      I have the duet wifi + duex5 boards and a bltouch. RRF3.3, DWC 3.3.
      I had used the bltouch just fine with the duet wifi stand alone. Since I connected the duex5 board and upgraded to rrf3.3 I cannot get it to work.
      At the start it is going up and down some times, like a self test and then it does nothing else. It has red light. I have checked all my wirings more than ones, also with a multimeter and they seem to be fine.
      I have done many changes trying different things in config but with no luck.
      I have connected the "Z probe" on the duet (black-GRD, white-Z probe_IN). The three wires are connected on duex on PWM4 (brown-GND, Red-5V AUX, Orange-E5_PWM).

      Config file:
      ;Drives
      M569 P6 S1 ; physical drive 6 goes forwards (X axis)
      M569 P5 S1 ; physical drive 5 goes forwards (Y axis)
      M569 P2 S1 ; physical drive 2 goes forwards (Z axis)
      M569 P4 S0 ; physical drive 4 goes backwards (Coupler)
      M569 P9 S1 ; physical drive 9 goes forwards (E0)
      M569 P8 S1 ; physical drive 8 goes forwards (E1)
      M569 P7 S1 ; physical drive 7 goes forwards (E2)
      M584 X6 Y5 Z2 E9,8,7 C4 ; set drive mapping
      M350 C8 I0 ; configure microstepping without interpolation
      M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
      M92 X100.00 Y100.00 Z400.00 E655:655:655 C100.00 ; set steps per mm
      M566 X400 Y400 Z10 E300:300:300 C2 ; set maximum instantaneous speed changes (mm/min)
      M203 X16500 Y16500 Z1000 E3600:3600:3600 C5000 ; set maximum speeds (mm/min)
      M201 X4000 Y4000 Z400 E600:600:600 C400 ; set accelerations (mm/s^2)
      M906 X1200 Y1200 Z1400 E700:700:700 C400 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S120 ; Set idle timeout

      ; Axis Limits
      M208 X-7.5 Y0 Z0 C0 S1 ; set axis minima
      M208 X325 Y317 Z325 C500 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"xstop" ; configure endstop switch for low end on X
      M574 Y1 S1 P"ystop" ; configure endstop switch for low end on Y
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z
      M574 C1 S3 ; configure sensorless endstop for low end on C

      ;Stall Detection
      M915 C S5 R0 F0 H400 ; coupler

      ; Z-Probe
      M950 S0 C"duex.pwm4" ; create servo pin 0 for BLTouch
      M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P25 X-15.3 Y49.47 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 X4.7:304.7 Y99.47:349.47 S50 ; define mesh grid
      M307 H5 A-1 C-1 D-1 ; Disable the 5th heater to free up PWM channel 4 on the Duex5 board

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B0 R1.516 C290.1 D4.90 S1.00 V24.0 ; disable bang-bang mode for heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S140 ; set temperature limit for heater 0 to 140C

      M308 S1 P"duex.e6temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin duex.e6temp
      M950 H1 C"duex.e6heat" T1 ; create nozzle heater output on duex.e6heat and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S300 ; set temperature limit for heater 7 to 300C

      ;M308 S2 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin e3temp
      ;M950 H2 C"e0heat" T2 ; create nozzle heater output on e0heat and map it to sensor 2
      ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      ;M143 H2 S300 ; set temperature limit for heater 1 to 300C

      ;M308 S3 P"e4temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 3 as thermistor on pin e4temp
      ;M950 H3 C"e1heat" T3 ; create nozzle heater output on e1heat and map it to sensor 3
      ;M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      ;M143 H2 S300 ; set temperature limit for heater 2 to 300C

      ; Fans
      M950 F0 C"fan3" Q80 ; create fan 0 (print cooloing fan) on pin fan3 and set its frequency
      M106 P0 S0 H-1 ; set fan 3 value. Thermostatic control is turned off

      M950 F1 C"pwm1" Q80 ; create fan 1 (extruder 0 fan) on pin fan1 and set its frequency
      M106 P1 T45 S0.7 H7 ; set fan 0.7 value. Thermostatic control is turned on

      ;M950 F2 C"pwm2" Q80 ; create fan 2 (extruder 1 fan) on pin fan1 and set its frequency
      ;M106 P2 T45 S0.7 H7 ; set fan 0.7 value. Thermostatic control is turned on

      ;M950 F3 C"pwm3" Q80 ; create fan 3 (extruder 2 fan) on pin fan1 and set its frequency
      ;M106 P3 T45 S0.7 H7 ; set fan 0.7 value. Thermostatic control is turned on

      M950 F4 C"fan0" Q80 C"drivers temp" ; create fan 4 (Duet's drivers cooling fan) on pin fan0 and set its frequency
      M106 P4 T65 H101 L0.15 X110 B0.3 ; set fan 4 value
      M308 S4 Y"drivers" ; configure sensor 4 as temperature warning and overheat flags on the TMC2660 on Duet

      M950 F5 C"fan8" Q80 C"drivers-duex" ; create fan 5 (Duex5's drivers cooling fan) on pin fan8 and set its frequency
      M106 P5 T65 H102 L0.15 X110 B0.3 ; set fan 5 value
      M308 S5 Y"drivers-duex" ; configure sensor 5 as temperature warning and overheat flags on the TMC2660 on Duex5

      ; Tools
      M563 P0 D0 H1 F1 ; define tool 0
      G10 P0 X0 Y0 Z0 ; reset tool 0 axis offsets
      G10 P0 R0 S0 ; reset initial tool 0 active and standby temperatures to 0C

      ;M563 P1 D1 H1 F4 ; define tool 1
      ;G10 P1 X0 Y0 Z0 ; reset tool 1 axis offsets
      ;G10 P1 R0 S0 ; reset initial tool 1 active and standby temperatures to 0C

      ;M563 P2 D2 H2 F5 ; define tool 2
      ;G10 P2 X0 Y0 Z0 ; reset tool 2 axis offsets
      ;G10 P2 R0 S0 ; reset initial tool 2 active and standby temperatures to 0C

      ;tool offsets - stock
      G10 P0 X34 Y317 Z-5 ; T0 offset
      ;G10 P1 X104 Y317 Z-5 ; T1 offset
      ;G10 P2 X104 Y317 Z-5 ; T2 offset

      ; Filament diameter
      M404 P0 N1.75 D0.4 ; T0 filament width and nozzle diameter
      M404 P1 N1.75 D0.4 ; T1 filament width and nozzle diameter
      ;M404 P2 N1.75 D0.4 ; T2 filament width and nozzle diameter

      ;deselect tools
      T-1

      ; Custom settings are not defined
      ;M572 D0 S0.05 ; pressure advance T0 extruder
      ;M572 D1 S0.05 ; pressure advance T1 extruder
      ;M80 ; Turns on the ATX power supply
      ;M81 ; Turns off the ATX power supply
      M501 ; read stored parameters

      Deployprobe:
      M950 S0 C"duex.pwm4" ; assign GPIO port 0 to heater5 on expansion connector, servo mode
      M280 P0 S10 ; set 80deg servo position on GPIO port 0

      Retractprobe:
      M950 S0 C"duex.pwm4" ; assign GPIO port 0 to heater5 on expansion connector, servo mode
      M280 P0 S90 ; set 90deg servo position on GPIO port 0

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @sigourosandreas
        last edited by

        @sigourosandreas please send a picture for how its connected to the Duex4

        You do not need the M950 command in the deploy and retract probe macro please remove those, it should just be in your config.g

        Please run M98 P"0:/sys/config.g" and post the output here to see if there are any issues with the config.

        Finally if you can please test the functionality with the old settings and without the Duex 5 to see if it makes a difference.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA