I can't get the Bltouch working
-
Which firmware version are you using? Have you set up your deployprobe.g and retractprobe.g files as described on the wiki page?
-
Here is the firmware I am running.
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
Firmware Electronics: Duet WiFi 1.02 or later
Firmware Version: 1.21RC3 (2018-02-28 build 4)
WiFi Server Version: 1.21RC4(08b3)
Web Interface Version: 1.21-RC4Editing 0:/sys/deployprobe.g
; Probe deployment routine for BLTouchon on Tevo Black Widow
M280 P3 S10 I1Editing 0:/sys/retractprobe.g
; Probe retraction routine for BLTouchon on Tevo Black Widow
M280 P3 S10 I1Also on duet Wifi Page where it say Z- Probe it says 1000. The BLTouch is wired with the Duet Wifi diagram.
I know I am so close It is driving me crazy. I have been working on this for 2 weeks.
Thank you,
-
@saltypetz your deploy and retract commands are the same.
-
As @Phaedrux says, also please use the 1.21 release firmware not the release candidate.
-
I did everything you said rolled the firmware back to 1.20
and then all this.
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:M280 P3 S10 I1
Then put the Sensor in to test mode by inputting the following command:
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
When the pin hit the bed it flashes red and the z says 3.60 but where is says Z-Probe is says 1000.
is everything done know and ready to print.Thank you everyone for the help this board is real hard. Thank you
-
Now if i tell it all home it homes x and y and centers in bed then the BLTouch goes up and down continuously without stopping.blue and red led on.
-
It sounds like you have the servo command to do a self test in your deploy macro instead of the command to deploy.
-
I hate to sound really dumb but now you lost me. I did all home x and y homed no problem and the Z runs into the bed.
Can you give me a little more information than that I am lost and I am only 2 weeks in trying to get it to work.
I am a newbie with the Duet Wifi but I love it already. I cant wait to get it going. -
Your Z homing routine should use G30 to do a probe. It sounds like its currently setup to work as if there were an endstop to trigger.
Can you post your homing files?
On my CoreXY my homeall.g looks like this
; homeall.g ; called to home all axes ; ; BLTouch prep so we don't catch the probe pin on the edge of the bed ; M280 P3 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed M402 ; Retract probe just in case it's down ; Home XY for Z homing ; G91 ; relative positioning G1 Z5 F200 S2 ; Lower bed 5mm to ensure it is below the switch trigger height M913 X50 Y50 ; set X Y motors to 50% of their normal current for homing G1 S1 X-375 Y305 F4000 ; course home X or Y G1 S1 X-375 F4000 ; course home X G1 S1 Y305 F4000 ; course home Y G1 X2 Y-2 F1000 ; move away from the endstops G1 S1 X-10 F200 ; fine home X G1 S1 Y10 F200 ; fine home Y M913 X100 Y100 ; set X Y motors to 100% of their normal current ; Z homing section follows ; G90 ; absolute positioning G1 X190 Y90 F4000 ; Move x and Y axis over to bed center so probe is on top of bed ; Set lower speeds for homing M566 Z5 ; Set maximum instantaneous speed changes (mm/min) (Jerk) M203 Z350 ; Set maximum speeds (mm/min) M201 Z100 ; Set maximum accelerations (mm/s^2) ; Probe the bed ; M558 A1 F350 ; Set single probing at faster feed rate G30 ; Do a single probe to home our Z axis M558 A10 F100 ; Set tripple probing at slower feed rate G30 ; Probe again to get a more accurate position ; Set normal speeds again M566 Z60 ; Set maximum instantaneous speed changes (mm/min) (Jerk) M203 Z600 ; Set maximum speeds (mm/min) M201 Z600 ; Set maximum accelerations (mm/s^2) ; Move X and Y back Home ; G1 X0 Y270
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Fri May 04 2018 09:52:38 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
M98 Pdeployprobe.g ; deploy mechanical Z probe
G1 S1 X-585 Y-255 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X5 Y5 F6000 ; go back a few mm
G1 S1 X-585 Y-255 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X-43.565 Y26 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homingM98 Pretractprobe.g ; retract mechanical Z probe
-
If you are using fimrware version 1.21 you can remove the M98 commands to manually deploy and retract the probe, the g30 command will do it automatically.
-
I did that and xand y sitll home and the Z-Probe flashs red probe going in and out then crash into the borad.
We are getting close.
Right now Head Position reads X 100 Y 60 Z 15
But then it say. The following axis is not homed zThank so much for the help you have been great
-
What happens when you send the deploy and retract servo commands? Does it respond correctly?
Can you post your current G31 and M558 commands from config.g?
-
Here is the whole fill. I hope this helps you I want to get this thing running. I love it but it is real hard compared to
Arduino. I'm sure when I get used to this I won't want the Arduino boards. If I do this it deploys the probe.
M280 P3 S10 I1. I was just reading something and it says you have to make a heater tool for it is this true. If so I never made a tool for the BLTouch.; 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 04 2018 09:52:39 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 TEVO 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 S0 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes backwards
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 X580 Y250 Z400 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active high endstops; Z-Probe
M558 P9 X0 Y0 Z1 H5 F100 T2000
G31 X0 Y0 Z0 P25
;Bltouch
M307 H3 A-1 C-1 D-1 : Define Bltouch Heater3; 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 P1 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
M563 P1 D1 H2 ; Define tool 1
G10 P2 X0 Y0 Z0 ; Set tool 1 axis offsets
G10 P2 R0 S0 ; Set initial tool 1 active and standby temperatures to 0CM564 H0 ; Allow movement of axes before homing
; Automatic saving after power loss is not enabled
; Custom settings are not configured
Thank you,
-
The BLTouch uses the heater pins only, but you don't need to define a tool for it.
Can you post a video showing what happens when you try doing Home All?
From your config it looks like you are missing a calibrated trigger height in your G31 command. You need to tell the system how far the nozzle is from the bed when the BLTouch triggers. You can follow this guide to find your trigger height. This is based on me assuming that the probe is actually triggering for you.
https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/#findzoffset
-
Here is a short video. It will not give a url.
Thank you so much for the help one day maybe I can help some else.
![alt text](<iframe src="https://player.vimeo.com/video/268481643" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="https://vimeo.com/268481643">20180507_160625</a> from <a href="https://vimeo.com/user84814902">rick west</a> on <a href="https://vimeo.com">Vimeo</a>.</p>)
-
In your homeall.g above it looks like you have a negative X coordinate for the move to position the probe.
G1 X-43.565 Y26 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed
Should that not be a positive X coordinate?
Try this for a homeall.g
; homeall.g ; G91 ; relative positioning G1 Z5 F3000 S2 ; lift Z relative to current position G1 S1 X-585 Y-255 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y5 F3000 ; go back a few mm G1 S1 X-585 Y-255 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X100 Y100 F3000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed G1 X0 Y0 F3000 ; return to origin ;
You also have the Axis maxima set as X580, is that correct?
-
I just put your homeall.g and it still does the same as the video. homes X and Y, Z start but the pin goes in and out without stopping and stops before hitting the bed.
This thing is driving me crazy. -
Does it start flashing before it even gets to the probe point like in the video? That shouldn't happen.
Your files should match the following.
; deployprobe.g ; Probe deployment routine for BLTouch ; M280 P3 S10 I1 ; Set servo position to deploy
; retractprobe.g ; ; Probe retraction routine for BLTouch ; M280 P3 S90 I1
What about that -x coordinate?
-
Thanks for the help