inputshaping issue
-
I was fighting with my accelerometer yesterday - LIS3DSH.
1st it wasn't recognised on selected port, 680Ohm resistor onSDASDO line helped.
2nd I wanted to get some data to check if gravity is sensed but got similar error that I can't collect data. I didn't found any info on forum or wiki. Turned out that data can be collected after I homed the printer. -
@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.
-
@sinole said in 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.
I can say something about that.
I took a USB3 cable and for the CS channel, which is the most sensitive, I took 2 wires of the USB3 cable, which are shielded together separately.Maybe that helps you a little further?
Google Translate
--- Original Text ---Dazu kann ich etwas sagen.
Ich habe ein USB3 Kabel genommen und für den CS Kanal der am empfindlichsten ist, habe ich 2 Adern des USB3 Kabels genommen die zusammen extra für sich noch einmal abgeschirmt sind.Vielleicht hilft Dir das etwas weiter ?
-
@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. -
@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 -
@sinole You are right, it is SDO, as documentation says here:
https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_Accelerometer
I've miss typed, gonna edit my post above. -
@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.
-
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 -
@sinole You are using an SKR 2 right? Please post the output from M122 P200 plus details of your M955 command. You can either do that here or over on our discord (please use the stm32-wifi-firmware channel).
-
@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