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

    PS_ON with expansion boards

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    6
    306
    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.
    • engikeneerundefined
      engikeneer
      last edited by

      Following on from this thread earlier today: https://forum.duet3d.com/topic/24391/power-wiring-6hc-1lc-main-relay, I've been having a few thoughts about how best to use the PS_ON function when using expansion boards.

      Background - I have a Duet Wifi in my current printer with an external 5V supply and a relay on the 24V supply connected to PS_ON. I like this because it means I can play with settings, get thing uploaded etc without fans running or accidentally turning heaters on, espiecially as I'm not always in front of my printer when I'm using it (it's in the garage). I also like the idea that it could kill the power if it detected a fault, but I'd be able to see what fault had occurred.

      Now, I'm planning on building a new printer (or more likely rebuilding my current printer) as a tool changer with a D3 Mini and toolboards (and maybe either a 3HC, or a second D3 Mini as an expansion). So how do I go about setting up the PS_ON to work like on the D2Wifi?

      If I connect it all up the same as my current printer, the toolboards won't power up til I turn on the relay, so the config.g will fail...

      Option 1 - So as the linked OP did and just turn on the relay in config. Kinda defeats part of my aims with it, but I still get the fault safety working. What happens if the heater fault that tripped it was on one of the tooboards that is now turned off?

      Option 2 - Run a bare minimum config, and have a second config macro that turns on the relay and maps all the toolbaords etc which I call when I'm ready to start printing. Similar to Option 1 but get some ability to interface with DWC without Vin applied

      Option 3 - Do away with PS_ON

      Option 4 - any other magic ideas...? 😄

      While I'm asking, is it possible to provide external 5V to the 3HC? It is for the D3Mini, but would this also power CAN (e.g. if I had two of them), or would that need Vin applied?

      E3D TC with D3Mini and Toolboards.
      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
      i3 clone with a bunch of mods

      DIY-O-Sphereundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • DIY-O-Sphereundefined
        DIY-O-Sphere @engikeneer
        last edited by

        @engikeneer
        I would expect that

        M80                               ; switch Duet on
        G4 S1                             ;wait for expansion boards to start
        

        in the printing start code would be sufficient.
        Maybe the S Parameter needs to be increased a little.

        The other possibility is something like described here, but with this the whole machine is powered on or off.
        I can confirm that this also works perfectly with the toolboard.

        (UTC+1)

        engikeneerundefined 1 Reply Last reply Reply Quote 0
        • engikeneerundefined
          engikeneer @DIY-O-Sphere
          last edited by

          @diy-o-sphere so you can map pins on a toolboard (in config.g) that isn't powered/connected? I didn't know if that might cause errors etc which impact the config running?

          E3D TC with D3Mini and Toolboards.
          Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
          i3 clone with a bunch of mods

          DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
          • DIY-O-Sphereundefined
            DIY-O-Sphere @engikeneer
            last edited by DIY-O-Sphere

            @engikeneer
            I have just recently tested this for you and it really does not work. The relay is not switched permanently when the toolboard has no power.

            Edit:
            Therefore option 2 may work.

            (UTC+1)

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

              @engikeneer the Duet 3 expansion and tool boards are not designed to accept an alternative source of 5V power. Therefore, if you start up your system with 5V power only, you must defer using commands that refer to devices on tool and expansion boards until you have applied 24V power and waited a couple of seconds to allow the power to stabilise - as you describe in option 2 in your post.

              The CAN transceivers are powered from 5V, therefore it would be possible to communicate with and configure a Duet 3 Mini used as an expansion board without VIN power, if that was also provided with separate 5V power.

              A possibility for your 3HC is to supply it with VIN from both 24V and e.g. 9V power fed via two Schottky diodes (one from each supply) so that it gets 24V when the 24V PSU is on and 9V otherwise. A 24V heater supplied with 9V will produce 14% of its normal power so it would be relatively safe if it gets turned on.

              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

              engikeneerundefined 1 Reply Last reply Reply Quote 1
              • engikeneerundefined
                engikeneer @dc42
                last edited by

                @DIY-O-Sphere thanks for checking for me!

                @dc42 thanks for clarifying. I think I'll stick with two D3Minis in that case. I'm planning triple z, x and y on the main board, then the coupler and a cyclops as bowden from the expansion, with the other tools as toolboards. Keeps room for expansion for a height adjustable nozzle wiper or something else in the future if I go D3Mini and I'm not sure if I'll need the higher currents of the 3HC.

                Will have to think how best to setup the PS_ON macro and main config.g but all sounds doable 🙂

                E3D TC with D3Mini and Toolboards.
                Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                i3 clone with a bunch of mods

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