@gloomyandy I put it there ill add it here too maybe it helps someone some day
m122.txt
m955 p0
Accelerometer 0 type LIS3DH with orientation 41 samples at 1344Hz with 10-bit resolution, SPI frequency 1000000
Posts made by sinole
-
RE: inputshaping issue
-
RE: inputshaping issue
well I tried everything, I dont think this is wire issue, acclerometer is being detected but It doesn't stert recording.
"m955 p0
Accelerometer 0 type LIS3DH with orientation 41 samples at 1344Hz with 10-bit resolution, SPI frequency 2000000"M956 P0 S1000 A0 F"4-X64-191-0-none.csv" G1 X191 F12000
Error: M956: Failed to start accelerometer data collectionin recorded file:
Sample,X,Y,Z
Failed to start accelerometer -
RE: inputshaping issue
@mandragora I appriciate you sending me this link, I need to use a usb wire for cs that is running in a separate jacket looks like. I understand what could go wrong now.
-
RE: inputshaping issue
@mandragora I red I should add 1k resistor on SDO. are you sure its SDA? I do home my printer before readings , it still says: M400 M956 P0 S1000 A0 F"1-X64-191-0-none.csv" G1 X191 F12000
Error: M956: Failed to start accelerometer data collection -
RE: Failed to start accelerometer data collection
I have the same issue, did you find a solution? not a beta firmware though
-
RE: inputshaping issue
@norder
thank you, I am trying lots of stuff, ill add that to the list.
My theory is that my sensor is faulty. I used very very short USB cable and have same result.
some people add a resistor SDO I think. -
RE: inputshaping issue
@norder ye, the setup is not for a duet board but I spoke with people on teamglumy actually gloomyandy himself, looks like the problem is the cable that I am using, a lot of people are having success with quality shielded usb cables and apparently it helps to reduce frequency. thank you for trying to help.
-
RE: inputshaping issue
; Configuration file for BTT SKR 2 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.4.0-LPC-STM32+2 on Thu May 26 2022 15:28:29 GMT-0700 (Pacific Daylight Time); General preferences
M80 C"pson" ;PSON
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Sinole3D1" ; set printer name
M575 P1 S2 B57600; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; disable FTP
M586 P2 S0 ; disable Telnet
;;Screen Setting
;M918 P1 E4 F100000 ;LCD
M575 P1 S2 B57600 ;set tft; Drives
M569 P0 S1 D3 V4000 ; physical drive 1 goes forwards - x-axis
M569 P1 S0 D3 V4000 ; physical drive 1 goes backwards - y-axis
M569 P2 S1 D3 V40 ; physical drive 2 goes backwards - z - left
M569 P3 S1 D3 V40 ; physical drive 3 goes forwards - Extruder
M569 P4 S1 D3 V40 ; physical drive 4 goes backwards - z righ;
M584 X0 Y1 Z2:4 E3 ; set drive mapping
M671 X-39:291 Y0:0 S1.00 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
;
M350 X16 Y16 Z16:16 E16 I1 ; configure microstepping with interpolation
M92 X100.00 Y200.00 Z400.00:400.00 E830.00 ; set steps per mm
;speed
M566 X600.00 Y600.00 Z24.00:24.00 E270.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z720.00:720.00 E7200.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z200.00:200.00 E1250.00 ; set accelerations (mm/s^2)
M204 P3000.0 T3000.0 ; set print and travel accelerations (mm(s^2)
;M201 X500.00 Y500.00 Z100.00 E500.00 ; set accelerations (mm/s^2)
;M203 X12000.00 Y12000.00 Z1200.00:1200.00 E7200.00 ; set maximum speeds (mm/min)
;M204 P500.0 T500.0 ; set print and travel accelerations (mm(s^2)
;M566 X600.00 Y600.00 Z48.00 E270.00 ; set maximum instantaneous speed changes (mm/min)
;
M906 X1200 Y1700 Z400:400 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S50 ; Set idle timeout
;
; Axis Limits
M208 X0 Y-4 Z0 S1 ; set axis minima
M208 X255 Y212.5 Z210 S0 ; set axis maxima; Endstops
M574 X1 S3 ; configure sensorless endstop for low end on X
M574 Y1 S3 ; configure sensorless endstop for low end on Y
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
;M574 Z2 S3 ; configure sensorless endstop for high end on z; Z-Probe
M558 P5 C"zstop" H1 F600 T8000 A3 S0.03 ; set z probe to super pinda
;M308 S2 P"e1temp" A"Pinda V2" Y"thermistor" T100000 B3950 ; temperature of PINDA2
;G31 H2 S30 T0.005 X23 Y5 Z0.5 ; set Z probe trigger value, offset and trigger height
;G31 P1000 H2 S30 T0.005 X23 Y5 Z0.55 ; set Z probe trigger value, offset and trigger height super pinda
;
M557 X25:250 Y5:200 S35 ; define mesh grid
M574 Z1 S2 ; set endstops controlled by prob
;
; Stallguard Sensitivy
;
M915 X S2 H200 R0 ; set X axis Sensitivity
;M915 X S2 R0
M915 Y S1 H400 R0 ; set Y axis Sensitivity
;M915 Y S1 R0
;M915 Z S0 H150 R0 ; set Z axis Sensitivity; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0
M307 H0 R0.239 K0.525:0.000 D7.19 E1.35 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit
;M570 H0 S60 T2
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" C7.060000e-8 T100000 B4725 ; 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 R2.623 K0.287:0.000 D7.21 E1.35 S1.00 B0 V24.0 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; 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 S0 H1 T45 ; set fan 1 value. Thermostatic control is turned on and set to 50% duty
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off; 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
M302 S180 R180 ; allow extrusion starting from 180°C and retractions already from 180°C; Custom settings
;
; =========================================================================================================
; other settings
; =========================================================================================================
;
M18 XY ; release / unlock x, y
M501 ; use config-override (for Thermistor Parameters and other settings)
G90 ; send absolute coordinates...
M83 ; ... but relative extruder moves
;
; =========================================================================================================
; filament handling
; =========================================================================================================
;
; execute macros that determine the status of the filament sensor
;
M98 P"0:/sys/00-Functions/FilamentsensorStatus"
;
; =========================================================================================================
;
; =========================================================================================================
;
; Offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros
;
G31 P1000 X23 Y5
;
; =========================================================================================================
;
M950 J3 C"nil"
M950 J3 C"PWRDET" ; input 1 e0 filament sensor
M581 P3 T3 S0 R1 ; PLR sensor P1 triggers Trigger3.g always (R0) TRIGGER OFF
M669 S1 t1
; =========================================================================================================
; Neopixel LED
; =========================================================================================================
M150 X2
M150 R255 U0 B0 P255
G4 P600
M150 R0 U255 B0 P255
G4 P600
M150 R0 U0 B255 P255
G4 P600
M150 R255 U255 B255 P255
; =========================================================================================================
; accelratometer
; =========================================================================================================
M955 P0 C"E.9+E.10" I41
;M918 P1 E4 F100000 ;LCD -
inputshaping issue
My printer ca detect the accelerometer
"m955 p0
Accelerometer 0 type LIS3DH with orientation 41 samples at 1344Hz with 10-bit resolution, SPI frequency 2000000"
but I every time I try to record motion , i get this error:
Error: M956: Failed to start accelerometer data collection
can anyone tell me what is going wrong?
appriciate the hlep -
RE: power loss with UPS
if I want to write a "if" function how should I address endstop swtich status. like
if {endstop.swtich[n] == 1}
it want to just do everything in pause.g and not write a trigger that addresses pause. according to gloomyandy that doesn't work great. with the "if" I can make pause.g to also turn of bed and motors when switch is triggered. and in case of normal pause just pauses.
-
RE: power loss with UPS
@sinole I have tried M25 as well, It was same.
-
RE: power loss with UPS
@fcwilt thanks, so if the move is long it wont trigger on time to save the print.
-
RE: Missing Steps - Cant Print SpreadCycle StealthChop tuning help
@gloomyandy the current setting that you told me seems to be working better, motors runs a bit hot though. I don't think my z motors were really designed for 1 amp per LDO datasheet when I bought them, hey get scalding hot even when I set them at 450 on reprap.
-
power loss with UPS
I connected a power loss sensor to my printer and wrote a trigger file for it but trigger pauses the print very slowly and doesn't immediately turn of my bed and hotend so my capacitor runs out of power. does anyone know how to make the trigger to react faster.
I put this at the end of config.g
M950 J3 C"nil"
M950 J3 C"PWRDET" ; input 1 e0 filament sensor
M581 P3 T3 S0 R1 ; PLR sensor P1 triggers Trigger3.g always (R0) TRIGGER OFFand following is the trigger 3
M140 S0 R0 ; set bed temperature to 0C
M140 S-1 ; set bed temperature to 0K to turn it off
M104 S0 T0 ; set extruder temperature to 0C
M107 ; turn off fan
M913 X0 Y0 Z0.3 ;turn motors off
M226 ; Pause the print
G91 ;Set to Relative Positioning
M83 ;Set extruder to relative mode
G1 Z5 E-5 F1000 ;raise Extruder 5mmplease help me fix this. my apartment have crazy power fluctuation because of over population of this area.
-
RE: Missing Steps - Cant Print SpreadCycle StealthChop tuning help
@gloomyandy I divide my rated motor current by 1.414 and I use that number * 0.8, I have posted same question on your Github btw. for example for my 17HM19-2004S1 motor which is rated at 2A I use 1.25 A
in firmware.
dc42 says that 2209 have issue with 0.9 degree motors because they have high inductance, but this motor have less inductance than some 1.8 motors , that is why I chose it.I don't have access to my config at the moment but I want to post it for you and I appreciate if you take a look at it.
-
RE: Sensor only works when starting prints.
https://docs.duet3d.com/User_manual/Reference/Gcodes#m591-configure-filament-sensing
depending on type of filament sensor you are using things change . If its a switch, you need to know if it is normally open or closed that determines whether you have filament or you don't. if you want it to detect and pause during print.
for normally open switch
M591 P1 C"e0stop" S1 D0 ; filament sensing during print
if that didnt work just try P2
you can also setup sensor to detect filament and auto load in new firmware, which you need to make trigger file for. i suggest you get this covered first. -
RE: Missing Steps - Cant Print SpreadCycle StealthChop tuning help
I dont know if it helps but I am installing reprap on a SKR2 board with tmc 2209 and I have same issue, specially on my bed which runs on a 0.9 degree motor, beside m extrusions are not consistence either. you guessed it right, there is a 0.9 degree motor on extruder. now good thing about SKR 2 is that I can go back and fort with marlin and reprap and compare. this is definitely firmware issue. Reprap runs these motors much quitter and cooler while marlin runs warm and a little noisy. but marlin runs very solid and sound is not really that bad. this tells me reprap and marlin use different pwm settings on stealthchop and marlin made some sacrifice in noise to gain some stability.
-
RE: Bed Heating too slow
@phaedrux well damn i see what is happening there are pre saved values in config-override.g, it is doing what it should overriding my config.