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

    600 PPR encoder as pulse filament monitor.

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    274
    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.
    • CNCModellerundefined
      CNCModeller
      last edited by

      Hi All,
      I've cobbled together this 600ppr filament encoder and was going to use the little 5v to 3.3v converter board and connect a single encoder output via the 3.3v side to E1Stop, taking a 5v elsewhere from the duet to power the 5v side which is then connected to the encoder.

      From my understanding I should get 600 pulses from the single encoder wire as the two are only needed to identify direction. So in my mind this should work, giving about 0.06mm/pulse.

      Any constructive thoughts?

      reduced_IMG_20210328_163039_2.jpg

      Cheers
      Barry M

      Polar Duet3 Mini + 1HCL
      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
      Wanhao D4S: Duet2
      https://forum.duet3d.com/post/296755
      K40 Laser, Duet2
      https://forum.duet3d.com/post/312082
      Wanhao D5S
      https://www.youtube.com/CNCModellerUK

      o_lampeundefined 1 Reply Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe @CNCModeller
        last edited by

        @cncmodeller
        It'll work unless you use retraction. If you only want a 'Jam-detector' it doesn't matter. Otherwise you'll need quadrature encoder setup to read direction and sum up the pulses the right way.

        CNCModellerundefined 1 Reply Last reply Reply Quote 0
        • CNCModellerundefined
          CNCModeller @o_lampe
          last edited by

          @o_lampe
          As I understand it RRF doesn't take in direction anyway. As it only uses a single pin for pulse based filament motion detection.

          From memory doesn't it just ignore retraction moves for filament monitoring?

          If the Duet2 ethernet will take both encoder inputs I can do that but it didn't read that way to me.

          Anyway thanks for the confidence boost 🙂

          Polar Duet3 Mini + 1HCL
          https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
          Wanhao D4S: Duet2
          https://forum.duet3d.com/post/296755
          K40 Laser, Duet2
          https://forum.duet3d.com/post/312082
          Wanhao D5S
          https://www.youtube.com/CNCModellerUK

          1 Reply Last reply Reply Quote 0
          • alankilianundefined
            alankilian
            last edited by alankilian

            THIS guy made his own low-resolution optical filament monitor and it's working great for him after he implemented a Schmitt trigger due to his (original implementation) slowly-changing signal.

            I expect your encoder produces sharp edges so you would not need a Schmitt trigger function. (Either by inverter or by using the nice optical interrupter sensors with built-in Schmitt trigger.)

            I couldn't tell from the data sheet, but I bet you'll get 150 pulses-per-rev on the "A" or "B" signal. That gets you to 600 when you figure the "Quad" (multiply by four by counting all edges) part of a quadrature encoder.

            SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

            CNCModellerundefined 1 Reply Last reply Reply Quote 0
            • CNCModellerundefined
              CNCModeller @alankilian
              last edited by

              @alankilian said in 600 PPR encoder as pulse filament monitor.:

              I couldn't tell from the data sheet, but I bet you'll get 150 pulses-per-rev on the "A" or "B" signal. That gets you to 600 when you figure the "Quad" (multiply by four by counting all edges) part of a quadrature encoder.

              Hi,
              @alankilian I get 2400cpr with these encoders on Arduino, so I'm expecting 600 PPR off of each phase. It's all sorted now just need to connect it to the printer and configure it.

              We will see...! I'll post how I get on.

              IMG_20210328_180259.jpg

              Polar Duet3 Mini + 1HCL
              https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
              Wanhao D4S: Duet2
              https://forum.duet3d.com/post/296755
              K40 Laser, Duet2
              https://forum.duet3d.com/post/312082
              Wanhao D5S
              https://www.youtube.com/CNCModellerUK

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