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

    Setting up Duet2 Wifi for TronXY X5SA

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    14
    2.2k
    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.
    • droftartsundefined
      droftarts administrators @Pyper
      last edited by

      @pyper You can try and get the settings off your current controller by sending M503, though this won't show the motor current settings as those are set manually with a trimpot. You could measure the reference voltage between the trimpot on each driver and GND, if you really want to know how TronXY set them! For other settings, there seems to be a Marlin config example for the X5SA here: https://github.com/MarlinFirmware/Configurations/tree/import-2.0.x/config/examples/Tronxy/X5SA

      Otherwise, don't worry too much; you're unlikely to melt/burn anything too badly. Except...

      The one area I would advise caution is around the heatbed. I don't know if this is better on the X5SA than the X5S, but if you can measure the resistance of the bed you'll know what you can do to improve it/make it safer. The heatbed is an enlarged version of this one: https://reprap.org/wiki/PCB_Heatbed#MK3_ALU-Heatbed_Dual_Power
      It can be switched between 12V and 24V power by the way the way the wires are soldered to it, but it seems the resistance of early ones were very variable. The heating element is one long wire, but has a centre connection, which means it can be wired as if it was two big resistors, in series or in parallel, or just half of it.

      Mine was 0.6 ohms, and only half of it was wired! 0.6 ohms means 20A at 12V, giving 240W. 20A is generally too much for most MOSFETs, terminals and fuses (if fitted) on 3D printer boards (the Duet 2 WiFi's are rated at 15A). Anything above 0.8 ohms is okay for 12V, drawing 15A and giving 180W. If you want to upgrade to a 24V PSU (usually a separate PSU just for the bed, controlled by a SSR) bed resistance needs to be around 1.8 ohms (2 ohms at 24V is 12A for 288W). The heatbed on mine allows for switching the voltage, but you have to solder the wires to different pads, which is pretty exciting, as there's a huge lump of aluminium which acts as a heatsink. I did it by putting the heatbed on the family cooker hob with a thermocouple showing the temperature, got it up to 200C, then used a 50W soldering iron with the biggest tip I had to solder the wires on. My heatbed now has a resistance of 1.2 ohms, which means it takes 15 minutes to hit 60C with 12V (10A and 120W). I plan to fit a 24V PSU for the heatbed, but because 24V at 1.2 ohms would draw 20A and give 480W (it would heat up REALLY fast), I'll need to find one that I can drop the voltage down to around 18V (15A, 270W).

      Apart from that, it's well worth reading through @Phaedrux's Ender 3 guide as a template for changing the electronics on any printer to a Duet: https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37

      For the stepper motors, see if any of them have a sticker on them with the model number that you can look up. My X, Y and extruder motors are 1.7A, 40mm long, NEMA 17, SL42STH40-6184A-23. No marking on Z motors, but they got noisy if I turned up the motor current, so left them on 1A. However, it doesn't matter that much. Most likely they are 1.8° (200 step per revolution) motors, because 0.9° motors are more expensive and TronXY are cheap! If they are 40mm to 48mm long, they're probably 1.7A. Set current to 80% of that (ie 1.4A, though I set mine to 1.2A, which is plenty), and check if they get hot.

      Microstepping can be whatever you want. Start with x16 with interpolation.

      Steps per mm can be worked out from the above, and knowing how many teeth are on the pulley; mine have 20 teeth, with 2mm tooth pitch belt. I would imagine yours is the same. Formula:
      xy_steps_per_mm = (motor_steps_per_rev ∗ driver_microstep) / (belt_pitch_mm ∗ pulley_number_of_teeth)
      So xy_steps_per_mm = (200 * 16 ) / (2 * 20) = 80

      For Z, I'm pretty sure you will also have TR8*8 rod, which is 4 starts, giving a 2mm lead, but 8mm pitch (movement per rotation).
      Z_steps_per_mm = (motor_steps_per_rev * driver_microstep) / thread_pitch
      Z_steps_per_mm = (200 * 16) / 8 = 400

      For the extruder, follow @Phaedrux excellent calibration guide, though you can use my figure of 94 (which was a quick calibration) for a ballpark, or use the number from the Marlin configs of 92 (I don't think TronXY have changed the extruder): https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40#s165

      And, indeed, the Marlin config examples give the same numbers for X5S and X5SA:

      *                                      X, Y, Z, E0 [, E1[, E2...]]
      */
      #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 400, 92.6 }
      

      https://github.com/MarlinFirmware/Configurations/blob/c7de0f3dbc5c1c245061f2b400ec9038ee4bed4a/config/examples/Tronxy/X5SA/Configuration.h#L807

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      A Former User? Pyperundefined 2 Replies Last reply Reply Quote 1
      • A Former User?
        A Former User @droftarts
        last edited by A Former User

        @droftarts said in Setting up Duet2 Wifi for TronXY X5SA:

        got it up to 200C,

        Really really like your detailed explanation 🙂 I also tinker with the idea maybe next year to shoot a cheap ol tronxy on the bay and convert it to duet (maybe 3 by then...)...

        BUT while reading very amused your explanation I had to stop at the heatplate-section, BECAUSE most "cheap" heatplates delaminate/detoriate/de... if they get hotter then 150°C (release toxic gases etc. pp.). Next time it is maybe better to stop there (as long as you are not sure that you have something build to higher heat standards) and do the rest by buying a soldering-iron with more Watt like 80Watt you can get reasonably priced... If you watch the video of e3d explaining how difficult it was for them to make their "high-heat" heatplate that got me at least me settled 🙂

        Cheers!

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • Pyperundefined
          Pyper @droftarts
          last edited by

          @droftarts
          Thanks SO much.
          I do have the exact same motors for X,Y, and extruders: SL42STH40-1684A-23. I will use your settings for the setup.

          My Z motors DO have a label with number: SL42STH60-1684A. Probably the same as yours.

          I checked the oms of my heatbed: 1.7
          Hopefully no visits from the fire department any time soon..!

          I will check the links you mention, again thank you so much

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @Pyper
            last edited by

            @pyper Did your TronXY come with 12V or 24V? 1.7 ohms would take forever to heat up on 12V, and probably wouldn't even get to 60C. It would be good on 24V, but may be pretty close to the limit for the PSU, as most 24V PSUs are 15A, and 1.7 ohms pulls 14.1A and gives 338.8W. That doesn't give much headroom for the hot end to heat up or motors to turn!

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            Pyperundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @A Former User
              last edited by

              @lbi Yeah, I was a bit leery of doing the soldering this way, and by no means recommend or endorse it as a way to solder a heated bed.

              But I thought the worst that could happen would be the heating element delaminated, then I could rip it off and fit a nice Keenovo (or similar) silicone bed heater! However, I can't see any evidence of delamination or deterioration, resistance is still fine. I also figured that I'd have to put a lot of heat into the local area with a bigger soldering iron (at, say, 400C+) and risk delaminating the very pads you're trying to solder to. I felt by heating the whole thing there would be less thermal shock. It also has pads for surface mount components (not fitted), so maybe if they're doing those in an oven, the bed should be able to go to 225C for a short period of time.

              I'd be really interested to see the E3D video, which I can't find, if you can share a link.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              A Former User? 1 Reply Last reply Reply Quote 0
              • Pyperundefined
                Pyper @droftarts
                last edited by

                @droftarts
                It is a big 24V power supply..
                But I have a big build volume, so heating the bed still takes forever though haha
                I was trying to get some whambam PEX sheets to stick and they said heat the bed to like 80 and it took FOREVER..

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @droftarts
                  last edited by

                  @droftarts

                  yeah title is a bit misleading and you gonna have to watch quite a bit into it, but after a few minutes from start it also tackles their high-temp-heatplate:

                  https://www.youtube.com/watch?v=HK57OH-dpPk

                  Best regards

                  1 Reply Last reply Reply Quote 0
                  • Pyperundefined
                    Pyper @droftarts
                    last edited by

                    @droftarts said in Setting up Duet2 Wifi for TronXY X5SA:

                    Each Z motor is on it's own stepper driver (2 and 3), rather than both going to one driver

                    Why did you hook it up this way instead of the synced/dual z motor in series option? Just wondering.

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Pyper
                      last edited by

                      @pyper said in Setting up Duet2 Wifi for TronXY X5SA:

                      @droftarts said in Setting up Duet2 Wifi for TronXY X5SA:

                      Each Z motor is on it's own stepper driver (2 and 3), rather than both going to one driver

                      Why did you hook it up this way instead of the synced/dual z motor in series option? Just wondering.

                      Just because the two motors can be wired together, it doesn't mean they can't get out of sync, unless they are physically connected (perhaps with a belt between the two); if you push down on one side of the bed, it is quite easy to make the leadscrew on that side of the bed turn, and the bed will be out of level.

                      As I had a spare driver output, and as I'm using a Z probe, I can run a macro to level the bed automatically. It gets even better when you have three leadscrews supporting the bed; the whole bed plane can be levelled automatically, not just left/right levelled.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      Pyperundefined 1 Reply Last reply Reply Quote 0
                      • Pyperundefined
                        Pyper @droftarts
                        last edited by

                        @droftarts

                        That makes sense.
                        Mine came with a z-screw sync belt which works pretty well.

                        1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators
                          last edited by

                          My TronXY X5S managed it's first print the other day. Not perfect, but certainly not bad. Frame wobbles a bit, so not printing too fast (50mm/s printing, 100mm/s travel). Stiffening up the frame with some corner brackets would definitely help. Tuning retraction (currently 3.3mm) and pressure advance (none used atm, and it's got a 850mm long Bowden tube) would also help. I may investigate direct drive extruder replacements. The bed is a bit warped at 60C (and it's only mounted on 3 points), so may have to change the supplied fibreglass (I think) surface for something more substantial. I also had to change the heater block for an E3D V6 block, as the original thermistor died and I only had E3D thermistors to replace it. It fit perfectly, with the added advantage of a silicone heater sock. Time to tidy up the wiring!
                          Next on the list is to have a separate 24V PSU for the heated bed, as it takes 15 minutes to get to 60C on 12V.

                          Image from iOS.jpg
                          Image from iOS (1).jpg Image from iOS (4).jpg Image from iOS (2).jpg Image from iOS (3).jpg

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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