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

    Precision Piezo in firmware 3.x

    Scheduled Pinned Locked Moved
    Firmware installation
    6
    13
    607
    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.
    • peirofundefined
      peirof
      last edited by

      Hi,

      i am doing the upgrade of firmware in my delta, i have instaled as Z probe, Precision Piezo....

      In this moment i have setup in config.g, and working, in Firmware 2.x as:

      ; Z-Probe	
      M558 P8 I1 R0.9 F550 Z1                 ; set Z probe type to effector and the dive height + speeds 
      G31 P500 X0 Y0 Z-0.1                   	; set Z probe trigger value, offset and trigger height 
      M557 R90 S15                            ; define mesh grid 
      

      after the web configurator, the section for ZProbe in Firmware 3.x, is:

      ; Z-Probe	
      M558 P1 C"zprobe.in" H5 F120 T6000             	; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X0 Y0 Z2.5                           	; set Z probe trigger value, offset and trigger height
      M557 R85 S20                                    ; define mesh grid
      

      Its correct?
      what its this file "zprobe.in"? Its necesar for Precision Piezo?

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @peirof
        last edited by

        @peirof said in Precision Piezo in firmware 3.x:

        what its this file "zprobe.in"? Its necesar for Precision Piezo?

        it specifies which input pin the output of the z-probe is connected to. in rrf3 it could be any pin, so you have to explicitly specify that it is the zprope.in pin even if it was the default in rrf2

        1 Reply Last reply Reply Quote 0
        • peirofundefined
          peirof
          last edited by

          mmm.... where i can find more info? or an example?

          thanks

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            not sure what the question really is as the pin part is okay; the type of probe i can't comment on as I'm still waiting for my piezo kit

            anyways more info on the pin name change between rrf2 and rrf3 on this page

            https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

            (and https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M950_Create_heater_fan_or_GPIO_servo_port for other io)

            1 Reply Last reply Reply Quote 0
            • arhiundefined
              arhi
              last edited by

              on 3.1.1 there is no default pullup so you need to configure the port to use pullup

              M574 Z0 C"nil"                              ; no Z endstop switch, free up Z endstop input
              M558 P8 C"^zstop" H5 F300 T3000 R4          ; P8 unfiltered, P5 filtered, P8 
              

              or if you are using zprobe.in then just

              M558 P8 C"^zprobe.in" H5 F300 T3000 R4          ; P8 unfiltered, P5 filtered, P8 
              
              peirofundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @peirof
                last edited by

                @peirof said in Precision Piezo in firmware 3.x:

                mmm.... where i can find more info? or an example?

                This is the big difference between RRF2 and RRF3. RRF2 defined default pins internally, so it expected you to connect the probe to the probe.in pin on the Duet. But this made it difficult if you didn't want to use the default pin. In RRF3, there are NO default pin assignments, so you need to define what pin you want to connect your endstops/probe/fans/heaters to. Once you understand this, the change to RRF3 is easy. Define everything! For more, see https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Overview

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                1 Reply Last reply Reply Quote 0
                • gorf26undefined
                  gorf26
                  last edited by

                  In analog mode the potentiometer on the board has no effect, but you must plug into the A pins on the Orion.

                  Orion requires pullups to be enabled for digital mode but they must be disabled for analog mode.

                  Gary

                  1 Reply Last reply Reply Quote 1
                  • peirofundefined
                    peirof @arhi
                    last edited by peirof

                    @arhi

                    whats the effect of "^", before the name of pin?

                    The difference between "zprobe.in" and "^zprobe.in"?

                    from wiki

                    The pullup resistor on the Z probe input is disabled by default. Enable it by prefixing the input pin (C parameter) with the ^ character. Enable pullup resistor with ^ if using Duet 2, running RRF3, using the Z probe input pin, and the probe type is a switch or BLTouch.
                    

                    In another post, they propose that this can be the setup, in config.g:

                    ; Z-Probe
                    M558 P8 C"^zprobe.in" H5 R0.4 F1200 T6000     ;set Z probe type to effector and the dive height + speeds
                    G31 P500 X0 Y0 Z-0.1                          ;set Z probe trigger value, offset and trigger height
                    

                    Later try, and give feedback....

                    P.D.: if something goes wrong, and there is an explosion or similar, the songs say that I was a brave .... :- D

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @peirof
                      last edited by

                      @peirof difference is with or without the internal pull-up resistor. ^ enables pull up.

                      also described in https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names

                      1 Reply Last reply Reply Quote 0
                      • peirofundefined
                        peirof
                        last edited by

                        Well, i have zprobe working, a Precision Piezo Orion in Firmware 3.

                        I put my setup of zprobe in config.g and results of G29...

                        THE CONFIG.G OF PRECISION PIEZO ORION

                        ; Z-Probe
                        M558 P8 C"!zprobe.in" R0.8 F300 Z1             ; set Z probe type to unmodulated and the dive height + speeds
                        G31 P500 X0 Y0 Z2.5                            ; set Z probe trigger value, offset and trigger height
                        M557 R85 S20                                   ; define mesh grid
                        

                        THE G29 CONSOLE RESULTS

                        G32
                        Calibrated 8 factors using 17 points, (mean, deviation) before (0.320, 1.009) after (0.001, 0.028)
                        

                        Thanks all for your help.... @PHAEDRUX, @BEARER, @ARHI, @DROFTARTS, @GORF26, and off course Raul Gonzalez Blanco for be the best "7" Real Madrid C.F. can have...

                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                        • peirofundefined
                          peirof
                          last edited by

                          upload the results of compensation in FW3.x....

                          compensation after update FW3.jpg

                          1 Reply Last reply Reply Quote 0
                          • arhiundefined
                            arhi
                            last edited by

                            in 3.0 when you define that sensor the pull-up was configured automatically and that was changed somewhere around RC10 and in 3.1.1 the pullup is not configured automatically for that pin. if you have bltouch v3 you must configure pullup and if you have older versions then make sure you cut proper traces on the bltouch to have it running at 3V, pullup is not required for those but is not bad to have it on for them too

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @peirof
                              last edited by

                              @peirof said in Precision Piezo in firmware 3.x:

                              G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height

                              Have you actually measured the trigger height yet with G30 S-1? The piezo is a contact probe so it's probably going to be a slightly negative value.

                              Z-Bot CoreXY Build | Thingiverse Profile

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