I can't get the Bltouch working
-
Does your z-probes sensor value still read 1000 all the time in the web-interface/display ?
Mine only read "1000" when I disconnect the BLTouch's black/white wires from the duet's "z-probe in"/"gnd" pins.
When it is connected the it reads "0" all the time for me and works correctly.If yours still read 1000 all the time maybe you just have to check your connections, maybe you have a broken cable or bad contact in your bltouch cable/connection to the duet.
So you should test (both values read after powering the printer on and the probe had done its automatic start-test):
What is your probes value shown when the sensor cable is connected to the duet ?
What is your probes value shown when the sensor cable to the duet is disconnected ? -
I does show 1000. I save a copy of the factory sd just uploaded it now the Z-Probe is reading 252 all factory sd card.
-
"It does show 1000" <- is this your answer to both questions ?
It does show 1000 when the sensors cable is connected to the duet
AND
it also show 1000 when the sensor cable is disconnected (but the power and servo cable stays connected) ?
If this is the case I think you should check the wiring, no need to switch configurations all the time, it is impossible to track a problem down when you are changing your configuration all the time.I followed the information from this page to configure mine and it is working fine:
https://betrue3d.dk/bltouch-on-duet-wifi-duetreprapfirmware/#3pinsforservo.
I do use the heater 7 connection and the exact configuration/code that it mentioned there, I only added the I1 to the end of the retract and deploy commands. That was the only change I had to do. -
I had a copy of the factory sc card and loaded that so everything is factory setting. The Z-Probe is reading 245 right now.
-
@saltypetz said in I can't get the Bltouch working:
I had a copy of the factory sc card and loaded that so everything is factory setting. The Z-Probe is reading 245 right now.
A steady reading other than 0 or 1000 should be impossible with P9 selected in the M558 command. Please run M558 without parameters and check what probe type number it reports.
-
Here is what did. Set sd card back to factory the I edit this. Setup with https://configurator.reprapfirmware.org/
; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
M557 X15:355 Y15:235 S20 ; Define mesh grid
M307 H3 A-1 C-1 D-1 ;On this line M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
My Z-Prode is at 243 with this numbers and with the https://configurator.reprapfirmware.org/
also 243. I when number by number changing them one at a time as soon as I put P9 the Z prober goes to 1000.M307 H3 A-1 C-1 D-1 ;
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25I tried this and it goes to 1000 right away.
My Config,g file.
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Fri May 18 2018 16:29:29 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 PTevo Black Widow ; Set machine name
M552 S1 ; Enable network
;*** Access point is configured manually via M587
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z4000 E420:420 ; Set steps per mm
M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800:800 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 X370 Y250 Z300 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active high endstops; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
M557 X15:355 Y15:235 S20 ; Define mesh grid
M307 H3 A-1 C-1 D-1 ;; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X150 T"K" ; Set thermistor + ADC parameters for heater 0
M143 H1 S370 ; Set temperature limit for heater 1 to 370C
M305 P2 X151 T"K" ; Set thermistor + ADC parameters for heater 1
M143 H2 S370 ; Set temperature limit for heater 2 to 370C; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
M563 P1 D1 H2 ; Define tool 1
G10 P1 X0 Y63 Z0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings are not configured
-
I believe it is normal for the bltouch to read 1000 when it is not deployed. It should go to zero when you deploy it, if you have connected it correctly.
-
So I should put this in place of the
M307 H3 A-1 C-1 D-1 ;
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25inplace of the configurator.reprapfirmware info.
-
@dc42 said in I can't get the Bltouch working:
I believe it is normal for the bltouch to read 1000 when it is not deployed. It should go to zero when you deploy it, if you have connected it correctly.
Mine works fine and reads "0" all the time (BLTouch smart) no matter if it is deployed or rectracted, it only reads 1000 when I disconnect the BLTouch sensor wire from the duet wifi.
Maybe the bltouch models work differently, if it is a genuine-smart,genuine-classic or 3rd party "bltouch" ? -
To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:
This works perfect M280 P3 S10 I1
Then put the Sensor in to test mode by inputting the following command:
This the pin just goes in and out M280 P3 S120 I1
With this setting.
M307 H3 A-1 C-1 D-1 ;
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25X & Y home no problem.
-
This the pin just goes in and out M280 P3 S120 I1
I'm not super familiar with the BL Touch, but the pin going in and out 3 times seems to be expected behavior for self test?
If you do M280 P3 S60 I1, this should perform a wiring test, letting you push the pin and then check the Z-probe reading in Duet Web Control. You should see the reading change when the pin is pushed. What readings do you see after M280 P3 S60 I1, with the pin in and then the pin out?
https://docs.wixstatic.com/ugd/f5a1c8_d261d68b7b034a29bdfc5aaebe882983.pdf
-
I don't know if this will help but here is the BLTouch would love to get this thing going need it bad.
-
Getting answers to the questions I posed in the post before yours would help us help you.
-
When you turn the printer it self test the pin go in out out two times.X and Y home Z goes to middle of bed and stops.
(0 %
× G28 Z
Error: Z probe already triggered at start of probing move
Error: G0/G1: insufficient axes homed) Only on ZCopy and paste all setting from https://forum.duet3d.com/topic/4487/tevo-black-widow-compatibility/2
Then only edit this.
- In your software config.g file input the following G-Code commands to allow the setup to work:
M307 H3 A-1 C-1 D-1 ;
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25
Important: mode 9 is supported in firmware 1.21 and later only. If you are using earlier firmware, replace P9 in the M558 command by P5.
In the G31 command the X and Y are the offset of the sensor in relation to the nozzle (so input your own) the number for Z is the trigger height (read on for this). This is the height that is obtained from reading the height the nozzle is from the bed when the sensor pin contacts the bed and retracts, P is the signal threshold.
It is required to invert the signal “I1” when using the expansion header pins and not the Duex to connect the BLTouch.
Ensure in your config-override.g file (in the /sys folder of the SD card) does not contain an M307 H3 command that overrides the above configuration.
2. Create a deployprobe.g file (in the /sys folder of the SD card) it should contain the following single command:M280 P3 S10 I1
- Create a retractprobe.g file (in the /sys folder of the SD card) it should contain the following single command:
M280 P3 S90 I1
Commissioning & Testing
To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:(THIS WORK PERTFECT) M280 P3 S10 I1
Then put the Sensor in to test mode by inputting the following command:
**( THIS THE PIN JUST GO IN AND OUT WITHOUT STOPPING)**M280 P3 S120 I1
If all is well the web interface should report a value of ” 0” in the Z probe column when the pin is extended. You can then lightly touch the extended probe pin to check that the pin retracts, the value in the Z probe Column should change to “1000”
If all is good It is at this point that you can deploy the probe using the M280 P3 S10 I1 command and slowly lower the nozzle to the bed and find out your own Z trigger height, when the probe touches the bed and the pin retracts you can take a reading of the Z height and use that to input into the G31 command in the config.g file
-
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on ; Config start-up
;
; generated by RepRapFirmware Configuration Tool on Sat Mar 03 2018 14:29:05 GMT-0500 (Eastern Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Black Widow" ; Set machine name
M552 S1 ; Enable network
M587 S"NETWORKNAMEHERE" P"NETWORKPASSWORDHERE" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P2 S0 ; Drive 2 goes backwards Z
M569 P3 S1 ; Drive 3 goes forwards EM350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z1600 E427 ; Set steps per mm for 16x microstepping
M566 X900 Y900 Z12 E10 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z500 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y150 Z300 E200 ; Set accelerations (mm/s^2)
M906 X1050 Y1050 Z1300 E1050 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 X335 Y260 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S0 ; Set active low endstops
M574 Z1 S2 ; Set endstops controlled by probe
M557 X0:335 Y45:260 S20 ; Define mesh grid; Heaters
M301 H0 S1.00 P32.6 I1.360 D79.4 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S80 ; Set temperature limit for heater 0 to 80C
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S240 ; Set temperature limit for heater 1 to 220C; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T100 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F2 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings are not configured
M307 H3 A-1 C-1 D-1 ;
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25; Miscellaneous
M501
T0 ; Select first tool -
Not sure where you are in the process of fixing your BLTouch...
I have been away for a while but I had, when I started a similar situation with a BLTouch.
Red background in web controllerI used these in my Config.g
M558 P1 X0 Y0 Z1 H5 F100 T2000
G31 X30 Y18 Z1 P200 ; Set Z probe trigger value, offset and trigger heightI also needed to use Replace M401 by M98 Pdeployprobe.g and M402 by M98 Pretractprobe.g
-
Yes but i have the new board. Everything works X and Y home Z goes to center then Z - Probe doesn't know what to do. I used all your setting and tried editing the Z - probe. That is the only problem. I love the board but it is very hard to get help.
Thank you,
-
I posted a question a few posts back, getting the answer to that will help us help you.