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

    Toolboard v1.1 Accelerometer Orientation and Setup

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    23
    1.7k
    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.
    • Frederikundefined
      Frederik @Nuramori
      last edited by Frederik

      @nuramori Thanks , i will try it with this values:

      P121.0 I06 S1000 R12
      

      @dc42
      Today i had a little bit time to investigate further with the PA Settings Problem.

      After a reboot, the Printer shows the right value of 0.050 after sending M572 D0 over the console.

      When starting a print in Cura 4.9.1 , i send the M572 D0 again and get a Value of 0.000 ???

      Now i switched the PA command back up to Line 61 and will try how it behaves at the next small print.

      config g at the moment:

      ; General preferences
      G90                                                          ; send absolute coordinates...
      M83                                                          ; ...but relative extruder moves
      M550 P"vcore"                                                ; set printer name
      M669 K1                                                      ; select CoreXY mode
      G4 S1														 ; wait for Toolboard Synchronisation
      
      M569 P0.0 S1
      M569 P0.1 S1
      M569 P0.2 S1
      M569 P0.3 S1
      M569 P0.4 S1
      
      M569 P121.0 S1
      M584 X0.1 Y0.0 Z0.2:0.3:0.4 E121.0
      
      M350 X16 Y16 Z16 E16 I1                                      ; configure microstepping with interpolation
      M92 X160.80 Y160.80 Z811.00 E859.00                          ; set steps per mm
      M566 X500.00 Y500.00 Z25.00 E1500.00                         ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z2300.00 E5000.00                    ; set maximum speeds (mm/min)
      M201 X2500.00 Y2500.00 Z75.00 E2500.00                        ; set accelerations (mm/s^2)
      M906 X1700 Y1700 Z1500 E800 I50                             ; 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 X410 Y395 Z390 S0                                       ; set axis maxima
      
      
      
      ; Endstops
      M574 X1 S1 P"121.io2.in"                                     ; configure active-high endstop for low end on X via pin 121.io2.in 
      M574 Y2 S1 P"io0.in"                                         ; configure active-high endstop for high end on Y via pin io0.in
      M574 Z1 S2                                                   ; configure Z-probe endstop for low end on Z
      
      ; Z-Probe
      M950 S0 C"121.io0.out"                                       ; create servo pin 0 for BLTouch
      M558 P9 C"^121.io0.in" H2.5 F140 T9000 ;R0.5 ; A10 B0                ; set Z probe type to bltouch and the dive height + speeds
      G31 P1000 X-28 Y-22 Z3.68                                    ; set Z probe trigger value, offset and trigger height
      
      ; Position of Leadscrews 
      M671 X1:215:429 Y1:429:1 S50 								;Position of Leadscrews
      
      ; Mesh Grid
      M557 X1:382 Y1:368 P12:12 									; define mesh grid (Abstand X:Y in mm - Sx:x / Punkte X:Y - Px:x)
      
      
      ; Volumetric Extrusion Filament Diameter (D)
      M200 D1.75
      
      ; Print Monitor - Filament (N) and Nozzle diameter (D)
      M404 N1.75 D0.4
      
      ; Bed Compensation Taper
      M376 H0 													; Height (mm) over which to taper off the bed compensation should be min 20x Times the mean error / 0 or
      
      ; Extrusion Override Factor to 90 %
      M221 D0 S95
      
      ; BMG Pressure Advance
      M572 D0 S0.045
      
      ; Axis Skew Compensation
      ;M556 S100 X0.7 Y-0.2 Z0.6
      
      ;Accelerometer Board- Orientation - sample frequenz in Hz - Resolution 8,10,12
      M955 P121.0 I06 S1000 R12
      
      ; Ringing Frequenz
      M593 F46.51				;62.24 46.51 55.86 40.5 40 											 ; F-Freuenz P-Type 0_none 1_ZVD 2_ZVDD 3_EI2 4_DAA S-DampingFactor_ default 0.2
      
      ; Duet Laser Filament Monitor
      M591 D0 P5 C"121.io1.in" R20:185 E5.0 A0 S0 				 ; Extruder0 Tolerance 20 to 150%, 5mm comparison length, diabled
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138                 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out7" T0                                           ; create bed heater output on out0 and map it to sensor 0
      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
      M143 H0 S200                                                 ; set temperature limit for heater 0 to 160C
      
      M308 S1 P"121.temp0" Y"pt1000" 	                  ; configure sensor 1 as PT1000 on pin 121.temp0
      M950 H1 C"121.out0" T1                                ; create nozzle heater output on 121.out0 and map it to sensor 1
      M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
      M141 H1
      M143 H1 S275                                          ; set temperature limit for heater 1 to 500C
      
      M308 S2 P"temp2" Y"thermistor" T100000 B4725 C7.06e-8        ; configure sensor 2 as thermistor on pin temp1
      M950 H2 C"out8" T2                                           ; create chamber heater output on out2 and map it to sensor 2
      M307 H2 B0 S1.00                                             ; disable bang-bang mode for the chamber heater and set PWM limit
      M141 H2                                                      ; map chamber to heater 2
      M143 H2 S125                                                 ; set temperature limit for heater 2 to 120C
      
      M308 S3 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8        ; configure sensor 2 as thermistor on pin temp1
      ;M950 H3 
      ;M141 H3
      
      ; PID Parameters Bed for 100°C
      M307 H0 R0.680 C321.3 D2.40 S1.00 V24.1
      ; PID Parameters Nozzle for 225°C
      M307 H1 B0 R2.391 C190.9:158.3 D7.17 S1.00 V22.4
      ; PID Parameters for ChamberHeater 50°C
      M307 H2 R0.211 C426.7 D40.54 S1.00 V24.1
       
      ; Fans
      M950 F0 C"121.out2" Q500                          ; create fan 0 on pin 121.out2 and set its frequency
      M106 P0 C"Mosquito" S100 H1 T45           ; set fan 0 name and value. Thermostatic control is turned on
      M950 F1 C"121.out1" Q500                         ; create fan 1 on pin 121.out1 and set its frequency
      M106 P1 C"Bauteil" S0 H-1                          ; set fan 1 name and value. Thermostatic control is turned off
      
      ; Air Pump Control on SSR_3
      M950 F2 C"out9" Q500 			 ; create fan 1 on pin 121.out1 and set its frequency
      M106 P2 C"Druckluft" S0 H-1 				 ; set fan 1 name and value. Thermostatic control is turned off
      
      ;Led Beleuchtung  
      ; Zone 1
      M950 F3 C"out2" Q500 			; create a output for led zone1 on out3
      M106 P3 C"LED_1" S0.1 			; set output default to on
      
      ; Zone 2
      M950 F4 C"out3" Q500 			; create a fan output for led zone2 on out4
      M106 P4 C"Ausgang 3" S0 			; set output default to off
      
      ; Toolboard Buttons
      
      ;button0 LC1.121
      ;M950 J4 C"121.button0" 			; Input 4 uses io4 pin, inverted
      ;M581 P4 S1 C0 T2 R0 				 ; configure button for LED ON
      
      ; button1 LC1.121
      ;M950 J5 C"121.button1" 			 ; Input 5 uses io5 pin, inverted
      ;M581 P5 S1 C0 T3 R0 				 ; configure push button for LED OFF
      
      ; Tools
      T0
      M563 P0 S"Mosquito" D0 H1 F1                  ; 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
      M207 S0.65 F2400 Z0.00				 ; FW Retraction Mosquito S-Dist F-Speed Z-HHeight
      ;M572 D0 S0.065
      
      
      
      M501                                                         ; load saved parameters from non-volatile memory
      M912 P0 S-15.8 					 ; MCU Temperature Calibration
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"           ; set params for PowerLoss
      

      M122 and M122 B122 after rebooting and Homing the board:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.3RC3 (2021-05-26 12:29:42) running on Duet 3 MB6HC v1.01 or later (SBC mode)
      Board ID: 08DJM-956BA-NA3TN-6J9DL-3S46S-99AUT
      Used output buffers: 4 of 40 (11 max)
      === RTOS ===
      Static ram: 150784
      Dynamic ram: 62736 of which 12 recycled
      Never used RAM 140660, free system stack 126 words
      Tasks: SBC(ready,6.7%,298) HEAT(delaying,0.0%,295) Move(notifyWait,0.0%,266) CanReceiv(notifyWait,0.0%,773) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,8.1%,59) MAIN(running,85.0%,922) IDLE(ready,0.1%,29), total 100.0%
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:03:30 ago, cause: software
      Last software reset at 2021-06-02 21:27, reason: User, none spinning, available RAM 140660, slot 2
      Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      Aux1 errors 0,0,0
      Step timer max interval 132
      MCU temperature: min 38.2, current 38.4, max 54.7
      Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Driver 0: position 69144, standstill, reads 52829, writes 23 timeouts 0, SG min/max 0/235
      Driver 1: position 60461, standstill, reads 52829, writes 23 timeouts 0, SG min/max 0/242
      Driver 2: position 5012, standstill, reads 52829, writes 23 timeouts 0, SG min/max 0/128
      Driver 3: position 0, standstill, reads 52829, writes 23 timeouts 0, SG min/max 0/132
      Driver 4: position 0, standstill, reads 52829, writes 23 timeouts 0, SG min/max 0/126
      Driver 5: position 0, standstill, reads 52842, writes 11 timeouts 0, SG min/max 0/0
      Date/time: 2021-06-02 21:31:10
      Slowest loop: 174.76ms; fastest: 0.03ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 37.5MBytes/sec
      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 125, maxWait 65943ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 39, completed moves 39, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 3], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 2 -1 -1 -1
      Heater 0 is on, I-accum = 0.3
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is doing "M122" 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
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Filament sensors ===
      Extruder 0: no data received
      === CAN ===
      Messages queued 1953, send timeouts 0, received 2731, lost 0, longest wait 2ms for reply type 6048, peak Tx sync delay 206, free buffers 49 (min 48), ts 1052/1051/0
      === SBC interface ===
      State: 4, failed transfers: 0
      Last transfer: 3ms ago
      RX/TX seq numbers: 7616/7616
      SPI underruns 0, overruns 0
      Number of disconnects: 0, IAP RAM available 0x2c8bc
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.3-rc3
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 36.71
      Codes per second: 0.87
      Maximum length of RX/TX data transfers: 4192/888
      6/2/2021, 9:30:49 PM	M572
      Extruder pressure advance: 0.045
      
      M122 B121
      Diagnostics for board 121:
      Duet TOOL1LC firmware version 3.3RC3 (2021-05-26 12:30:20)
      Bootloader ID: SAMC21 bootloader version 2.2 (2021-01-16b1)
      Never used RAM 3164, free system stack 2743 words
      Tasks: Move(notifyWait,1.4%,91) HEAT(delaying,3.5%,99) CanAsync(notifyWait,0.0%,55) CanRecv(notifyWait,0.5%,75) CanClock(notifyWait,0.5%,66) TMC(notifyWait,73.1%,57) MAIN(running,306.3%,343) IDLE(ready,0.0%,40) AIN(delaying,126.9%,142), total 512.1%
      Last reset 09:55:49 ago, cause: power up
      Last software reset time unknown, reason: AssertionFailed, available RAM 4592, slot 1
      Software reset code 0x0120 ICSR 0x00000000 SP 0x20003cac Task   Freestk 130 bad marker
      Stack: 00000544 00023174 00019cb5 20003044 00016e33 20003044 00016505 20000ed0 00000000 00000001 0000828d 200071c8 200071c8 200071e0 00000000 20000f50 000116b3 00022530 000225e8 00021c40 00019c55 200071c8 200071c8 20000f50 00008405 200071d8 000009c6
      Driver 0: position 2749860, 859.0 steps/mm, standstill, SG min/max 0/496, read errors 0, write errors 0, ifcnt 35, reads 41677, writes 35, timeouts 0, DMA errors 0, steps req 6992002 done 6992002
      Moves scheduled 43088, completed 43088, in progress 0, hiccups 0, step errors 0, maxPrep 788, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
      Peak sync jitter 0/6, peak Rx sync delay 240, resyncs 0/4, no step interrupt scheduled
      VIN: 24.1V
      MCU temperature: min 19.9C, current 63.7C, max 91.8C
      Ticks since heat task active 214, ADC conversions started 35621485, completed 35621484, timed out 0, errs 0
      Last sensors broadcast 0x00000002 found 1 219 ticks ago, loop time 0
      CAN messages queued 448969, send timeouts 0, received 366694, lost 0, free buffers 37, min 35, error reg 440000
      dup 0, oos 0/0/0/0, bm 0, wbm 0
      Accelerometer detected: no
      I2C bus errors 4481, naks 4481, other errors 4481
      === Filament sensors ===
      Interrupt 5726621 to 0us, poll 8 to 3604us
      Driver 0: no data received, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
      

      The same M122 right now after starting the Print:

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

        @frederik please share the Cura-generated print file.

        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

        Frederikundefined 2 Replies Last reply Reply Quote 0
        • Frederikundefined
          Frederik @dc42
          last edited by

          @dc42

          UniversalFace_with FW Retraction.gcode

          UniversalFace_without FW Retraction.gcode

          it is the same base STL only the checkbox FW Retraction is enabled or disabled

          1 Reply Last reply Reply Quote 0
          • Frederikundefined
            Frederik @dc42
            last edited by

            @dc42 I think i foäund the Problem, i didnt even know that there was a seperate plugin installed calle Linear Advance Feature. The checkbox was hidden under the Material Tab 😞

            I deinstalled the plugin and slice the file again to check if the Value will be overwritten again

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

              @frederik Glad you found it.

              M572 S0.000000 D0 ;added by LinearAdvanceSettingPlugin

              Z-Bot CoreXY Build | Thingiverse Profile

              Frederikundefined 2 Replies Last reply Reply Quote 0
              • Frederikundefined
                Frederik @Phaedrux
                last edited by

                @phaedrux Yeah, as i saw that line i was a little bit shocked, because as i switched to FW Retract, i double checked every settings in the Printer Settings Menu, and was happy that it worked, but musst have overlooked that Line 🙂

                1 Reply Last reply Reply Quote 0
                • Frederikundefined
                  Frederik
                  last edited by

                  @nuramori

                  You did a really nice Job with that Guide, thanks for that. Is that your Printer in the Pictures ?
                  What is that for a design ? your own or something publicly available ?

                  Kindly Regards
                  Frederik

                  Nuramoriundefined 1 Reply Last reply Reply Quote 0
                  • Frederikundefined
                    Frederik @Phaedrux
                    last edited by Frederik

                    @phaedrux i dont know if it is worth to open a new thread for this:

                    Is it possible with the Toolboard v1.1 , that i can programm the 2 buttons on the front for different actions like:

                    Button 1 Extrude
                    Button 2 Retract

                    Button 1 heater output 2 on/off
                    Button 2 heater output 3 on/off

                    Button 1 call makro 1.g (load Filamaent)
                    Button 2 call makro 2.g (unload)

                    only for example purposes 🙂

                    Power Distribution on the V1.1

                    I would like to test a inductive Probe on my flexsteel plates that would need 24V (VIN) , because i slowly getting problems with deformed probing pins because of the temps when printing PC at 120°C bed and 70°C chamber 🙂

                    it is a Normal Open switching on.
                    how should i wire it to the IOs ?
                    could i get the + from VIN and only use the signal wire / - for the trigger ?

                    TIA Frederik

                    martin7404undefined 1 Reply Last reply Reply Quote 0
                    • martin7404undefined
                      martin7404 @Frederik
                      last edited by

                      @frederik you may consider Pinda probe , it is 5 v

                      Muldex IDEX Duet2+Duex5
                      Custom CoreXY 600x400 Hemera , Duet3+Toolboard+1HCL closed loop
                      Sapphire Pro with Duet2, with closed-loop motors
                      custom high temp E3D tool changer with Duet2+Duex

                      Frederikundefined 1 Reply Last reply Reply Quote 1
                      • Nuramoriundefined
                        Nuramori @Frederik
                        last edited by Nuramori

                        @frederik that’s my printer. It originally started out as a BLV cube, but I’ve done many modifications even from the onset, with blind joints and structural improvements. The extruder is my own design, as is the triple independent z axis implementation. Quite of a few aspects of it are shared, especially the extruder design on GitHub.

                        Frederikundefined 1 Reply Last reply Reply Quote 0
                        • Frederikundefined
                          Frederik @Nuramori
                          last edited by

                          @nuramori thansk for the answer 🙂 looking good

                          is that a mosquito aqua in combination with a orbiter ? a few people use also the combination from mosquito air and the orbiter on the EVA Carriage System. They work really well. Do you also use a single 120mm radiator with fan for you cooling loop ? i´m thinking what would the best way to integrate the Extruder STepper Motor and Toolboard somehow to the cooling loop. Printing the most Time at around 75°C in the chamber PC , Abs or Abs-PC Parts. Until now i didnt get any Errors or Warnings regarding the temps. Im real curious how long they will last

                          Nuramoriundefined 1 Reply Last reply Reply Quote 0
                          • Frederikundefined
                            Frederik @martin7404
                            last edited by

                            @martin7404 i will have a look at the specs. since im using a Lc1 v1.1, i already have 24v,12v and even 5v to choose from, but i wanted to run the probe with 24V so i get a little bit better readings and distance

                            1 Reply Last reply Reply Quote 0
                            • Nuramoriundefined
                              Nuramori @Frederik
                              last edited by

                              @frederik it’s not an orbiter. It’s a ground up design I worked on, though it does use a planetary gear as part of the design. Lorinz and I have often talked about design and 3D, and one late night discussion seemingly drove us to explore similar things, but implemented in different ways. Mine is fairly specific to the BLV, though I made a more generic version for coreXY type designs. Mine also uses more generic nema11 motors like those from moons and offsets it so the extruder itself sits much lower and on top of the hotend for minimal filament travel.

                              Frederikundefined 1 Reply Last reply Reply Quote 0
                              • Frederikundefined
                                Frederik @Nuramori
                                last edited by

                                @nuramori Thanks for the Info. Looking real nice ! What buildvolumoe do you have ? my vcore Pro is around 430x430x400mm and until now, i managed up to 410mm/s wiht a genuine BMG and a mosuqito magnum with 0.4mm Nozzle at 0.25mm Lh and 0.46mm Lw

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