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

    Hobby servo for probe shutting down duet.

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    20
    829
    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.
    • cj19944undefined
      cj19944
      last edited by

      Hi guy

      I have a setup where a hobby servo is ment to retract and deploy a probe that should work in a heated environment. Here is the link to the probe https://hightemp3d.org/shop/hightemp3d/remoteht-high-temperature-bed-level-probe-2/. I am using a duet 3 6hc, in a cartisan style of machine. When i send the command to deploy or retract the probe the machine shuts down. The z probe is working correctly i have tried play around with different combinations in my config but to no avail.config (1).g retractprobe.g deployprobe.g

      A Former User? 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you send M122 after the machine has come back up after shutting down and M98 P"config.g" and share the results?

        When it "shuts down" what exactly happens? Does the board reset?

        Z-Bot CoreXY Build | Thingiverse Profile

        cj19944undefined 1 Reply Last reply Reply Quote 0
        • cj19944undefined
          cj19944 @Phaedrux
          last edited by

          @phaedrux
          m122
          === Diagnostics ===
          RepRapFirmware for Duet 3 MB6HC version 3.4.0 (2022-03-15 18:57:24) running on Duet 3 MB6HC v1.01 or later (standalone mode)
          Board ID: 08DJM-956L2-G43S8-6JTD8-3SS6K-9B1AH
          Used output buffers: 1 of 40 (13 max)
          === RTOS ===
          Static ram: 151000
          Dynamic ram: 95780 of which 0 recycled
          Never used RAM 103892, free system stack 208 words
          Tasks: NETWORK(ready,26.4%,221) ETHERNET(notifyWait,0.2%,168) HEAT(notifyWait,0.0%,327) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,333) TMC(notifyWait,7.9%,92) MAIN(running,65.1%,1101) IDLE(ready,0.4%,30), total 100.0%
          Owned mutexes:
          === Platform ===
          Last reset 00:00:23 ago, cause: power up
          Last software reset at 2022-04-14 23:57, reason: User, GCodes spinning, available RAM 103860, slot 1
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
          Error status: 0x00
          Step timer max interval 126
          MCU temperature: min 25.9, current 26.6, max 26.7
          Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
          12V rail voltage: min 12.1, current 12.1, max 12.3, under voltage events: 0
          Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
          Events: 0 queued, 0 completed
          Driver 0: standstill, SG min 0, mspos 8, reads 64031, writes 14 timeouts 0
          Driver 1: standstill, SG min 0, mspos 8, reads 64031, writes 14 timeouts 0
          Driver 2: standstill, SG min 0, mspos 8, reads 64032, writes 14 timeouts 0
          Driver 3: standstill, SG min 0, mspos 8, reads 64032, writes 14 timeouts 0
          Driver 4: standstill, SG min 0, mspos 8, reads 64035, writes 11 timeouts 0
          Driver 5: standstill, SG min 0, mspos 8, reads 64035, writes 11 timeouts 0
          Date/time: 2022-04-15 12:17:32
          Slowest loop: 1.79ms; fastest: 0.05ms
          === Storage ===
          Free file entries: 10
          SD card 0 detected, interface speed: 25.0MBytes/sec
          SD card longest read time 0.9ms, write time 0.0ms, max retries 0
          === Move ===
          DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
          === MainDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === AuxDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === Heat ===
          Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
          === GCodes ===
          Segments left: 0
          Movement lock held by null
          HTTP is idle in state(s) 0
          Telnet is idle in state(s) 0
          File is idle in state(s) 0
          USB is idle in state(s) 0
          Aux is idle in state(s) 0
          Trigger is idle in state(s) 0
          Queue is idle in state(s) 0
          LCD is idle in state(s) 0
          SBC is idle in state(s) 0
          Daemon is idle in state(s) 0
          Aux2 is idle in state(s) 0
          Autopause is idle in state(s) 0
          Code queue is empty
          === CAN ===
          Messages queued 210, received 0, lost 0, boc 0
          Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 118/0/0
          Tx timeouts 0,0,117,0,0,91 last cancelled message type 4514 dest 127
          === Network ===
          Slowest loop: 4.12ms; fastest: 0.02ms
          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
          HTTP sessions: 2 of 8

          • Ethernet -
            State: active
            Error counts: 0 0 1 0 0
            Socket states: 5 2 2 2 2 0 0 0

          when i send the command to deploy or retract the small servo rotates and then the machine resets says connection lost please wait. then restarts
          M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @cj19944
            last edited by

            @cj19944 that servo is rated 500-900mA current draw. How are you supplying 5V to the 6HC?

            www.duet3d.com

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

              This post is deleted!
              cj19944undefined 1 Reply Last reply Reply Quote 0
              • cj19944undefined
                cj19944 @T3P3Tony
                last edited by

                @t3p3tony
                I get it of the main board. Is this wrong sorry im not an electronics person

                Phaedruxundefined T3P3Tonyundefined dc42undefined 3 Replies Last reply Reply Quote 0
                • cj19944undefined
                  cj19944 @A Former User
                  last edited by

                  @arnold_r_clark
                  What temp will it work up to, maybe I need to change

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

                    This post is deleted!
                    cj19944undefined 1 Reply Last reply Reply Quote 0
                    • cj19944undefined
                      cj19944 @A Former User
                      last edited by

                      @arnold_r_clark
                      Do you have link please

                      A Former User? 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @cj19944
                        last edited by

                        @cj19944 said in Hobby servo for probe shutting down duet.:

                        @t3p3tony
                        I get it of the main board. Is this wrong sorry im not an electronics person

                        So just the 24v from the PSU then.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @cj19944
                          last edited by

                          @cj19944 that should be correct,

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators @cj19944
                            last edited by

                            @cj19944 drawing 900mA from the 5V rail of a 6HC is OK. But the servo may have a higher stall current. The maximum external 5V load supported by the 6HC is 3A.

                            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

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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • cj19944undefined
                                cj19944 @dc42
                                last edited by

                                @dc42 i have taken it from the 5v .i05 rail should i use another pin.
                                Thanks

                                cj19944undefined 1 Reply Last reply Reply Quote 1
                                • cj19944undefined
                                  cj19944 @cj19944
                                  last edited by

                                  @cj19944 Hi guys fixed this problem by switching 5v pin to my 3.3v pin on my set up must of been something to do with stall current something I obviously don't understand to much, appreciate everyone's help.

                                  cj19944undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                                  • cj19944undefined
                                    cj19944 @cj19944
                                    last edited by

                                    @cj19944
                                    All this did was just not shut the machine down.

                                    1 Reply Last reply Reply Quote 1
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators @cj19944
                                      last edited by

                                      @cj19944 said in Hobby servo for probe shutting down duet.:

                                      @cj19944 Hi guys fixed this problem by switching 5v pin to my 3.3v pin on my set up must of been something to do with stall current something I obviously don't understand to much, appreciate everyone's help.

                                      the servo you linked did not look like it would work properly run from 3.3V. can you send a picture of how it you have it wired?

                                      www.duet3d.com

                                      cj19944undefined 1 Reply Last reply Reply Quote 0
                                      • cj19944undefined
                                        cj19944 @T3P3Tony
                                        last edited by

                                        @t3p3tony mg996r-servo-metal-gear-high-torque.jpg
                                        This was my original setup, then i swapped 5v to the 3.3v power the machine did not shut down but the motor also did not move. I have ordered the Schottky diode and 220uF capacitor and an external 5v source for if that does not work. If you wouldn't mind if confirming i do have the wires wired up correctly that would be much appecitated thanks.

                                        cj19944undefined 1 Reply Last reply Reply Quote 0
                                        • cj19944undefined
                                          cj19944 @cj19944
                                          last edited by

                                          @cj19944 Just used an external 5v power supply and all is working okay thanks again.

                                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                                          • T3P3Tonyundefined
                                            T3P3Tony administrators @cj19944
                                            last edited by

                                            @cj19944 thanks for confirming it. Its interesting to see that that servo has a high enough stall current to drop the 5V supply on the 6HC.

                                            www.duet3d.com

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