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

DUET 3 +RRF3 : Servo ?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
12
953
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
    steevebecker
    last edited by 24 Oct 2019, 17:07

    Hi,
    my config: Duet 3 6HC with RRF3 + exp 3HC

    I try to implement a Servo, I need it to tilt my dual extruder.

    I never reach with a code like this one (i try on motherborad, and also on exp board, several IO, several 5V/GND ...):
    anyone implement a Servo on this configuration ?
    Thanks

    ;Servo ;not working for the moment
    ;M950 S0 C"io7.out" ;not working for the moment
    ;M280 P0 S1500 I1 ;not working for the moment

    plant your ideas, water suggestions and questions, collect progress and do great things.

    undefined 1 Reply Last reply 24 Oct 2019, 21:54 Reply Quote 0
    • undefined
      Danal
      last edited by Danal 24 Oct 2019, 21:35

      First a basic question: I assume you've uncommented those commands at some point...

      Let's verify wiring: You've connected a "hobby" servo to the connector circled below, correct? AND, you've re-ordered the wires to match the Duet? A "standard" hobby servo's connector has "Ground, +5V, Signal", in that order. The Duet has "Ground, Signal, +5V". Therefore, the wires must be removed from the plastic shell of the servo connector and re-ordered. Or otherwise changed.

      What happens? Does the servo ever move at all? Any Errors on DWC console?

      0b9e5814-1eb5-42bb-ae95-aee7cab11af4-image.png
      88b5ae86-0199-4406-a371-97ac632a8324-image.png

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • undefined
        Danal
        last edited by 24 Oct 2019, 21:41

        And, yes, I just verified the signal looks correct on io7.out, via an oscilloscope. Using the exact commands you show above.

        It should work.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators @steevebecker
          last edited by 24 Oct 2019, 21:54

          @steevebecker said in DUET 3 +RRF3 : Servo ?:

          Hi,
          my config: Duet 3 6HC with RRF3 + exp 3HC

          I try to implement a Servo, I need it to tilt my dual extruder.

          I never reach with a code like this one (i try on motherborad, and also on exp board, several IO, several 5V/GND ...):
          anyone implement a Servo on this configuration ?
          Thanks

          ;Servo ;not working for the moment
          ;M950 S0 C"io7.out" ;not working for the moment
          ;M280 P0 S1500 I1 ;not working for the moment

          Which firmware version are you running?

          That command should work, although the I1 parameter on the M280 command will be ignored.

          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
            steevebecker
            last edited by 28 Oct 2019, 09:25

            @Danal Thanks for tips, and Yes it was uncommented during tests :). I've done what you explain, wiring was the same. No error on DWC, no error on the console too. We check with an oscillo (i'm not electronician...) but no signal was detected on this io when M280 command has been sent. M280 passed but no effect.

            @dc42 the version indicates with M115 :

            • FIRMWARE_NAME: RepRapFirmware for Duet 3 v0.6
            • FIRMWARE_VERSION: 3.0alpha
            • ELECTRONICS: Unidentified
            • FIRMWARE_DATE: 2019-09-05b2

            plant your ideas, water suggestions and questions, collect progress and do great things.

            1 Reply Last reply Reply Quote 0
            • undefined
              Danal
              last edited by 28 Oct 2019, 09:55

              Hmmm.... I am running the latest Beta. Worth a try.

              It is here: https://github.com/dc42/RepRapFirmware/releases

              Delta / Kossel printer fanatic

              undefined 1 Reply Last reply 30 Oct 2019, 09:10 Reply Quote 0
              • undefined
                steevebecker @Danal
                last edited by 30 Oct 2019, 09:10

                @Danal i'm doing this, but i got some issue 🙂 I 've posted another topic about it : here ==> from alpha to beta 11

                plant your ideas, water suggestions and questions, collect progress and do great things.

                1 Reply Last reply Reply Quote 0
                • undefined
                  steevebecker
                  last edited by 31 Oct 2019, 08:13

                  Whaoo
                  after updating the DSF and the RRF3 to beta (see post alfa to beta11) it Works !
                  Servo is moving well on the motherboard (0.)

                  but the goal is to use it on the expansion board (1.) and on it it's not working
                  this is the code and the error

                  ;Servo
                  M950 S0 C"1.io5.out"
                  M280 P0 S1200 I1
                  Message Error: M950: Remote ports not yet supported by this command

                  Hummm strange ...
                  2 questions :

                  • How to check the version of the firmware on the expansion board 3HC ?
                  • How to update the firmware the expansion board 3HC ?

                  plant your ideas, water suggestions and questions, collect progress and do great things.

                  undefined 1 Reply Last reply 31 Oct 2019, 08:58 Reply Quote 0
                  • undefined
                    T3P3Tony administrators @steevebecker
                    last edited by 31 Oct 2019, 08:58

                    @steevebecker said in DUET 3 +RRF3 : Servo ?:

                    How to check the version of the firmware on the expansion board 3HC ?

                    Send M115 Bn where "n" is the address of your expansion board

                    How to update the firmware the expansion board 3HC ?

                    Send M997 Bn where "n" is the address of your expansion board. The expansion firmware must be available (in the sys directory).

                    Note that not all features are enabled for expansion boards yet:

                    https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations

                    www.duet3d.com

                    undefined 1 Reply Last reply 31 Oct 2019, 10:38 Reply Quote 0
                    • undefined
                      steevebecker
                      last edited by 31 Oct 2019, 10:18

                      @T3P3Tony thanks for the link about limitation, i discover it.

                      so clear: M950 cannot yet be used to configure a GPIO or servo port on an expansion board

                      plant your ideas, water suggestions and questions, collect progress and do great things.

                      undefined 1 Reply Last reply 31 Oct 2019, 14:58 Reply Quote 0
                      • undefined
                        deckingman @T3P3Tony
                        last edited by 31 Oct 2019, 10:38

                        @T3P3Tony There are a couple of other things not mentioned in that link - i.e. M303 heater tuning and M581 not yet implemented on expansion boards. I've added a comment to that effect.
                        Ohh and a warning about thermostatic fans randomly "blipping" into life.

                        Ian
                        https://somei3deas.wordpress.com/
                        https://www.youtube.com/@deckingman

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          T3P3Tony administrators @steevebecker
                          last edited by 31 Oct 2019, 14:58

                          @steevebecker not yet

                          www.duet3d.com

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