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

    Attempt to move motors when VIN is not in range

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    26
    1.8k
    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.
    • Milkeundefined
      Milke @dc42
      last edited by

      @dc42. Thanks. I will check

      1 Reply Last reply Reply Quote 0
      • Milkeundefined
        Milke @dc42
        last edited by

        @dc42

        Today I checked the 3,3 Volts line on Board, it is ok, 3,29 Volts on my multimeter, I also Checked the 5 volts line and the results are 4,9 volts, then I disable the internal 5 volts regulator and add a external 5 Volts power, the results are 4,9 volts whit panel due plugged and the same without the panel due connected.
        I tested the reference voltage on inductor L5 and Capacitor C64, the voltage is 3,29 Volts .
        I checked the temperarture in Wifi Board and SD Card whith my PIR thermomether 33,3 °C and 33,2° C.
        I put the voltagem for my power supply on 21,3 Volts; the result on Uet WEb Control is around 23,8 to 24,2 Volts. M122 Command report:
        m122
        === Diagnostics ===
        RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
        Board ID: 08DJM-9178L-L4MSJ-6J1F6-3SN6N-9T1LR
        Used output buffers: 3 of 24 (20 max)
        === RTOS ===
        Static ram: 27980
        Dynamic ram: 93868 of which 52 recycled
        Exception stack ram used: 552
        Never used ram: 8620
        Tasks: NETWORK(ready,404) HEAT(blocked,1224) MAIN(running,1552) IDLE(ready,80)
        Owned mutexes: WiFi(NETWORK)
        === Platform ===
        Last reset 00:29:20 ago, cause: power up
        Last software reset at 2020-08-30 15:50, reason: User, spinning module GCodes, available RAM 8908 bytes (slot 3)
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
        Error status: 0
        MCU temperature: min 36.8, current 37.2, max 37.7
        Supply voltage: min 21.3, current 22.2, max 24.9, under voltage events: 0, over voltage events: 0, power good: yes
        Driver 0: standstill, SG min/max not available
        Driver 1: standstill, SG min/max not available
        Driver 2: standstill, SG min/max 0/492
        Driver 3: standstill, SG min/max not available
        Driver 4: standstill, SG min/max not available
        Date/time: 2021-03-15 12:20:05
        Cache data hit count 2931106711
        Slowest loop: 8.16ms; fastest: 0.13ms
        I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        === Storage ===
        Free file entries: 10
        SD card 0 detected, interface speed: 20.0MBytes/sec
        SD card longest read time 1.8ms, write time 0.0ms, max retries 0
        === Move ===
        Hiccups: 0(0), FreeDm: 169, MinFreeDm: 167, MaxWait: 1324495ms
        Bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves: 10, completed moves: 10, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
        === AuxDDARing ===
        Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
        === Heat ===
        Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
        === 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
        Daemon is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty.
        === Network ===
        Slowest loop: 201.64ms; fastest: 0.09ms
        Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
        HTTP sessions: 1 of 8

        • WiFi -
          Network state is active
          WiFi module is connected to access point
          Failed messages: pending 0, notready 0, noresp 1
          WiFi firmware version 1.23
          WiFi MAC address cc:50:e3:e3:bc:ea
          WiFi Vcc 3.38, reset reason Unknown
          WiFi flash size 4194304, free heap 23632
          WiFi IP address 192.168.1.113
          WiFi signal strength -65dBm, reconnections 0, sleep mode modem
          Socket states: 0 0 0 0 0 0 0 0
        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          @Milke said in Attempt to move motors when VIN is not in range:

          Supply voltage: min 21.3, current 22.2, max 24.9, under voltage events: 0, over voltage events: 0, power good: yes

          At what point does it start to show the wrong voltage? As soon as you try to move a motor?

          Z-Bot CoreXY Build | Thingiverse Profile

          Milkeundefined 1 Reply Last reply Reply Quote 0
          • Milkeundefined
            Milke @Phaedrux
            last edited by

            @Phaedrux said in Attempt to move motors when VIN is not in range:

            At what point does it start to show the wrong voltage? As soon as you try to move a motor?

            Now the voltage of My Power Supplay is 24 volts checked with multimeter and a voltage display. The DUet Web Contro, show me 13,2 Volts and M122: Error status: 0
            MCU temperature: min 37.2, current 39.3, max 39.6
            Supply voltage: min 12.2, current 14.1, max 14.6, under voltage events: 0, over voltage events: 0, power good: yes
            With low voltage I can move the motors , the voltage do not change in the power supply, I use a 30A/24Volts Power Supply for Duet2Wifi (motors and hot end), for thehot bed I use a separate Power Supply 12Volts/50A, I use separate Mosfets for hot bed and hot end.
            I don't know what's going on. Sometimes the voltage is high and the motors do not start, sometimes the voltage is low and I can print to a certain point until the machine suddenly stops.
            I tested the reference voltage on inductor L5 and Capacitor C64, the voltage is 3,29 Volts .
            I checked the temperarture in Wifi Board and SD Card whith my PIR thermomether 33,1 °C and 33,1° C.

            Is it possible that the processor is defective Or could the inductor and capacitor be in trouble?
            Could it be problems in the inductor?
            If I change the inductor L5 and Capacitor C64, will it solve?

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

              I am confused. First you reported that the voltage reported by the Duet was 34.2V. Now you are saying it is 14V. Whar did you do to provoke the change?

              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
              • hackinistratorundefined
                hackinistrator
                last edited by

                if i'm not wrong , Vref is also powering thermistors .
                try to disconnect all your thermistors and see if the voltage reading is right .

                Milkeundefined 1 Reply Last reply Reply Quote 0
                • Milkeundefined
                  Milke @Milke
                  last edited by

                  @dc42 I am also confused, because sometimes when I turn on the machine, the voltage shown on the DWC and detected by the board is around 30 volts and sometimes around 14 volts, but the power supply is stable at 24 volts all the time.
                  I also checked the 3,3 Volts line on Board, it is ok, I also Checked the 5 volts line and the results are ok.
                  ADVREF or VDDOUT problems? Or VDDIN or VDDCORE?
                  voltage_board.jpg

                  1 Reply Last reply Reply Quote 0
                  • Milkeundefined
                    Milke @hackinistrator
                    last edited by

                    @hackinistrator Are you referring to thermistors 0 to thermistor 7?termistores.jpg

                    hackinistratorundefined 1 Reply Last reply Reply Quote 0
                    • hackinistratorundefined
                      hackinistrator @Milke
                      last edited by

                      @Milke i see only 0 to 2 connected to Vref . maybe if one of them is shorted to +24V it effects the reference .

                      Milkeundefined 2 Replies Last reply Reply Quote 0
                      • Milkeundefined
                        Milke @hackinistrator
                        last edited by

                        @hackinistrator said in Attempt to move motors when VIN is not in range:

                        @Milke i see only 0 to 2 connected to Vref . maybe if one of them is shorted to +24V it effects the reference .

                        Could you help me identify it on the board? Their number and position?

                        1 Reply Last reply Reply Quote 0
                        • Milkeundefined
                          Milke @hackinistrator
                          last edited by

                          @hackinistrator Do you refered to bed thermistor and hot end thermistor? I disconnected both, the same problem, powe suplly 24 volts, DWC show me 17 volts

                          hackinistratorundefined 1 Reply Last reply Reply Quote 0
                          • hackinistratorundefined
                            hackinistrator @Milke
                            last edited by hackinistrator

                            @Milke it might be bad adc i guess .
                            if Vref is bad , then i guess you should also see your hotend / bed temps fluctuate , this is not the case , right?

                            maybe also try connecting the board to your second 12v supply and see if the readings are also off .

                            1 Reply Last reply Reply Quote 1
                            • Milkeundefined
                              Milke
                              last edited by

                              @hackinistrator said in Attempt to move motors when VIN is not in range:

                              maybe also try connecting the board to your second 12v supply and see if the readings are also off .

                              The hotend / bed temps are correct, there is no variation, they remain constant as a function of time.

                              I changed my 24 volts power supply, and the 12 volts power supply too, the problem persists. Nothing changed.
                              WhatsApp Image 2021-03-17 at 20.23.48.jpeg WhatsApp Image 2021-03-17 at 20.23.49.jpeg WhatsApp Image 2021-03-17 at 20.23.49 (1).jpeg WhatsApp Image 2021-03-17 at 20.24.07.jpeg 24,3 Volts on the new 24 volts power supply and around 17 volts on DWC.

                              1 Reply Last reply Reply Quote 0
                              • Milkeundefined
                                Milke
                                last edited by

                                HI people. The same problem, today I can not start the machine because the Vin is 9,1 volts, yesterday I printed whith 18 volts...

                                Anyone can help me?

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

                                  Checking to see if there is any means of repair short of replacing the MCU.

                                  When and where was the Duet purchased?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Milkeundefined 1 Reply Last reply Reply Quote 0
                                  • Milkeundefined
                                    Milke @Phaedrux
                                    last edited by

                                    @Phaedrux said in Attempt to move motors when VIN is not in range:

                                    Checking to see if there is any means of repair short of replacing the MCU.
                                    When and where was the Duet purchased?

                                    Sorry, I don't understand, do you say to replace the MCU or try to repair it without replacing the MCU?

                                    I bought it from a friend in Brazil who referred me to the duet.
                                    Last week I bought a Duet2Wifi clone from Makerbase in China, as I live in Brazil, the pound is very expensive for us, the cost of importing a Duet2 from England is around 364.30 pounds.
                                    Today when I turn on the machine, the voltage shown on the DWC and detected by the board is around 2,60 volts. Yestarday was around 14 volts, but the power supply is stable at 24 volts all the time.
                                    I also checked the 3,3 Volts line on Board, it is ok, I also Checked the 5 volts line and the results are ok.
                                    ADVREF or VDDOUT problems? Or VDDIN or VDDCORE?
                                    It is possible to repair Verfe components or it is necessary change thecustoimportacao.jpg MCu....
                                    I attached the simulation to buy a new Duet2wifi to Brazil.

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

                                      Unfortunately the quality of the clones is hard to predict.

                                      What kind of access to hot air rework and oscilloscope do you have? Whether the effort is worth it, or just replacing the board entirely may be more effective.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Milkeundefined 1 Reply Last reply Reply Quote 0
                                      • alankilianundefined
                                        alankilian
                                        last edited by alankilian

                                        @Phaedrux Is Vin monitored through one of the POWER_FAIL_DETx inputs?

                                        If so, he could measure the voltage at those components and see if it's strange. It's possible one of the two resistors in the divider are poorly soldered or cracked.

                                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                        Milkeundefined 1 Reply Last reply Reply Quote 1
                                        • Milkeundefined
                                          Milke @Phaedrux
                                          last edited by

                                          @Phaedrux I have an oscilloscope but I do not have acces to hot air station to replace the MCU, some components like to resistors or caps no problem to replace.

                                          1 Reply Last reply Reply Quote 0
                                          • Milkeundefined
                                            Milke @alankilian
                                            last edited by

                                            @alankilian said in Attempt to move motors when VIN is not in range:

                                            @Phaedrux Is Vin monitored through one of the POWER_FAIL_DETx inputs?
                                            If so, he could measure the voltage at those components and see if it's strange. It's possible one of the two resistors in the divider are poorly soldered or cracked.

                                            @alankilian , do you refer to components like resistors and capacitors connected to PWR_FAIL_DET2 R80 - 47K, R81 - 4K7 AND C79 - 10nF and PWR_FAIL_DET R15 - 47K, R16 - 4K7 AND C80 10nF?

                                            Attached a figure showing these components in the electronic circuit.![0_1616540703227_referential_problem.jpg](Uploading 100%) ![0_1616540753983_referential_problem.jpg](Uploading 100%)

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