Duet 2 wifi not homing and other issues



  • This post is deleted!


  • This post is deleted!


  • This post is deleted!

  • Moderator

    Are you still having problems? It's hard to help when you delete all your posts.



  • yes im still having problems. i deleted the posts cause to be honest they where more rant then asking for help and i came to my senses when i had some sleep. Im having a hard time trying to get the x,y,z motors to move the full distance and the seems to be not set right or duet doesnt like it. i set the steps in the autoconfig site per the questions and i setup the probe unmodulated and modulated and low and high and for some odd reason the bed temp isnt seen either.



  • Ok i got the bed temp to read but now the hotend temp wont read. Also too how do i setup the motors to know where they are? and every other reboot it doesnt comeback online even though i have the network saved and setup to connect to it. I have followed the setup guide for this board and my corexy machine and all it has done is nothing really. i set the nozzle dead center its some how in the negatives i set it in the front left corner its the same i put it in the back right its the same. how do i set this up to work and please dont say read the guides cause they dont seem to work.



  • To let firmware know where your nozzle is, it must know where 0 of each axis is.
    That means axis must be homed first. To home them motors needs to move and endstops or probe needs to work. To read head and bed temp properly, temp sensors need to be connected correctly and sensors need to be configured correctly in config file. If nothing works, then something is very wrong with your hardware or firmware. So please let as know what firmware version are you using, and post your config.g file and homing files as first step.
    About quides - Duet documentation is very good and works very well if you follow it form beginning, step by step. How to connect hardware to board, how to set up board, how to configure things. Of course you can skip steps you already know, but if not, there are lots of reading and lots of learning to do.


  • Moderator

    It can help to post a photo of your printer as well. Indicate where your endstops are, what hardware you're using and how you expect it to work. Along with your config files and homing files and we can help you get it configured, but we need as much information as possible because you're the one in front of the printer. We only know what you tell us.



  • well right now this is gonna have to wait a bit. I just probed the probe with my multimeter and its dead and i need to get a new 1a fuse for the board. Now i know why the probe wasnt doing so well to begin with it popped a fuse and damn do the fuses need to be so tight lmfao. umm i can get a few pics up and files up as well.



  • config.g
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sat May 30 2020 12:12:01 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Tronxy X5SA Pro" ; set printer name

    M667 S1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S0 ; physical drive 3 goes forewards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E277.80 ; set steps per mm
    M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z180.00 E1500.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
    M906 X950 Y950 Z950 E950 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X330 Y330 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    M574 Z2 S2 ; configure Z-probe endstop for high end on Z

    ; Z-Probe
    M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
    G31 P1000 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X0:300 Y0:300 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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

    ; Custom settings are not defined

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    T0 ; select first tool



  • Homez.g
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sat May 30 2020 12:12:01 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    homey.g
    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sat May 30 2020 12:12:01 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 Y335 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y-5 F6000 ; go back a few mm
    G1 H1 Y335 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    homex.g
    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sat May 30 2020 12:12:01 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X335 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X-5 F6000 ; go back a few mm
    G1 H1 X335 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    homeall.g
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sat May 30 2020 12:12:01 GMT-0700 (Pacific Daylight Time)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X335 Y335 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X335 ; home X axis
    G1 H1 Y335 ; home Y axis
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 H1 X335 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y335 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning



  • config.json
    {"board":"duetwifi10","expansion_boards":[],"firmware":3,"standalone":true,"nvram":true,"auto_save":{"enabled":false,"save_threshold":10,"resume_threshold":11,"gcodes_to_run":"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"},"display":{"type":0,"encoder_steps":4,"spi_frequency":2000000,"menus":[{"name":"main","value":""}],"images":[]},"geometry":{"type":"corexy","mins":[0,0,0],"maxes":[330,330,400],"delta_radius":105.6,"homed_height":250,"low_dive_height":false,"max_carriage_travel":260,"print_radius":85,"rod_length":215,"z_min":0},"drives":[{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":80,"instant_dv":10,"max_speed":300,"acceleration":3000,"current":950,"driver":0,"driver_v3":"0.0","endstop_pin":"xstop","endstop_type":1,"endstop_location":2},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":80,"instant_dv":10,"max_speed":300,"acceleration":3000,"current":950,"driver":1,"driver_v3":"0.1","endstop_pin":"ystop","endstop_type":1,"endstop_location":2},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":400,"instant_dv":0.2,"max_speed":3,"acceleration":100,"current":950,"driver":2,"driver_v3":"0.2","endstop_pin":null,"endstop":null,"endstop_type":3,"endstop_location":2},{"direction":0,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":277.8,"instant_dv":2,"max_speed":25,"acceleration":10000,"current":950,"driver":3,"driver_v3":"0.3"}],"idle":{"used":true,"factor":30,"timeout":30},"homing_speed_fast":30,"homing_speed_slow":6,"travel_speed":100,"z_dive_height":5,"slow_homing":false,"probe":{"type":"unmodulated","recovery_time":0.4,"trigger_height":2.5,"trigger_value":1000,"x_offset":0,"y_offset":0,"speed":2,"deploy":false,"points":[],"pwm_channel":3,"pwm_inverted":false,"pwm_pin":null,"input_pin":"zprobe.in","modulation_pin":"zprobe.mod"},"bed_is_nozzle":false,"bed":{"present":true,"use_pid":true,"heater":0},"chamber":{"present":false,"use_pid":false,"heater":2},"heaters":[{"temp_limit":120,"scale_factor":100,"series":4700,"thermistor":100000,"beta":3950,"c":0,"channel":0,"sensor":0,"output_pin":"bedheat","sensor_type":"thermistor","sensor_pin":"bedtemp"},{"temp_limit":280,"scale_factor":100,"series":4700,"thermistor":100000,"beta":4725,"c":7.06e-8,"channel":1,"sensor":1,"output_pin":"e0heat","sensor_type":"thermistor","sensor_pin":"e0temp"}],"num_nozzles":1,"toolchange_wait_for_temperatures":false,"generate_t_code":true,"tools":[{"mix_ratio":[],"number":0,"name":"","extruders":[0],"heaters":[1],"fans":[0],"x_offset":0,"y_offset":0,"z_offset":0}],"compensation_x_offset":15,"compensation_y_offset":15,"peripheral_points":3,"halfway_points":3,"calibration_factors":6,"probe_radius":85,"mesh":{"x_min":0,"x_max":300,"y_min":0,"y_max":300,"radius":85,"spacing":20},"home_first":false,"orthogonal":{"compensation":false,"height":50,"deviations":[0,0,0]},"network":{"enabled":true,"mac_address":"","name":"Tronxy X5SA Pro","password":"","ssid":"Netgear 89","ssid_password":"zanypiano722","dhcp":true,"ip":"192.168.1.20","netmask":"255.255.255.0","gateway":"192.168.1.254","protocols":{"http":true,"ftp":false,"telnet":false}},"fans":[{"name":"","value":0,"inverted":false,"frequency":500,"thermostatic":false,"heaters":[1],"trigger_temperature":45,"output_pin":"fan0"},{"name":"","value":100,"inverted":false,"frequency":500,"thermostatic":true,"heaters":[1],"trigger_temperature":45,"output_pin":"fan1"}],"custom_settings":""}


  • Moderator

    @Birdman19 said in Duet 2 wifi not homing and other issues:

    G31 P1000 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height

    You need to measure the offset of the probe from the nozzle and set it in G31

    https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

    G1 X0 Y0 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    In homez and homeall you should position the probe at the center of the bed before probing.



  • ok ill do that when the bltouch i ordered comes in. right now the stock probe is dead. And by postioning do you mean put the nozzle there by hand or through the web interface with the machine movement buttons? Do you know why bltouch is disabled in the reprap configurator?


  • Moderator

    By positioning I mean you need to specify the coordinates to move to in the G1 command before the G30.

    G1 X0 Y0 F6000 ; go to first probe point

    Change the X0 Y0 to be whatever coordinates are needed to get the probe positioned at the center of the bed.

    The BLTouch might not be showing up in the configurator if you've chosen something in the io section to disable it. Maybe post a screen shot of those pages?

    Or you can manually edit the config.g file to use the BLtouch probe type by changing your M558 probe config command to be `M558 P9 C"^zprobe.in" H5 F120 T6000

    What is the stock probe on that printer? I'm not familiar.



  • Oh ok that makes sense on the bltouch thing with the configurator. And ok ill try and figure that out. Is there anyway to get the machine/tool postion coordinates to show from the start or will i have to manually map the bed?


  • Moderator

    @Birdman19 said in Duet 2 wifi not homing and other issues:

    Is there anyway to get the machine/tool postion coordinates to show from the start or will i have to manually map the bed?

    I'm not sure what you mean by this.



  • The front page of the duet web interface that has the hotend coordiantes. Is there any way to get it to show exactly where the printhead is when its on so i can get the proper x and y cords for the middle of the bed? Oh and i have a question about the printer bed min max x,y,z settings. Do i need to half 330mm to 165 to get the positive and negative numbers to make a full 330mmx330mm bed cause when i had the motors working it seemed they only saw or knew about half of the bed.


  • Moderator

    @Birdman19 said in Duet 2 wifi not homing and other issues:

    Is there any way to get it to show exactly where the printhead is when its on so i can get the proper x and y cords for the middle of the bed?

    Yes, home the printer.

    @Birdman19 said in Duet 2 wifi not homing and other issues:

    Do i need to half 330mm to 165 to get the positive and negative numbers to make a full 330mmx330mm bed cause when i had the motors working it seemed they only saw or knew about half of the bed.

    Sounds like maybe the steps per mm is off. If you tell it to move 100mm, how far does it actually move if you measure it?



  • Well i got x and y to home but with errors which is fine ive got new wires coming that i can use for them. but sadly my bed doesnt heat up fast enough for the board. But thankfully someone is going to be sending me the files to drop in and get it all working. hopefully with 2.5 since 3.1 seems to be to alpha for me to fully understand.



  • well the files i got sent seem to have fixed everything and i just need to wait for the proper lengths wires and do the final wiring and testing.



  • Ok well i rewired the motors to how the diagram says and lmfao one z motor is going the exact other direction to the other z motor. Its funny but annoying could the 1 amp fuse thats not in the board right now be to blame or is it something else? Cause if i put the original cables back in they move the proper directions but the board gives me an error saying the motors are not in phase or something like that. Oh i also got a bltouch today and the install seemed to go alot easier.



  • ok so i put the stock cables back on the motors and they sound like they are jammed which im guessing is skipping. i dont understand whats going on the config didnt change except for the probe.


  • Moderator

    If the Z motors go in opposite directions it means that one of the motor cables has the phase pairs reversed compared to the other one.

    You can check the phases with this method

    https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases



  • @Phaedrux but what does it mean when the motors make a very harsh chopping sound when they start and stop?


Log in to reply