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

BLtouch & duet wifi issues

Scheduled Pinned Locked Moved
My Duet controlled machine
4
7
1.4k
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.
  • undefined
    polbofree
    last edited by 17 Dec 2017, 20:42

    Hello everybody.
    I have some issues with Bltouch. I mounted a duet wifi in my Hypercuve evo printer.
    I wiring my Bltouch like that:
    red wire –>+ 5v (1st pin in the expansion slot)
    brown wire –> GND (2nd pin in the expansion slot)
    yellow wire –> heater 7 (31th pin in the expansion slot)

    white wire –> "E0 stop" pin in duet wifi board
    black wire --> "E0 GND" pin in duet wifi board

    when I turn on the printer, the BLtouch goes out fot two times (it's all ok), but when I goes Z axis to home, bltouch don't work.
    What's the problem?

    Here my fw configuration:

    ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Dec 16 2017 10:42:32 GMT+0100 (ora solare Europa occidentale)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M553 S1

    M667 S1 ; Select CoreXY mode
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X400 Y400 Z400 S0 ; Set axis maxima

    ; Endstops
    M574 Z0 S0 ; Set active low endstops
    M574 X1 Y2 S1 ; Set active high endstops
    M307 H7 A-1 C-1 D-1 ;
    M558 P5 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P25 X9 Y10 Z1.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:195 S20 ; Define mesh grid

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    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 I0 ; Configure microstepping without interpolation
    M92 X80 Y80 Z800 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

    ; 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 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0

    my deployprobe.g file contens:

    M280 P7 S120 I1

    and retractproble.g conteins

    M280 P7 S160 I1

    anyone can help me?
    cheers

    Diego

    1 Reply Last reply Reply Quote 0
    • undefined
      JRDM
      last edited by 17 Dec 2017, 20:48

      For one, I think output P7 is incompatible with bltouch for not having the right kind of hardware PWM. Going back in the wiki, I might be wrong about that but I think P6 would work. I ended up going back to P3 because that was a known working config.

      I think your "S" parameters are wrong. I recall S120 and S160 turn on self test and reset, respectively.

      so shouldn't deployprobe.g be:
      M280 P3 S10 I1

      retract probe.g:
      M280 P3 S90 I1

      Substitute Px for the heater (PWM) pin you want to use.

      1 Reply Last reply Reply Quote 0
      • undefined
        polbofree
        last edited by 17 Dec 2017, 20:59

        ok,
        I put the yellow wire in the 8th pin into the expansion slot.
        I modify the fw like that:

        ; Endstops
        M574 Z0 S0 ; Set active low endstops
        M574 X1 Y2 S1 ; Set active high endstops
        M307 H3 A-1 C-1 D-1 ;
        M558 P5 X0 Y0 Z1 H5F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
        G31 P25 X9 Y10 Z1.5 ; Set Z probe trigger value, offset and trigger height
        M557 X15:215 Y15:195 S20 ; Define mesh grid

        and modify the deplyprobe and retractprobe files.

        it don't work

        1 Reply Last reply Reply Quote 0
        • undefined
          polbofree
          last edited by 17 Dec 2017, 21:25

          I try to wiring BLtouch white wire and black wire into Z proble slot, bat it dosn't work.

          1 Reply Last reply Reply Quote 0
          • undefined
            polbofree
            last edited by 17 Dec 2017, 21:31

            ok…. it work: when it's triggered, webpanel show Z-probe value:1000. when it is estract, show 0.... but it don't stop Z homing
            sorry for my english...I'm italian guy

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 17 Dec 2017, 21:43

              Here's how to test a Z probe. Position the nozzle high above the bed, then send G30. The probe should deploy and start moving towards the bed. Trigger the probe by holding something under it. That should stop the movement. If it doesn't, turn the power off before the nozzle reaches the bed.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • undefined
                DunstonUK
                last edited by 17 Dec 2017, 22:53

                Hi
                Looks like I have the same issue as you. 😞 just posted mine as well. Hopefully, we can get it sorted.

                Life’s bucket list is never ending. Remember someone else is always better than you.

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