Duet wifi + duex5 + bltouch
-
undefined
undefined
I followed a lot of guides but with no success. I run firmware 3.3 on both paneldue and duet wifi, i tried the bl touch with another duetwifi without the duex5 and i got it working, so the bltouch is not damaged. I checked wiring multiple times with a voltmeter and they're ok. I connected: 2pin cables to zprobe pin next to paneldue -white to IN -black to gnd 3pin cables to pwm5 on duex5 -red to 5v aux -orange to e6 pwm -brown to gnd in Macros i created a Bltouch directory with retractprobe.g (m280 p7 s90) deployprobe.g (m280 p7 s10) The bl touch doesn't self test or even light up after turning on the board, when i imput m401 or m402 it starts blinking red but nothing happens, i also get the error heater 7 not found on paneldue. Here it is the config.g file
undefined
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.4 on Tue Oct 19 2021 11:13:27 GMT+0200 (Ora legale dell’Europa centrale) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Da Queen" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M569 P5 S1 ; aggiunta mia M569 P6 S1 ; aggiunta mia M569 P7 S1 ; aggiunta mia M569 P8 S1 ; aggiunta mia M584 X0 Y1 Z5:6:7:8 E3:4 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X490 Y640 Z415 S0 ; set axis maxima M307 H7 A-1 C-1 D-1 ;disable heater 7 to free pwm 5 ; Endstops M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop+!e0stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"exp.heater7" ; 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 M558 P9 C"^zprobe.in" H5 F120 T6000 G31 P500 X0 Y0 Z2.5 p25 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin e0temp M950 H0 C"e0heat" T0 ; create bed heater output on e0heat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C ; Fans ; Tools ; Custom settings are not defined ; Miscellaneous M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
-
@marcocha If the BL touch is not self testing, it's not getting power. It just needs 5V on red wire, brown to GND to do the self test. Check you have:
If you have a Duex v0.9 or v0.9a board, check that you have a jumper on the "5V AUX JUMPER SELECT PINS" between the 5V AUX and 5V INT pins.
Should say "Duex v0.9 or v0.9a board or later", but you get the idea! https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Duet_2_WiFi_Ethernet_with_Duex_2_Duex_5_or_Expansion_Breakout_Board
For BL touch definition you have:
; Z-Probe M950 S0 C"exp.heater7" ; 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 M558 P9 C"^zprobe.in" H5 F120 T6000
For the macros you have:
in Macros i created a Bltouch directory with
retractprobe.g (m280 p7 s90)
deployprobe.g (m280 p7 s10)Also, your M280 is wrong. You created S0 as the servo number. The M280 needs to refer to this, not the heater number, so should be:
retractprobe.g M280 P0 S90 deployprobe.g M280 P0 S10
See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_RepRapFirmware_Num_3
If you still have problems, see also https://duet3d.dozuki.com/Wiki/BLTouch_Troubleshooting
Ian
-
@droftarts thank you for your answer, the jumper solved the 5v issue and now when i turn up the board the bltouch does the self test correctly, but still nothing with m401 or m402.
I changed m280 as you said, i think the problem lies in the pwm definition because i get error:heater 7 not found on the console as soon as i turn it on. My issue doesn't seem to be listed in the troubleshooting, i already checked that. -
@marcocha From https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_RepRapFirmware_Num_3
If you have a DueX attached, one of duex.pwm1 thru duex.pwm5
So use
M950 S0 C"duex.pwm5"
Ian
-
@droftarts i'm totally blind, didn't see that. Even if it still says error heater 7 not found now m401 and m402 works! Thank you very much again
-
@marcocha I expect there’s another line calling heater 7 somewhere in config.g. Send M98 P”config.g” and it should report any errors.
Ian