Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. pma_
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 7
    • Best 1
    • Controversial 0
    • Groups 0

    pma_

    @pma_

    1
    Reputation
    3
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pma_ Unfollow Follow

    Best posts made by pma_

    • Simple power-off solution for duet

      In my HEVO I have SSR installed and one works well but in my converted Artillery Genius I didn't wanted to mess with wires so I decided to use simple remote switch with small script to automatically turn off printer when temperature is below treshold.

      I used Sonoff S26 switch with tasmota installed.

      Then on raspebbery pi I have python script executed every 5 minutes by cron.

      Script is here https://github.com/pmarkiewicz/duet-off
      There is no config file to make this simple. Everything is in one script.

      Conditions to disable printer are:

      • active temperature set to -1
      • printer is idle
      • current temperature for heater with -1 is below 45 deg

      To "install" run
      crontab -e

      and add line
      5 * * * * /usr/bin/python3 /home/pi/duet-off.py

      posted in Duet Hardware and wiring
      pma_undefined
      pma_

    Latest posts made by pma_

    • How to change language in UI

      Just installed 3.5.4 and language is set to browser language, how can I change one back to english? I don't see any settings for that.

      posted in Firmware installation
      pma_undefined
      pma_
    • Network problem after upgrade to 3.5.4 duet 2 maestro

      Just upgraded my duet 2 maestro from 2.05 via 3.0 and 3.3 to 3.5.4 and started regretting upgrade.

      On 2.05 I never ever had any network issue but after upgrade I see connection lost after few minutes to half an hour of use.
      To get connection back I have to power cycle or reboot from local menu.

      What is maybe interesting after reboot I cannot connect back to page where I was i.e. /Console I have to start from basic address.

      Looks like a software bug.

      FIRMWARE_NAME: RepRapFirmware for Duet 2 Maestro FIRMWARE_VERSION: 3.5.4 ELECTRONICS: Duet Maestro 1.0 FIRMWARE_DATE: 2024-11-24 10:48:18

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.5.4 (2024-11-24 10:48:18) running on Duet Maestro 1.0
      Board ID: 08DAM-9F9DA-MWNS0-6JTDA-3SW6N-145YW
      Used output buffers: 1 of 26 (22 max)
      === RTOS ===
      Static ram: 23712
      Dynamic ram: 71412 of which 0 recycled
      Never used RAM 20912, free system stack 218 words
      Tasks: NETWORK(1,ready,30.7%,228) HEAT(3,nWait 5,0.1%,338) Move(4,nWait 5,0.0%,402) TMC(4,nWait 5,1.8%,108) MAIN(1,running,67.4%,778) IDLE(0,ready,0.0%,30), total 100.0%
      Owned mutexes:
      === Platform ===
      Last reset 00:03:03 ago, cause: software
      Last software reset at 2024-12-17 22:53, reason: User, Gcodes spinning, available RAM 20936, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      MCU temperature: min 39.6, current 40.3, max 40.6
      Supply voltage: min 24.1, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: standstill, read errors 0, write errors 0, ifcnt 27, reads 20611, writes 0, timeouts 0, DMA errors 0, CC errors 0
      Driver 1: standstill, read errors 0, write errors 0, ifcnt 27, reads 20611, writes 0, timeouts 0, DMA errors 0, CC errors 0
      Driver 2: standstill, read errors 0, write errors 0, ifcnt 24, reads 20611, writes 0, timeouts 0, DMA errors 0, CC errors 0
      Driver 3: standstill, read errors 0, write errors 0, ifcnt 24, reads 20611, writes 0, timeouts 0, DMA errors 0, CC errors 0
      Driver 4: standstill, read errors 0, write errors 0, ifcnt 24, reads 20611, writes 0, timeouts 0, DMA errors 0, CC errors 0
      Driver 5: not present
      Driver 6: not present
      Date/time: 2024-12-17 22:56:09
      Slowest loop: 14.12ms; fastest: 0.20ms
      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: 15.0MBytes/sec
      SD card longest read time 3.4ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00
      no step interrupt scheduled
      Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
      === DDARing 0 ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1, chamber heaters -1 -1, ordering errs 0
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Movement locks 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
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Q0 segments left 0
      Code queue 0 is empty
      === Filament sensors ===
      check 0 clear 582880
      Extruder 0 sensor: ok
      === Network ===
      Slowest loop: 7.53ms; fastest: 0.06ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
      HTTP sessions: 3 of 8
      Interface state active, link 100Mbps full duplex
      Socket states: 1 2 2 2 2 2

      posted in Firmware installation
      pma_undefined
      pma_
    • RE: Artillery Genius Duet 2 Wifi Configuration

      @Phaedrux done

      posted in Using Duet Controllers
      pma_undefined
      pma_
    • Artillery Genius end stops unreliable

      I installed Duet 2 WiFi in Genius and I have a problem with original endstops.
      Sometimes they works sometime not and motors are grinding belt.
      Any one have any idea?

      For now I'm using stall detection but I want to use original Z end stop instead of BLTouch and this is more dangerous to printer.

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 11 2020 22:01:44 GMT+0200 (czas środkowoeuropejski letni)
      
      ; General preferences
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"Genius"                                 ; set printer name
      ;M918 P1 E4 F2000000                            ; configure direct-connect display
      
      ; Network
      M552 S1                                        ; enable network
      M586 P0 S1                                     ; enable HTTP
      M586 P1 S0                                     ; disable FTP
      M586 P2 S0                                     ; disable Telnet
      
      ; Drives
      M569 P0 S0                                     ; physical drive 0 goes backwards
      M569 P1 S1                                     ; physical drive 1 goes backwards
      M569 P2 S0                                     ; physical drive 2 goes forwards
      M569 P3 S0                                     ; physical drive 3 goes backwards
      M569 P4 S0                                     ; physical drive 4 goes backwards
      M584 X0 Y1 Z2:4 E3                             ; set drive mapping
      M350 X32 Y32 Z16:16 E16 I1                     ; configure microstepping with interpolation
      M92 X158.86 Y159.26 Z1600.00:1600.0 E445.0  ; set steps per mm
      M566 X2000.00 Y1800.00 Z24.00 E240.00	    	; set maximum instantaneous speed changes (mm/min)
      M203 X10000.00 Y10000.00 Z180.00 E220.00 			; set maximum speeds (mm/min)
      ;M203 X200.00 Y200.00 Z20.00 E40.00				; guide mm/s
      M201 X500.00 Y400.00 Z100.00 E100.00		   ; set accelerations (mm/s^2)
      M204 P1000.00 T2000.00							; from guide mm/s^2
      M906 X1000 Y1200 Z1200:1200 E980 I30              ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                        ; Set idle timeout
      
      ; dual Z
      M671 X-25:255 Y110:110 S2						; Z axis distance 280
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                               ; set axis minima
      M208 X228 Y231 Z255 S0                         ; set axis maxima
      
      ; Endstops
      M574 X1 S3 ;P"!xstop"                            ; configure sensorless endstop for low end on X
      M915 P0 S2										; sensorless sensitivity S param
      M574 Y1 S3 ; P"!ystop"                            
      M915 P1 S2										; sensorless sensitivity S param
      ;M574 Z1 S1 P"!zstop"                            ; configure active-high endstop for low end on Z via pin zstop
      M591 D0 P1 C"^e0stop" S1						; filament runout sensor
      
      ; Z-Probe
      ;M574 Z1 S2                                   ; set endstops controlled by probe
      ;M558 P9 H5 F100 T6000                        ; set Z probe type to bltouch and the dive height + speeds 
      ;M558 P0 H5 F120 T6000                          ; disable Z probe but set dive height, probe speed and travel speed
      M557 X30:225 Y5:190 S19                       ; define mesh grid
      M558 P9 C"^zprobe.in" H5 F120 T3000  			; BLTouch connected to Z probe IN pin
      M950 S0 C"exp.heater3" 							; create servo/gpio 0 on heater 3 pin on expansion connector
      
      ;************************
      G31 P25 X28.2 Y-35.3 Z1.9464					; z-probe trigger
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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
      M307 H0 B1 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                        ; map heated bed to heater 0
      M143 H0 S80                                    ; set temperature limit for heater 0 to 80C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4092  ; 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
      M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S275                                   ; set temperature limit for heater 1 to 275C
      
      ; 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:0 T45                              ; set fan 1 value. Thermostatic control is turned on
      M950 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
      M106 P2 S1 H1:0 T45                            ; set fan 2 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
      ;PID
      M307 H0 A446.1 C424.2 D2.6 S1.00 V24.3 B0
      M307 H1 A733.4 C200.3 D5.2 S1.00 V24.3 B0
      
      M302 S180 R20									; Allow extrusion starting from 120°C and retractions already from 110°C
      
      M572 D0 S0.035									; pressure adv
      
      ; Miscellaneous
      M575 P1 S1 B57600                              ; enable support for PanelDue
      T0                                             ; select first tool
      G21 ; set units to millimeters
      G90 ; use absolute coordinates
      M82 ; use absolute distances for extrusion
      G92 E0
      
      
      
      posted in Using Duet Controllers
      pma_undefined
      pma_
    • RE: Artillery Genius Duet 2 Wifi Configuration

      @Veti Because they are not reliable, that's why I enabled stall detection.

      posted in Using Duet Controllers
      pma_undefined
      pma_
    • RE: Artillery Genius Duet 2 Wifi Configuration

      Anyone have endstops working reliably with duet?

      Here is my config (extruder is different)

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 11 2020 22:01:44 GMT+0200 (czas środkowoeuropejski letni)
      
      ; General preferences
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"Genius"                                 ; set printer name
      ;M918 P1 E4 F2000000                            ; configure direct-connect display
      
      ; Network
      M552 S1                                        ; enable network
      M586 P0 S1                                     ; enable HTTP
      M586 P1 S0                                     ; disable FTP
      M586 P2 S0                                     ; disable Telnet
      
      ; Drives
      M569 P0 S0                                     ; physical drive 0 goes backwards
      M569 P1 S1                                     ; physical drive 1 goes backwards
      M569 P2 S0                                     ; physical drive 2 goes forwards
      M569 P3 S0                                     ; physical drive 3 goes backwards
      M569 P4 S0                                     ; physical drive 4 goes backwards
      M584 X0 Y1 Z2:4 E3                             ; set drive mapping
      M350 X32 Y32 Z16:16 E16 I1                     ; configure microstepping with interpolation
      M92 X158.86 Y159.26 Z1600.00:1600.0 E445.0  ; set steps per mm
      M566 X2000.00 Y1800.00 Z24.00 E240.00	    	; set maximum instantaneous speed changes (mm/min)
      M203 X10000.00 Y10000.00 Z180.00 E220.00 			; set maximum speeds (mm/min)
      ;M203 X200.00 Y200.00 Z20.00 E40.00				; guide mm/s
      M201 X500.00 Y400.00 Z100.00 E100.00		   ; set accelerations (mm/s^2)
      M204 P1000.00 T2000.00							; from guide mm/s^2
      M906 X1000 Y1200 Z1200:1200 E980 I30              ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                        ; Set idle timeout
      
      ; dual Z
      M671 X-25:255 Y110:110 S2						; Z axis distance 280
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                               ; set axis minima
      M208 X228 Y231 Z255 S0                         ; set axis maxima
      
      ; Endstops
      M574 X1 S3 ;P"!xstop"                            ; configure sensorless endstop for low end on X
      M915 P0 S2										; sensorless sensitivity S param
      M574 Y1 S3 ; P"!ystop"                            
      M915 P1 S2										; sensorless sensitivity S param
      ;M574 Z1 S1 P"!zstop"                            ; configure active-high endstop for low end on Z via pin zstop
      M591 D0 P1 C"^e0stop" S1						; filament runout sensor
      
      ; Z-Probe
      ;M574 Z1 S2                                   ; set endstops controlled by probe
      ;M558 P9 H5 F100 T6000                        ; set Z probe type to bltouch and the dive height + speeds 
      ;M558 P0 H5 F120 T6000                          ; disable Z probe but set dive height, probe speed and travel speed
      M557 X30:225 Y5:190 S19                       ; define mesh grid
      M558 P9 C"^zprobe.in" H5 F120 T3000  			; BLTouch connected to Z probe IN pin
      M950 S0 C"exp.heater3" 							; create servo/gpio 0 on heater 3 pin on expansion connector
      
      ;************************
      G31 P25 X28.2 Y-35.3 Z1.9464					; z-probe trigger
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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
      M307 H0 B1 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                        ; map heated bed to heater 0
      M143 H0 S80                                    ; set temperature limit for heater 0 to 80C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4092  ; 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
      M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S275                                   ; set temperature limit for heater 1 to 275C
      
      ; 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:0 T45                              ; set fan 1 value. Thermostatic control is turned on
      M950 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
      M106 P2 S1 H1:0 T45                            ; set fan 2 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
      ;PID
      M307 H0 A446.1 C424.2 D2.6 S1.00 V24.3 B0
      M307 H1 A733.4 C200.3 D5.2 S1.00 V24.3 B0
      
      M302 S180 R20									; Allow extrusion starting from 120°C and retractions already from 110°C
      
      M572 D0 S0.035									; pressure adv
      
      ; Miscellaneous
      M575 P1 S1 B57600                              ; enable support for PanelDue
      T0                                             ; select first tool
      G21 ; set units to millimeters
      G90 ; use absolute coordinates
      M82 ; use absolute distances for extrusion
      G92 E0
      
      
      
      posted in Using Duet Controllers
      pma_undefined
      pma_
    • Simple power-off solution for duet

      In my HEVO I have SSR installed and one works well but in my converted Artillery Genius I didn't wanted to mess with wires so I decided to use simple remote switch with small script to automatically turn off printer when temperature is below treshold.

      I used Sonoff S26 switch with tasmota installed.

      Then on raspebbery pi I have python script executed every 5 minutes by cron.

      Script is here https://github.com/pmarkiewicz/duet-off
      There is no config file to make this simple. Everything is in one script.

      Conditions to disable printer are:

      • active temperature set to -1
      • printer is idle
      • current temperature for heater with -1 is below 45 deg

      To "install" run
      crontab -e

      and add line
      5 * * * * /usr/bin/python3 /home/pi/duet-off.py

      posted in Duet Hardware and wiring
      pma_undefined
      pma_