Duet wifi, bltouch not working



  • Hey I installed a bltouch on my duetwifi, and it deploys and retracts when i turn the machine on but does not respond to m401 or m402, I have looked at the setup page and the troubleshooting page and I feel like I made a huge mistake somewhere. On another note I was wondering why my psu fan is always on full speed and loud compared to the same machine not using a duet.(I have things setupo for 12v on both machines)

    ; bed.g
    ; called to perform automatic bed compensation via G32
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)
    M561 ; clear any bed transform
    G28 ;
    ; Probe the bed at 4 points
    G30 P0 X10 Y15 H0 Z-99999 S0
    G30 P1 X10 Y239 H0 Z-99999 S0
    G30 P2 X220 Y239 H0 Z-99999 S0
    G30 P3 X220 Y15 H0 Z-99999 S0
    G29 ;

    Config-Override.g
    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H0 A154.0 C477.6 D0.6 S1.00 V12.1 B0
    M307 H1 A371.8 C185.4 D4.2 S1.00 V12.3 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    Config.g
    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 PRobo3d_R1+ ; Set machine name
    M551 Psafety13 ; Set password
    M552 S1 ; Enable network
    M587 S"elvis" P"honeynut" ; 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
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes forwards
    M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
    M350 E16 I1; Configure microstepping with interpolation
    M92 X160 Y160 Z1600 E415 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
    M201 X500 Y500 Z250 E250 ; 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 X15 Y15 Z0 S1 ; Set axis minima
    M208 X230 Y254 Z200 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
    M574 Z1 S2 ; Define Z to use Probe. Home to Min

    ; Z-Probe ;
    M307 H7 A-1 C-1 D-1
    M558 P9 F100 H5 R0.2 T6000 A5 B1 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
    G31 P9 X30 Y12 Z2 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
    M557 X15:240 Y15:230 S30 ; Define mesh grid

    ; Heaters
    M307 H0 A134.3 C404.8 D0.4 B0
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S110 ; Set temperature limit for heater 0 to 110C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S300 ; Set temperature limit for heater 1 to 300C
    M501 ;
    ; Fans
    M107 P0 S0.6 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured



  • @sleepless said in Duet wifi, bltouch not working:

    post your deploy and retract scripts.



  • @sleepless said in Duet wifi, bltouch not working:

    M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation

    unless you have a specific reason. its best to leave this at x16 with interpolation.

    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1

    B4138 is the default and most likely wrong for your thermistors.



  • at first i made a the deploy and retract files but then i saw in the troubleshoot page that with the new firmware and p9 retract and deploy scripts arent needed anymore



  • my thermistor works fine



  • @sleepless said in Duet wifi, bltouch not working:

    ; Z-Probe ;
    M307 H7 A-1 C-1 D-1

    @sleepless said in Duet wifi, bltouch not working:

    Config-Override.g
    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    Your config-overide has an entry for heater 7, which you are trying to use for the BLTouch. You'll need to remove that M307 H7 line from config-override.



  • @sleepless said in Duet wifi, bltouch not working:

    that with the new firmware and p9 retract and deploy scripts arent needed anymore

    the page does not say that. it says the opposite.
    https://duet3d.dozuki.com/Wiki/BLTouch_Troubleshooting

    Double Check Deployprobe.g and Retractprobe.g Make sure your deploy and retract macros located in the sys folder are configured correctly. Make sure the servo commands reference the heater pin you have chosen to use.

    the duet has no way of knowing which pin your probe is connected to otherwise.



  • @sleepless said in Duet wifi, bltouch not working:

    with the new firmware and p9 retract and deploy scripts arent needed anymore

    They re still needed, you just don't have to trigger them manually anymore.



  • @Phaedrux
    "Don't use M98 PDeployprobe.g The old way using probe type 5 required you to use M98 PDeployprobe.g and M98PRetractprobe.g to deploy and retract the pin. Type9 now handles the deployment internally. If you need to manually deploy and retract, use M401 and M402, respectively. This allows the Duet to keep track of the deployment state of the pin. G30 and G29 will automatically deploy as needed when using Type 9."

    It says this in the troubleshoot guide, however i will go ahead and try adding them and see what happens



  • @sleepless

    Yes you will need the scripts but you will never have a need to call them, that is handled for you now.

    Frederick



  • @sleepless said in Duet wifi, bltouch not working:

    M98 PDeployprobe.g

    That refers to the command to execute the script. This is to be replaced by M401 and M402.

    The M401 and M402 command execute the Deployprobe.g and Retractprobe.g scripts.

    With P9 the call to M401 and M402 is now automated as well.

    But the scripts are still required.



  • i added the deploy and retract scripts however I am still having issues

    Editing 0:/sys/ deployprobe.g
    M280 P3 S10 I1

    Editing 0:/sys/ retractprobe.g
    M280 P3 S90 I1



  • are you on 2.04? if not please update to it. there was a problem in some rc versions.



  • @Phaedrux said in Duet wifi, bltouch not working:

    @sleepless said in Duet wifi, bltouch not working:

    ; Z-Probe ;
    M307 H7 A-1 C-1 D-1

    @sleepless said in Duet wifi, bltouch not working:

    Config-Override.g
    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    Your config-overide has an entry for heater 7, which you are trying to use for the BLTouch. You'll need to remove that M307 H7 line from config-override.

    Did you remove the H7 entry from config-override?



  • @Veti firmware 2.0



  • @Phaedrux yes i removed it here is a copy

    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H0 A154.0 C477.6 D0.6 S1.00 V12.1 B0
    M307 H1 A371.8 C185.4 D4.2 S1.00 V12.3 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0

    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0



  • @sleepless said in Duet wifi, bltouch not working:

    i added the deploy and retract scripts however I am still having issues

    Editing 0:/sys/ deployprobe.g
    M280 P3 S10 I1

    Editing 0:/sys/ retractprobe.g
    M280 P3 S90 I1

    You're telling the firmware you're using heater pin 3 here, but you have freed up heater pin 7 in your config.

    What pin are you actually plugged into?

    M280 P should match that pin number.



  • her are some pics of the board
    20191106_121606.jpg



  • you are aware that you have a clone board?



  • i didnt realize that.
    I just checked and found out it turns out my buddy replaced the board in the robo with this one and is planning to put the original in a cr10-s20191106_132140.jpg 20191106_132041.jpg


Log in to reply