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

    3.2 Servo making a grinding noise on reboot/M999

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    5
    43
    2.0k
    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.
    • Reefwarriorundefined
      Reefwarrior @dc42
      last edited by

      @dc42 I have soldered a 6.6k resistor in the wiring for the pwm signal - same thing still....

      1 Reply Last reply Reply Quote 0
      • Reefwarriorundefined
        Reefwarrior @dc42
        last edited by

        @dc42 Also I don't know if this is by chance, but if I use Q50 in the declaration, then the grinding noise is still there, but of a shorter duration.

        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
        • Reefwarriorundefined
          Reefwarrior @Reefwarrior
          last edited by

          Anybody any other ideas perhaps?

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

            How about connecting the servo GND pin to a FAN control signal?

            That way, (hopefully, @dc42 could verify) power would be removed from the servo during reboot and you'd need to "turn on the fan" with GCODE to power the servo again.

            I would think a FAN output could handle the power requirements of a servo.

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

            Reefwarriorundefined 1 Reply Last reply Reply Quote 0
            • Reefwarriorundefined
              Reefwarrior @alankilian
              last edited by

              @alankilian Thank you for the reply. Seems the issue is with the PWM signal that gets generated. I have gone and started playing around with the PWM's Hz parameter on the declaration and that does change the amount of grinding - although I am beginning to think that it is just luck...

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

                @Reefwarrior Yes, But I don't think changing the PWM frequency is the way to go.

                Hobby servos like this should have a 50Hz update rate to function properly.

                When the board resets and the signal value goes HIGH, the servo is going to mistakenly read that as a very long position pulse and will try to go all the way to one end of the travel.

                Disconnecting toe power to the servo will prevent it from moving.

                You could also build some external circuitry that blocks the constant-high signal during reboot. (I can describe that in another message if you're interested in going that way.)

                But I think trying to disconnect the power would get you the results you like.

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

                Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                • Reefwarriorundefined
                  Reefwarrior @alankilian
                  last edited by

                  @alankilian Hi! Thank you 🙂 Will tinker with this tomorrow - now I need to see which fan to substitute, as I am basically using all the fan's with PWM control....

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

                    avoid Fan1 since it powers on briefly at power up because it's intended for the heatsink fan in case the hotend was hot when power was cycled.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                    • Reefwarriorundefined
                      Reefwarrior @Phaedrux
                      last edited by

                      @Phaedrux Any specific recommendation? Or alternatively I can use an external mosfet connected to the expansion port for that too?

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

                        I'm not sure. This is uncharted territory for me.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                        • Reefwarriorundefined
                          Reefwarrior @Phaedrux
                          last edited by

                          @Phaedrux hahah ok 🙂 No problem 🙂 Thank you for the advice! 🙂

                          1 Reply Last reply Reply Quote 0
                          • vasparshinundefined
                            vasparshin
                            last edited by

                            As per DC42 comment, I have added a 5K resistor between the pin (exp.e3stop) and GND and my issue is solved - the voltage spike at startup/shutdown is minimized and the pin can be used to send signals to an Arduino during operation without hazard of stray signal being send from reboot.

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

                              @vasparshin said in 3.2 Servo making a grinding noise on reboot/M999:

                              my issue is solved

                              YEAH!!!

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

                              1 Reply Last reply Reply Quote 0
                              • Reefwarriorundefined
                                Reefwarrior @vasparshin
                                last edited by

                                @vasparshin Hi. So you literally connected ground and the exp.e3stop with a 5k resistor? (ie. between ground and the exp.e3stop pin)? Mind sending a photo? 🙂

                                Tinus

                                vasparshinundefined 1 Reply Last reply Reply Quote 0
                                • vasparshinundefined
                                  vasparshin @Reefwarrior
                                  last edited by

                                  @Reefwarrior

                                  Yes that is correct. 5K resistor between ground and the exp.e3stop and taking the signal from exp.e3stop to Arduino. My wiring is a complete mess so I've provided a diagram instead.
                                  IMG_20210129_125544.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • Reefwarriorundefined
                                    Reefwarrior
                                    last edited by

                                    Brilliant thanx, got it like that. Working like a dream.

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