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

    duet 2 wifi ona ctc dual help plz

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    91
    7.5k
    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.
    • twistedechosundefined
      twistedechos
      last edited by

      next problem i have no idea what im doing lol i got it to do stuff but its doing crazy stuff its like id dont know where to stop and anytime i home the axis it acts like it just adds the steps to where it already is i dont want to burn anything up would anyone be able to walk me though the https://configurator.reprapfirmware.org/Start

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

        Ok, it sounds like you made some progress. Before you can get things working, you're going to have to figure out some details about the printer. The link you included above shows the build volume, so we have that part. We know it's cartesian. It seems to be dual extruder. it has a heated bed.

        What we still need to know:

        What kind of thermistor does the hotend heaters and bed heater have? If you have any documentation, or support forum for the printer that might help. Some googling might turn it up. That would help getting the temperatures right without having to do too much guess work.

        We need to know what kind of end stops you have and where they are located. Even if you can take a picture of them inside the printer and how they are wired.

        Does it have a Z probe?

        Steps per mm for each axis. You might be able to find this googling, or looking at the setup for the stock firmware. Worse comes to worse it can be calculated if you know the model of the motor (usually a sticker on them), the tooth spacing of the belts, and the number of teeth on the pulleys. If that's too hard to get, you can start with a safe value and test how much it actually moves when you tell it to move 10mm and figure it out from there.

        I think you'll also benefit from doing a lot of reading up on the firmware and how things work: https://duet3d.dozuki.com/

        Here's an article on adapting an existing printer for the Duet. https://duet3d.dozuki.com/Wiki/Going_from_Marlin_on_Arduino_to_RepRapFirmware_on_Duet

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • twistedechosundefined
          twistedechos
          last edited by

          thats the bad part i can not find any info on this printer and it dont have a z probe unless that is the z endstop non of the endstops seem to be working they light up when pressed but the stepper will try to keep moving ill get some pix for you guys in a sec

          1 Reply Last reply Reply Quote 0
          • twistedechosundefined
            twistedechos
            last edited by

            0_1553036067051_IMG_0113.jpg z end stop

            1 Reply Last reply Reply Quote 0
            • twistedechosundefined
              twistedechos
              last edited by

              0_1553036143380_IMG_0114.jpg y end stop

              1 Reply Last reply Reply Quote 0
              • twistedechosundefined
                twistedechos
                last edited by

                0_1553036255567_IMG_0115.jpg x end stop

                1 Reply Last reply Reply Quote 0
                • twistedechosundefined
                  twistedechos
                  last edited by twistedechos

                  belt is s2m and 17 tooth pullys z rod is the 8mm rod and a k type thermistor it is a 24v system if that helps with anything the bed thermistor is built into the bed

                  1 Reply Last reply Reply Quote 0
                  • twistedechosundefined
                    twistedechos
                    last edited by twistedechos

                    i did find this though https://www.thingiverse.com/thing:2475257/ im not sure what he means in the files though

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

                      @twistedechos said in duet 2 wifi ona ctc dual help plz:

                      s2m

                      S2M belts look like they have a 2mm pitch, just like GT2.

                      So 17 tooth pulley, 2mm pitch, 16x microstepping, and either 200 steps per rotation or 400 steps per rotation motors.

                      xy_steps_per_mm = (motor_steps_per_rev ∗ driver_microstep) / (belt_pitch ∗ pulley_number_of_teeth)

                      Gives you 188.2 steps per mm in X and Y if it's a 0.9 degree motor. Or 94.1 for a 1.8 degree motor.

                      No probe. That's fine.

                      The endstops look like makerbot style endstops, but there looks to be 4 wires going to them. It's really hard to see from the pictures. Maybe you could remove one of the endstops and take a good picture of the switch side with the wires. Also the wires at the other end that goes to the Duet. You'll need to identify which wire is which and how to hook it up to the Duet.

                      https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches
                      https://duet3d.dozuki.com/Wiki/Test_homing_behaviour

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @twistedechos said in duet 2 wifi ona ctc dual help plz:

                        i did find this though https://www.thingiverse.com/thing:2475257/ im not sure what he means in the files though

                        So looking at that config.g file in his bundle

                        ; Configuration file for Duet WiFi (firmware version 1.17)
                        ; executed by the firmware on start-up
                        ;
                        ; generated by RepRapFirmware Configuration Tool on Sat Jul 01 2017 14:45:41 GMT+0800 (Malay Peninsula Standard Time)
                        
                        ; General preferences
                        M111 S0 ; Debugging off
                        G21 ; Work in millimetres
                        G90 ; Send absolute coordinates...
                        M83 ; ...but relative extruder moves
                        M555 P2 ; Set firmware compatibility to look like Marlin
                        M208 X-12 Y-10 Z0 S1 ; Set axis minima (bed offset 12 and 10 from zero) <UPDATE> change to fit your bed dimensions - extruder should be over the rear right corner of the bed
                        M208 X273 Y137 Z150 S0 ; Set axis maxima (reduced by offset above) <UPDATE> change to fit your bed dimensions
                        
                        ; Endstops- Switches
                        ; M574 X1 Y1 Z1 S0 ; <ENDSTOP Z> Define active low and unused microswitches - uncomment to configure for legacy Z-Endstop switch
                        
                        ; Endstops- Z Probe <ENDSTOP Z> comment out section below if no Z probe is used
                        M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches
                        M558 P1 X0 Y0 Z1 H5 F350 T150000 ; Set Z probe type to unmodulated (DC42 IR Probe), the axes for which it is used and the probe + travel speeds
                        G31 P500 X-20 Y6 Z 2.662 ; Set Z probe trigger value, offset and trigger height - Increase Z value to move bed closer to nozzle (2.662 for black PEI)
                        M557 X25:250 Y15:125 S20 ; Define mesh grid
                        
                        ; Drives
                        M569 P0 S0 ; Drive 0 goes backwards
                        M569 P1 S0 ; Drive 1 goes backwards
                        M569 P2 S1 ; Drive 2 goes forwards
                        M569 P3 S1 ; Drive 3 goes forwards
                        M569 P4 S1 ; Drive 4 goes forwards
                        M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
                        M92 X88.573186 Y88.573186 Z400 E96.27520187033366:96.27520187033366 ; Set steps per mm
                        M566 X900 Y900 Z600 E1200:1200 ; Set maximum instantaneous speed changes (mm/min)
                        M203 X1080000 Y1080000 Z1200 E96000:96000 ; Set maximum speeds (mm/min)
                        M201 X1000 Y1000 Z150 E2000:2000 ; Set accelerations (mm/s^2)
                        M906 X800 Y800 Z400 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                        M84 S30 ; Set idle timeout
                        
                        ; Heaters
                        M143 S260 ; Set maximum heater temperature to 260C
                        M305 P0 T100000 B3974 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                        M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
                        M305 P2 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 2
                        
                        ; Heater PID Values <UPDATE> Replace with your values from Autotune result
                        M307 H0 A103.7 C787.7 D1.0 S1.00 B0 ; Set PID values for Heatedbed - derived from autotune
                        M307 H1 A313.9 C153.8 D4.0 S1.00 B0 ; Set PID values for Extruder 1 - derived from autotune
                        M307 H2 A352.7 C171.2 D3.5 S1.00 B0 ; Set PID values for Extruder 2 - derived from autotune
                        
                        ; Tools
                        M563 P0 D0 H1 ; Define tool 0
                        G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                        G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
                        M563 P1 D1 H2 ; Define tool 1
                        G10 P1 X35 Y-0.8 Z0 ; Set tool 1 axis offsets <UPDATE> tune to suit your hot end - use a dual extrusion calibration model to find best values
                        G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
                        M207 S1.2 F1200 ; set 1.2mm retract distance for G10 command
                        
                        ; Network
                        M550 PDuet_Replicator ; Set machine name <UPDATE> update with your desired Machine name
                        M551 P12345678 ; Set password <UPDATE> update with your desired Password
                        M552 S1 ; Enable network
                        ; Access point is configured manually via M587 by the user
                        M586 P0 S1 ; Enable HTTP
                        M586 P1 S0 ; Disable FTP
                        M586 P2 S0 ; Disable Telnet
                        
                        ; Fans
                        ; Filament Cooling Fan <UPDATE> comment out section if no filament cooling fan is installed
                        M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                        M106 P0 S0 ; Switch cooling fan off
                        
                        ; Extruder Cooling Fan
                        M106 P1 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                        M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
                        
                        ; Custom settings are not configured
                        

                        It looks like he might be using 18 tooth pulleys. How sure are you that yours are 17 tooth?

                        You may be able to copy and paste that config.g into your own file. It still won't help if the endstops aren't wired correctly.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • twistedechosundefined
                          twistedechos
                          last edited by

                          i did modify the wiring with the end stops im sure i got it hooked up right but i can send a pic cus the duet is 3 wiers

                          1 Reply Last reply Reply Quote 0
                          • twistedechosundefined
                            twistedechos
                            last edited by

                            0_1553040312130_IMG_0117.jpg

                            1 Reply Last reply Reply Quote 0
                            • twistedechosundefined
                              twistedechos
                              last edited by

                              it is 17 i counted again was hoping maybe my eyes messed up or something

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

                                @phaedrux said in duet 2 wifi ona ctc dual help plz:

                                M92 X88.573186 Y88.573186 Z400 E96.27520187033366:96.27520187033366 ; Set steps per mm

                                So if you have 17 teeth, I would change his X and Y from 88.5 to 94.1. You can test if this is correct by moving an axis and measuring how much it actually moves.

                                If homing isn;t working correctly yuet, you can test movement by sending G92 X0 Y0 Z0 in the console to force the Duet to think it's homed. You can then carefully move the axis.

                                Have you tested his config yet?

                                The procedure for testing endstops should tell you if they are working.
                                https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • twistedechosundefined
                                  twistedechos
                                  last edited by

                                  end stops are working but the stepper will sit and bounce off of it? and when i did the G92 X0 Y0 Z0 it let me move it but then it stopped like it hit its max but it was in the center? and the 94.1 seems to be working well

                                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                  • twistedechosundefined
                                    twistedechos
                                    last edited by

                                    i just found something else as well tool head number 2 fan seems to be getting really hot and not spinning i can spin it by blowing on it but i think it might be dead lol

                                    1 Reply Last reply Reply Quote 0
                                    • twistedechosundefined
                                      twistedechos
                                      last edited by twistedechos

                                      im going to upload a better vid to youtube to show you what its doing now https://youtu.be/QgFb8Ch_efI

                                      1 Reply Last reply Reply Quote 0
                                      • twistedechosundefined
                                        twistedechos
                                        last edited by

                                        when we get this all figured out im going to put all the files on here for the next guy that needs help too

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

                                          @twistedechos said in duet 2 wifi ona ctc dual help plz:

                                          G92 X0 Y0 Z0

                                          Ok so that tells it that it's at the lowest point of travel. so If your head is in the middle of the bed, it won't be able to go past 0 in one direction, adn it will think the other direction is longer than it is. It's only good for testing if the motors move in the right direction.

                                          You'll need to actually home the printer now to get it to know where the real extents of travel are.

                                          So can you confirm that +X moves it to the right, and Y+ moves it to the back? 0,0 should be located at the front left of the machine if you're looking at it.

                                          You need to know that so you can tell the motors which way to move when trying to home.

                                          You'll also need to know if the end stops are at the low (0) end of travel, or the high end (200+).

                                          What happens if you try to Home X or Home Y? Are you using the files you posted above, or are you using the ones from that thingiverse link?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          twistedechosundefined 1 Reply Last reply Reply Quote 0
                                          • twistedechosundefined
                                            twistedechos
                                            last edited by twistedechos

                                            i think something is off x+ moves it to the back and y+ move it to the right let me check the wireing i wonder if i pulled up a bad diagram and it is the files from thingiverse also how do i find out what end the end stops are on? (sorry another edit) and when i try to click the home button it gives me the G28 G0/G1 error insufficient axes homed

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