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

duetcontrolserver 100% CPU

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
20
770
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
    chrishamm administrators @CthulhuLabs
    last edited by 28 Jun 2022, 12:52

    @cthulhulabs You should deliver 5V to the Duet as well if you turn off the input power but leave the SBC on. If you don't do that, the DSF service will keep trying to connect but obviously that fails every time. You could also edit the DCS service file (sudo systemctl edit duetcontrolserver) and increase StartLimitIntervalSec to the desired delay between the start attempts.

    Duet software engineer

    undefined 1 Reply Last reply 28 Jun 2022, 12:54 Reply Quote 0
    • undefined
      CthulhuLabs @chrishamm
      last edited by 28 Jun 2022, 12:54

      @chrishamm Ok. I already ordered this 5V supply to power both the Duet and the SBC from:

      https://www.amazon.com/LRS-50-5-Switching-Supply-Single-Output/dp/B019GYOCMM/

      Should be here today. Is this the correct way to do that?

      @cthulhulabs said in duetcontrolserver 100% CPU:

      To do this I am assuming I would remove the jumper from the Internal 5V En pins and move it to the 5V -> SBC pins. Then attach the 5V supply to the EXT 5V header.

      undefined 1 Reply Last reply 28 Jun 2022, 12:58 Reply Quote 0
      • undefined
        chrishamm administrators @CthulhuLabs
        last edited by chrishamm 28 Jun 2022, 12:58

        @cthulhulabs Remove the internal 5V EN jumper and then you have two options:

        1. Connect your new 5V supply to the EXT 5V header
        2. Bridge "5V -> SBC" + "SBC -> 5V" and use the existing 5V supply from your SBC to power the Duet as well. It is recommended to do this only if your existing 5V supply has enough spare capacity and if it isn't set to more than 5.2V

        Duet software engineer

        undefined 1 Reply Last reply 28 Jun 2022, 13:02 Reply Quote 0
        • undefined
          CthulhuLabs @chrishamm
          last edited by 28 Jun 2022, 13:02

          @chrishamm I would like to power both the SBC and the MB6HC from the same 5V supply and get rid of the power supply on the SBC. The new 5V supply is 10A and has a fine adjust for the voltage so I can set it to 5.2V.

          undefined 1 Reply Last reply 28 Jun 2022, 13:04 Reply Quote 0
          • undefined
            chrishamm administrators @CthulhuLabs
            last edited by 28 Jun 2022, 13:04

            @cthulhulabs said in duetcontrolserver 100% CPU:

            @chrishamm I would like to power both the SBC and the MB6HC from the same 5V supply and get rid of the power supply on the SBC. The new 5V supply is 10A and has a fine adjust for the voltage so I can set it to 5.2V.

            OK, then just remove INT 5V EN and bridge the other two jumpers as advised. There is no need to tweak the output voltage further if your Pi doesn't report an undervoltage event; just make sure it never exceeds 5.2V or you risk damage to certain parts on the MB6HC.

            Duet software engineer

            undefined 1 Reply Last reply 28 Jun 2022, 13:06 Reply Quote 0
            • undefined
              CthulhuLabs @chrishamm
              last edited by 28 Jun 2022, 13:06

              @chrishamm So attach the supply to the EXT 5V header, remove INT 5V EN jumper, and jumper both SBC -> 5V and 5V -> SBC? Just want to be 100% certain I am doing this right. Hate to fry something.

              undefined 1 Reply Last reply 28 Jun 2022, 13:10 Reply Quote 0
              • undefined
                chrishamm administrators @CthulhuLabs
                last edited by 28 Jun 2022, 13:10

                @cthulhulabs You won't need the EXT 5V header if you use the other two jumpers; the ribbon cable to the SBC can supply 5V already.

                So before you start get a multimeter and check your existing 5V supply and ensure it isn't set to anything higher than 5.2V. If it's plain 5V, even better. Then power everything down, remove "INT 5V EN", and bridge "5V -> SBC" and "SBC -> 5V". Then you won't need to use EXT 5V at all.

                Duet software engineer

                undefined 1 Reply Last reply 28 Jun 2022, 13:17 Reply Quote 0
                • undefined
                  CthulhuLabs @chrishamm
                  last edited by 28 Jun 2022, 13:17

                  @chrishamm Umm.... where do I plug the powersupply into then? I was planning on powering the SBC from the MB6HC as the SBC's 5V pins are covered by the ribbon cable and the power supply doesnt have a USB-C output to plug into the Pi 4's power port.

                  undefined undefined 2 Replies Last reply 28 Jun 2022, 13:20 Reply Quote 0
                  • undefined
                    Stephen6309 @CthulhuLabs
                    last edited by 28 Jun 2022, 13:20

                    @cthulhulabs I use these on my 5vdc power supply: https://www.amazon.com/gp/product/B081JGZK14 and a usb cable to the PI.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      chrishamm administrators @CthulhuLabs
                      last edited by chrishamm 28 Jun 2022, 13:58

                      @cthulhulabs I am confused. Didn't you say the original problem only started showing up when you turned off the Duet but left the SBC running? If that is the case, how did you power the SBC in the first place? I assumed you had a USB cable connected to the SBC which was in charge of the 5V supply already.

                      Nevertheless, if you want to provide 5V to the Duet and power ONLY the SBC from there, do the following:

                      • Check if your 5V PSU is set to 5V (no more than 5.2V)
                      • Connect 5V from your PSU to the EXT 5V header
                      • Remove the INT 5V jumper
                      • Bridge "5V -> SBC" and "SBC -> 5V"

                      If you want to connect extra devices to the SBC, it is highly recommended to power the SBC separately using a USB-C cable (e.g. this). The reason is that both 5V supply lines of the ribbon cable should not exceed 2A total and with a Pi 4 + extra peripherals you would probably exceed that.

                      Duet software engineer

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