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

External 5Vdc Voltage Input Reporting Bug in DWC?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
8
887
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
    SnowCrash
    last edited by SnowCrash 6 Apr 2018, 14:40 4 Jun 2018, 14:38

    I've built the circuit described in this thread to connect an independent external 5V input to the Duet and the utilize the ATX-like functionality for the printer, and it all works perfectly apart from one small problem, namely:

    When the Duet is running off the 5V external supply (and the main 24V supply is off), DWC is reporting only 1.5V input in the 'Machine Status' window.

    At first as was alarmed at this apparent voltage drop (and surprised that everything was still working as expected, i.e. I could turn the main supply on/off as intended via the ATX button in DWC), but then I checked the actual input voltage to the Duet with a voltmeter and the actual voltage coming in is 5V rather than the reported 1.5V.

    Is this a bug in the DWC voltage input reporting mechanism or perhaps I haven't setup something correctly?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 4 Jun 2018, 14:47

      DWC is reporting the VIN voltage, not the 5V input voltage. So ideally it would read zero with only 5V power applied. In practice it reads a little above zero.

      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

      undefined 1 Reply Last reply 4 Jun 2018, 14:56 Reply Quote 0
      • undefined
        SnowCrash @dc42
        last edited by SnowCrash 6 Apr 2018, 14:56 4 Jun 2018, 14:56

        @dc42 said in External 5Vdc Voltage Input Reporting Bug in DWC?:

        DWC is reporting the VIN voltage, not the 5V input voltage. So ideally it would read zero with only 5V power applied. In practice it reads a little above zero.

        Thanks for the quick response, @dc42!

        Good to know, but I'm getting a lot more (relatively speaking) than just a few mV... 😕

        Do you think I have a voltage leakage somewhere? Is it something I should be concerned about (short- or long-term)?

        Btw, it might be worth adding a short comment about this in the relevant wiki(? ) to avoid similar confusions about how external voltage input reporting works in DWC.

        1 Reply Last reply Reply Quote 0
        • undefined
          SnowCrash
          last edited by SnowCrash 6 Apr 2018, 23:34 4 Jun 2018, 17:49

          @dc42, it just occurred to me why I thought it was a bug to begin with:

          With the external 5V input (and 1.5V showing in the display), I got a 'low voltage' warning in DWC (that's what drew my attention to the issue).

          That's obviously a false warning and perhaps indicates that some ironing out of the details of how voltage input is checked by the system and displayed is needed.

          (personally, I would have liked to see the actual input displayed, whether via vin or external 5v supply).

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by dc42 6 Jun 2018, 11:43 6 Jun 2018, 11:43

            The 5V and VIN supplies are separate, so the VIN monitor has no knowledge of the voltage on the 5V rail. The "Low voltage" warning means the the VIN voltage is too low for motion.

            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

            undefined 1 Reply Last reply 6 Jun 2018, 20:03 Reply Quote 0
            • undefined
              SnowCrash @dc42
              last edited by 6 Jun 2018, 20:03

              @dc42 said in External 5Vdc Voltage Input Reporting Bug in DWC?:

              The 5V and VIN supplies are separate, so the VIN monitor has no knowledge of the voltage on the 5V rail. The "Low voltage" warning means the the VIN voltage is too low for motion.

              Got it, thanks!

              That just leaves my 2 questions above which are easy to miss so I thought I'd repeat them here:

              Do you think I have a voltage leakage somewhere? Is it something I should be concerned about (short- or long-term)?

              undefined 1 Reply Last reply 7 Jun 2018, 12:14 Reply Quote 0
              • undefined
                dc42 administrators @SnowCrash
                last edited by 7 Jun 2018, 12:14

                @snowcrash said in External 5Vdc Voltage Input Reporting Bug in DWC?:

                That just leaves my 2 questions above which are easy to miss so I thought I'd repeat them here:

                Do you think I have a voltage leakage somewhere? Is it something I should be concerned about (short- or long-term)?

                No I don't think you need worry about that. I just tested a board on my bench with USB power only and I get similar results: 1.7V across the VIN terminals on my multimeter, and DWC also shows 1.7V. My guess is that the TMC2660 drivers leak a small amount of current between their +3.3V and VIN pins.

                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

                undefined 1 Reply Last reply 7 Jun 2018, 14:24 Reply Quote 0
                • undefined
                  SnowCrash @dc42
                  last edited by 7 Jun 2018, 14:24

                  @dc42 said in External 5Vdc Voltage Input Reporting Bug in DWC?:

                  @snowcrash said in External 5Vdc Voltage Input Reporting Bug in DWC?:

                  That just leaves my 2 questions above which are easy to miss so I thought I'd repeat them here:

                  Do you think I have a voltage leakage somewhere? Is it something I should be concerned about (short- or long-term)?

                  No I don't think you need worry about that. I just tested a board on my bench with USB power only and I get similar results: 1.7V across the VIN terminals on my multimeter, and DWC also shows 1.7V. My guess is that the TMC2660 drivers leak a small amount of current between their +3.3V and VIN pins.

                  Very happy to hear! Thank you very much for taking the time to test this on your machine, @dc42, very much appreciated!

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