Setting up Accelerometer and wiring
-
@dc42 said in Setting up Accelerometer and wiring:
@ccs86 yes your wiring diagram looks OK to me.
Re wiring, I now recommend using a 1K resistor in series with the SDO signal at the accelerometer board end.
On my delta I use an unshielded 8-core cable to connect the accelerometer, and it works even without the resistor. I think that VGA cable should be OK.
Is the typical error without that resistor "accelerometer not found"? (edit: 1k resistor inline on SDO and still getting accelerometer not found)
When defining the accelerometer with M955 P0 C"[first pin]+[second pin]", are you defining CS in the first pin and INT in the second pin? Or does the order even matter?
-
Can somebody help me with wiring diagram to connecting the same acclolmeter as one above to duet 3 6hc 1.01.
-
-
@ccs86 yes that is the typical error. The CS pin must come first.
-
@dc42 Could check my diagram?
-
@reczul-01 Looks good to me. If you use a ribbon cable, you may have to connect a 1k resistor in series with SDO/MISO at the accelerometer end - that's what I had to do to get mine working.
-
@chrishamm thanks
-
@chrishamm I have a small problem (I did solder resistors to filter out noise) I cannot connect to accelerometer
-
@reczul-01
M955 P0 C"io3.out+io3.in"
should be OK with the diagram you posted before. How long is the cable and did you check continuity on every wire? You could also try to reduce the clock speed initially by sendingM955 P0 C"io3.out+io3.in" Q500000
instead. -
@chrishamm said in Setting up Accelerometer and wiring:
M955 P0 C"io3.out+io3.in" Q500000
Unfortunately non those commands work, I did check continuity but in a second I will do it again
-
@chrishamm said in Setting up Accelerometer and wiring:
M955 P0 C"io3.out+io3.in"
I managed to remake connections and now it works, beside collecting data
-
@reczul-01 use M956 P0 instead of P124.0. I'll investigate the error message you got.
-
@chrishamm same message
-
@chrishamm If you would like I can give you remote acces to my printer
-
@reczul-01 Reset your printer once and try again. I won't have a chance to look at it before tomorrow.
-
@chrishamm ok
-
@dc42 said in Setting up Accelerometer and wiring:
yes that is the typical error. The CS pin must come first.
exp.pa21 = EXP_0
exp.pa22 = EXP_1Right?
-
@reczul-01 You must be on v3.4-b1 from the unstable package feed in order to use accelerometers in SBC mode. Your error message indicates that you are still running RRF 3.3 which does not support file operations on the SBC.
@CCS86 Yes, that's right.
-
@bot said in Setting up Accelerometer and wiring:
@dc42 I've had a theory for a while that the thin heatbreak of the common E3D V6 moves a lot during printing. Perhaps it would be beneficial to mount the accelerometer directly to the (cold) heat block?
See this rudimentary analysis of resonant frequencies I did:
Probably it would be useful to design a bracket that mounts the sensorboard on the (cold) heaterblock? It's meant to be a temporary installation anyway until you've dialed in the input shaper.
-
@ccs86 said in Setting up Accelerometer and wiring:
@dc42 said in Setting up Accelerometer and wiring:
yes that is the typical error. The CS pin must come first.
exp.pa21 = EXP_0
exp.pa22 = EXP_1Right?
You can also try using the TWC0 and TWD0 pins instead of EXP0 and EXP1.