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

    Adapting a printer (expansion board heater control)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    225
    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.
    • Shokiundefined
      Shoki
      last edited by

      Hey

      I'm trying to adapt a semi-industrial printer to a duet board.

      There are two electronic cards on the printer for now :

      • One is a regular marlin printer
      • The other is handling all the power (bed, chamber, 220V input, emergency stop, etc).

      I would like to replace the first one with a Duet and keep the second one so I don't have to redo all the mains wiring, order some relays etc...

      There is only a 5 pin cables between the two cards. And it's the only part i'm unsure about the transition to Duet.

      The pins are labeled like this :
      B -> Bed -> which goes from 0 to 3.3V when bed is turned on
      C -> PTC -> which goes from 0 to 3.3V when chamber is turned on
      G -> GND which for me is just the ground (and i used it to measure the other)
      V -> 5V which is just 5V
      P -> ACCK I have no idea what this one is/does and it's just always at 3.3V

      Here are my questions :

      1 - Any idea what ACCK means ?
      2 - The original board seems to be switching the 3.3V and not the ground since there is only one ground for both the bed and the chamber conrol. From my understanding of Duet boards, it's switching the GND and not the 3.3V (Vin).
      Any idea how I can wire this secondary board on a duet to make the two heaters (bed and chamber) work ?

      Thanks in advance for the help.

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

        The shared ground will be a problem as you've identified correctly that the Duet switches on the negative side.

        For the bed and chamber though, I assume there is a relay being switched?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @Shoki as your heater switching board needs only 3.3V signal on the B and C pins you can use two io_out pins from a Duet 3 board to control them. These switch in the normal sense.

          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

          Shokiundefined 1 Reply Last reply Reply Quote 0
          • Shokiundefined
            Shoki @dc42
            last edited by

            @dc42 Thank you very much this will work !

            Shokiundefined 1 Reply Last reply Reply Quote 0
            • Shokiundefined
              Shoki @Shoki
              last edited by

              @dc42
              Your solution worked.
              However there is a behavior I don't really like.
              When the printer is off both bed and chamber are off.

              When the printer is on and duet is running, both chamber and bed are controled by the duet and can be on and off depending on temperatures and control values.

              The problem is while turning on the machine (while config.g loading) or when I restart the machine using the emergency stop button, the machine is turning on both the bed and the chamber heater.
              For me this is a problem as if the duet where to fail (bad SD or something else) while powered, both heaters would turn on uncontrolled...

              Any way for the default state to be low ?

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

                @Shoki try adding 10K pull down resistors between each of the IO_Out pins (the ones you use to control the heaters) and ground.

                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
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA